diff --git a/debian.sh b/debian.sh index 48775e9..74c166b 100755 --- a/debian.sh +++ b/debian.sh @@ -175,7 +175,8 @@ live-os-restore() { systemMounts echo "[Copying Boot Files ]" echo - cp -rf /boot/* $TARGET/boot/ + rm -f $TARGET/boot/* + rsync -av --delete /boot/ $TARGET/boot/ chmod +x $TARGET/usr/bin/debian.sh chroot $TARGET /usr/bin/debian.sh bootloader $1 $5 $2 chroot $TARGET /usr/bin/debian.sh btrfs-tweaks