From 873e723883cfaa9fe231fc89161a4f337506cfb8 Mon Sep 17 00:00:00 2001 From: Your Name Date: Thu, 25 Jul 2024 23:54:08 -0600 Subject: [PATCH] fix --- debian.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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