diff options
-rwxr-xr-x | src/partvi | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -295,13 +295,7 @@ copy_data_to_mounted_target_filesystems() | |||
295 | boot) | 295 | boot) |
296 | BOOT_DIR=$mnt | 296 | BOOT_DIR=$mnt |
297 | $sudo rsync -a --info=STATS /boot/ "$mnt"/ | 297 | $sudo rsync -a --info=STATS /boot/ "$mnt"/ |
298 | while mountpoint -q /boot | 298 | $sudo systemd-run -p BindPaths="$(realpath -e "$mnt"):/boot" --wait update-grub |
299 | do | ||
300 | $sudo umount /boot | ||
301 | done | ||
302 | $sudo mount --bind "$mnt" /boot | ||
303 | $sudo update-grub | ||
304 | $sudo umount /boot | ||
305 | ;; | 299 | ;; |
306 | samizdat-keys) | 300 | samizdat-keys) |
307 | $sudo rsync -a --info=STATS "$GPG_INPUT_DIR"/ "$mnt"/gnupghome/ | 301 | $sudo rsync -a --info=STATS "$GPG_INPUT_DIR"/ "$mnt"/gnupghome/ |