prepare-root.sh: remove OUTDIR before creating it
This commit is contained in:
parent
99a43dc11c
commit
0a4bec3c02
|
@ -899,6 +899,7 @@ if ! [[ $EFISTUB ]]; then
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
[[ -e "$OUTDIR" ]] && rm -fr "$OUTDIR"
|
||||||
mkdir -p "$OUTDIR"
|
mkdir -p "$OUTDIR"
|
||||||
mv "$MY_TMPDIR"/root.img \
|
mv "$MY_TMPDIR"/root.img \
|
||||||
"$sysroot"/usr/efi \
|
"$sysroot"/usr/efi \
|
||||||
|
|
Loading…
Reference in a new issue