On newer releases, when gen-bootloader-iso.sh is executed,
it extracts the contents of the platform-kickstarts rpm
(if it was updated and provided as a patch) to
${WORKDIR}/www/pages/feed/rel-${ISO_VERSION}. It should
actually extract it to
${WORKDIR}/var/www/pages/feed/rel-${ISO_VERSION} (where
${WORKDIR} is a temporary directory).
Since the path is incorrect, incorrect behaviour is
observed on the subcloud.
Test Plan:
PASS: Verify that the contents of platform-kickstarts rpm are
extracted to ${WORKDIR}/var/www/pages/feed/rel-${ISO_VERSION}.
Reviewed: https:/ /review. opendev. org/c/starlingx /utilities/ +/832692 /opendev. org/starlingx/ utilities/ commit/ 468d465c69aae13 179d259c0fa527d 2b54b69e4f
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 468d465c69aae13 179d259c0fa527d 2b54b69e4f
Author: Shrikumar Sharma <email address hidden>
Date: Tue Mar 8 15:22:35 2022 -0500
Path to kickstart files does not exist
On newer releases, when gen-bootloader- iso.sh is executed, /www/pages/ feed/rel- ${ISO_VERSION} . It should /var/www/ pages/feed/ rel-${ISO_ VERSION} (where
it extracts the contents of the platform-kickstarts rpm
(if it was updated and provided as a patch) to
${WORKDIR}
actually extract it to
${WORKDIR}
${WORKDIR} is a temporary directory).
Since the path is incorrect, incorrect behaviour is
observed on the subcloud.
Test Plan:
PASS: Verify that the contents of platform-kickstarts rpm are
${WORKDIR} /var/www/ pages/feed/ rel-${ISO_ VERSION} .
extracted to
Closes-Bug: 1964271
Change-Id: Ibfc9e878a530c9 21437dcf9348427 e2e32a05344
Signed-off-by: Shrikumar Sharma <email address hidden>