don't try to copy sockets

This commit is contained in:
Tobias Powalowski 2022-06-02 06:41:51 +02:00
parent d18f01a8c0
commit cee8cd930a

View file

@ -145,7 +145,8 @@ fi
EOF
# copy running root to /new_root
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/*" \
--exclude="./etc/pacman.d/S.*" -clpf - . | tar -C /new_root -xlspf -
# stop dbus before switching, else 90 seconds hang appears
systemctl stop dbus
systemctl switch-root /new_root