Copy deployment scripts to ISO

This commit is to copy all USM deployment scripts to ISO
/upgrades/software-deploy/ directory. These scripts will later be
 deployed to /usr/sbin/software-deploy/ during 'software upload'

Test Plan:

PASS: ISO built and scripts are in the ISO directory

Task: 48956
Story: 2010676
Change-Id: Ib18c09d66058ae861f3a30e3d41106f3bebd9d92
Signed-off-by: junfeng-li <junfeng.li@windriver.com>
This commit is contained in:
junfeng-li 2023-10-19 14:38:30 +00:00 committed by Junfeng Li
parent 67d67e9bb3
commit 7e098b39bf
1 changed files with 3 additions and 0 deletions

View File

@ -335,6 +335,9 @@ iso-post-script: |
cp ${IMAGE_ROOTFS}/etc/software/STX_*_GA-metadata.xml upgrades/
cp ${IMAGE_ROOTFS}/etc/software/STX_*_GA-metadata.xml patches/
echo -n "VERSION=${RELEASE_VER}" > upgrades/version
mkdir -p upgrades/software-deploy
# Copy all software-deploy scripts to upgrades/software-deploy in ISO
cp ${IMAGE_ROOTFS}/usr/sbin/software-deploy/* upgrades/software-deploy/
# 3. ISO
# 3.1 Edit grub.cfg and isolinux.cfg