From 7df6ee2987589118c208e696191e5f0b3e475b9b Mon Sep 17 00:00:00 2001 From: Luis Sampaio Date: Tue, 19 Sep 2023 15:14:21 -0700 Subject: [PATCH] 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 Change-Id: I4395ae5776df818f8c8c9466d82cb879fb39011a --- build-tools/patch-iso-debian | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-tools/patch-iso-debian b/build-tools/patch-iso-debian index 6559e740..9b90e3fe 100755 --- a/build-tools/patch-iso-debian +++ b/build-tools/patch-iso-debian @@ -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..."