From 722f69f9cdbebb2c91c06936d424ffc4c87caa4b Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Wed, 1 Jun 2022 19:48:00 +0200 Subject: [PATCH] update initialize zram --- usr/lib/archboot/update-installer.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/lib/archboot/update-installer.sh b/usr/lib/archboot/update-installer.sh index 7cf053603..b8d0bb81e 100644 --- a/usr/lib/archboot/update-installer.sh +++ b/usr/lib/archboot/update-installer.sh @@ -126,7 +126,7 @@ _zram_initialize() { mount /dev/zram0 /new_root 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 - + --exclude="./mnt/*" --exclude="./media/*" --exclude="./lost+found" --exclude="./new_root/*" -clpf - . | tar -C /new_root -vxlspf - systemctl switch-root /new_root else echo -e "/ already moved to /dev/zram0 ..."