Merge "Configure software deploy script permissions"

This commit is contained in:
Zuul 2024-10-10 13:36:21 +00:00 committed by Gerrit Code Review
commit 9e0e191074

View File

@ -3223,6 +3223,8 @@ else
wget ${NOVERIFYSSL_WGET_OPT} -r -np -nH --cut-dirs=3 -R "index.html*" \ wget ${NOVERIFYSSL_WGET_OPT} -r -np -nH --cut-dirs=3 -R "index.html*" \
${upgrade_url}/ -o /${LAT_DIR}/wget_usm_upgrades.log ${upgrade_url}/ -o /${LAT_DIR}/wget_usm_upgrades.log
ilog "USM upgrades directory download complete" 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}" ilog "Copy software-deploy directory to ${IMAGE_ROOTFS}/var/rootdirs/${versioned_dir}"
cp -r ${feed}/upgrades/software-deploy/* ${IMAGE_ROOTFS}/var/rootdirs/${versioned_dir} cp -r ${feed}/upgrades/software-deploy/* ${IMAGE_ROOTFS}/var/rootdirs/${versioned_dir}
ilog "Copy software-deploy directory complete" ilog "Copy software-deploy directory complete"