mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-23 11:36:32 +01:00
Add 8G swap file to sysc
This commit is contained in:
parent
2fe14bbcb1
commit
72452f39f5
1 changed files with 5 additions and 0 deletions
|
|
@ -36,6 +36,11 @@ create_fhs
|
||||||
|
|
||||||
populate_device_nodes
|
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
|
if [ -e "${SOURCES}/distfiles" ]; then
|
||||||
mv "${SOURCES}/distfiles" /
|
mv "${SOURCES}/distfiles" /
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue