Merge "kickstart update for patched iso"
This commit is contained in:
commit
052e04bc5f
@ -2937,6 +2937,14 @@ else
|
||||
ostree --repo=/sysroot/ostree/repo remote add ${instname} ${insturl} ${feed_branch}
|
||||
fi
|
||||
|
||||
# Verify Patched iso
|
||||
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/
|
||||
fi
|
||||
|
||||
# Save the install scripts and kickstart logs
|
||||
mount /dev/mapper/cgts--vg-log--lv "${IMAGE_ROOTFS}/${LOG_DIR}"
|
||||
if [ ${?} -ne 0 ] ; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user