mirror of
https://github.com/bin456789/reinstall.git
synced 2025-12-10 07:28:56 +08:00
debian: 尝试支持 256M 内存安装
This commit is contained in:
@ -107,7 +107,7 @@ d-i partman/early_command string \
|
||||
anna-install fdisk-udeb; \
|
||||
|
||||
cp $postinst $postinst.orig; \
|
||||
echo "fallocate -l 256M $swapfile; mkswap $swapfile; swapon $swapfile; $postinst.orig" >$postinst; \
|
||||
echo "fallocate -l 384M $swapfile; mkswap $swapfile; swapon $swapfile; $postinst.orig" >$postinst; \
|
||||
|
||||
echo "swapoff $swapfile; rm $swapfile" >/usr/lib/finish-install.d/95swapoff; \
|
||||
chmod a+x /usr/lib/finish-install.d/95swapoff; \
|
||||
|
||||
Reference in New Issue
Block a user