Create patches dir if does not exist

Due to USM updates the patches dir may be
created during iso creation time so this commit
updates our current prepatch iso to add -p to
the mkdir command.

https://review.opendev.org/c/starlingx/tools/+/892623

Story: 2010676
Task: 48791
Signed-off-by: Luis Sampaio <luis.sampaio@windriver.com>
Change-Id: I4395ae5776df818f8c8c9466d82cb879fb39011a
This commit is contained in:
Luis Sampaio 2023-09-19 15:14:21 -07:00
parent 7c4121a17f
commit 7df6ee2987

View File

@ -232,7 +232,7 @@ chmod +w ${BUILDDIR}
chmod -R +w ${BUILDDIR}/isolinux
chmod -R +w ${BUILDDIR}/ostree_repo
# Create the directory where metadata will be stored
mkdir ${BUILDDIR}/patches
mkdir -p ${BUILDDIR}/patches
chmod -R +w ${BUILDDIR}/patches
echo "Updating ostree_repo..."