mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50: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
|
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/*"\
|
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 -
|
--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
|
else
|
||||||
echo -e "/ already moved to /dev/zram0 ..."
|
echo -e "/ already moved to /dev/zram0 ..."
|
||||||
rm /etc/profile.d/zz-01-archboot.sh
|
rm /etc/profile.d/zz-01-archboot.sh
|
||||||
|
|
Loading…
Reference in a new issue