diff --git a/prepare-root.sh b/prepare-root.sh index eef5d6c..7774430 100755 --- a/prepare-root.sh +++ b/prepare-root.sh @@ -899,6 +899,7 @@ if ! [[ $EFISTUB ]]; then fi fi +[[ -e "$OUTDIR" ]] && rm -fr "$OUTDIR" mkdir -p "$OUTDIR" mv "$MY_TMPDIR"/root.img \ "$sysroot"/usr/efi \