Remove overlay directory after use
This commit is contained in:
parent
27b1b09cbd
commit
9bec38b254
1 changed files with 1 additions and 0 deletions
|
@ -78,6 +78,7 @@ else
|
||||||
mkdir -p "$(dirname "$isoFile")";
|
mkdir -p "$(dirname "$isoFile")";
|
||||||
mkwinpeimg --iso --arch amd64 --overlay "$overlayDir" --windows-dir "$mountPath" "$isoFile";
|
mkwinpeimg --iso --arch amd64 --overlay "$overlayDir" --windows-dir "$mountPath" "$isoFile";
|
||||||
sudo umount "$mountPath";
|
sudo umount "$mountPath";
|
||||||
|
rm -rf "$overlayDir";
|
||||||
|
|
||||||
if [ ! -b "$WIN_DISK" ]
|
if [ ! -b "$WIN_DISK" ]
|
||||||
then
|
then
|
||||||
|
|
Loading…
Reference in a new issue