Link operations between kickstart to USM

Add note to link the operations between kickstart to USM equivalent.

Story: 2010676
Task: 50807

TCs:
     N/A, add new comment only

Change-Id: Ia127d3dadbd062c58036ec74fdb377a928db3f95
Signed-off-by: Bin Qian <Bin.Qian@windriver.com>
This commit is contained in:
Bin Qian 2024-08-20 19:26:12 +00:00
parent dab9c4774b
commit 2def8dcf6d

View File

@ -3288,6 +3288,10 @@ ilog "*** Post Nochroot - Set up package links per node type ***"
ilog "****************************************************************"
ilog "IMAGE_ROOTFS=${IMAGE_ROOTFS}"
# NOTE: below creation of links (host config and goenabled check links and pmon links) are also required in
# system upgrade (USM major release deploy). Changes applied to here should also be applied to
# https://opendev.org/starlingx/update/src/branch/master/software/service-files/usm-initialize-init.sh in
# function refresh_init_links
if [ ! "${controller}" = true -a "${worker}" = true ] ; then
ilog "Setting up ${TRAIT__WORKER} package file links"
ln -s /etc/goenabled.d/config_goenabled_check.sh.worker ${IMAGE_ROOTFS}/etc/goenabled.d/config_goenabled_check.sh