Merge "Show installed software release in the subcloud"

This commit is contained in:
Zuul 2024-03-25 15:07:11 +00:00 committed by Gerrit Code Review
commit cc679681e2
1 changed files with 3 additions and 3 deletions

View File

@ -2939,9 +2939,9 @@ if [ "${controller}" = true ] ; then
# If the miniboot ISO contains a patches directory
if [ -d "/instboot/patches" ]; then
ilog "Prepatched iso"
ilog "Creating patching metadata directories"
mkdir -p ${IMAGE_ROOTFS}/var/rootdirs/opt/patching/metadata/{committed,available,applied}
cp -a /instboot/patches/* ${IMAGE_ROOTFS}/var/rootdirs/opt/patching/metadata/committed/
ilog "Creating USM metadata directories"
mkdir -p ${IMAGE_ROOTFS}/var/rootdirs/opt/software/metadata/{committed,available,deployed}
cp -a /instboot/patches/* ${IMAGE_ROOTFS}/var/rootdirs/opt/software/metadata/deployed/
fi
# copy efi.img to /var/pxeboot to enable duplex/multinode subclouds