From 72452f39f59cb814592db2323ab49ef7552fe4f8 Mon Sep 17 00:00:00 2001 From: Googulator Date: Mon, 13 Nov 2023 10:15:12 +0100 Subject: [PATCH] Add 8G swap file to sysc --- sysc/run.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sysc/run.sh b/sysc/run.sh index b15927ab..640f149a 100755 --- a/sysc/run.sh +++ b/sysc/run.sh @@ -36,6 +36,11 @@ create_fhs populate_device_nodes +# Make some swap +dd if=/dev/zero of=/swap bs=1M count=8192 +mkswap /swap +swapon /swap + if [ -e "${SOURCES}/distfiles" ]; then mv "${SOURCES}/distfiles" / else