mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
update initialize zram
This commit is contained in:
parent
b9178ce427
commit
776aff3005
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ _zram_initialize() {
|
|||
echo "update-installer.sh ${_RUN_OPTION}" > /etc/profile.d/zz-01-archboot.sh
|
||||
tar -C / --exclude="./dev/*" --exclude="./proc/*" --exclude="./sys/*" --exclude="./tmp/*" --exclude="./run/*"\
|
||||
--exclude="./mnt/*" --exclude="./media/*" --exclude="./lost+found" --exclude="./new_root/*" -clpf - . | tar -C /new_root -xlspf -
|
||||
systemctl switch-root /new_root
|
||||
systemctl switch-root /new_root --force --no-block
|
||||
else
|
||||
echo -e "/ already moved to /dev/zram0 ..."
|
||||
rm /etc/profile.d/zz-01-archboot.sh
|
||||
|
|
Loading…
Reference in a new issue