From 0a4bec3c021dba83527dca1f49e6504ed1ba65f8 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Mon, 12 Nov 2018 08:56:13 +0100 Subject: [PATCH] prepare-root.sh: remove OUTDIR before creating it --- prepare-root.sh | 1 + 1 file changed, 1 insertion(+) 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 \