Configure software deploy script permissions

This commit is to ensure the software deploy script permissions are
configured to 755 during the pxeboot installation.

Test Plan:

PASS: build and deploy iso
PASS: pxeboot installation on controller-1
PASS: install iso on system controller via pxeboot

Task: 51140
Story: 2010676
Change-Id: Ibafd1bdb6487db9ea3f48b74ea8129ed3ee3cc64
Signed-off-by: junfeng-li <junfeng.li@windriver.com>
This commit is contained in:
junfeng-li 2024-10-09 15:15:19 +00:00
parent 9b5b6b2392
commit 2f143b1aff

View File

@ -3221,6 +3221,8 @@ else
wget ${NOVERIFYSSL_WGET_OPT} -r -np -nH --cut-dirs=3 -R "index.html*" \
${upgrade_url}/ -o /${LAT_DIR}/wget_usm_upgrades.log
ilog "USM upgrades directory download complete"
chmod 755 ./software-deploy/*
ilog "The file permissions in the ${feed}/upgrades/software-deploy/ directory are configured to 755."
ilog "Copy software-deploy directory to ${IMAGE_ROOTFS}/var/rootdirs/${versioned_dir}"
cp -r ${feed}/upgrades/software-deploy/* ${IMAGE_ROOTFS}/var/rootdirs/${versioned_dir}
ilog "Copy software-deploy directory complete"