mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
don't try to copy sockets
This commit is contained in:
parent
d18f01a8c0
commit
cee8cd930a
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue