Software upload: create pxeboot versioned dir

Details: This commit is to copy the script to iso

Depends-on: https://review.opendev.org/c/starlingx/update/+/899977

Test Plan:

PASS: build the iso and script is available in the dir
Change-Id: Ia2d39ae63e0fee81b27e91250926b564506c4b1a
Signed-off-by: junfeng-li <junfeng.li@windriver.com>
This commit is contained in:
junfeng-li 2023-11-29 15:56:52 +00:00
parent 0b899d4bc4
commit cde99f7702
1 changed files with 1 additions and 0 deletions

View File

@ -331,6 +331,7 @@ iso-post-script: |
cp ${IMAGE_ROOTFS}/usr/sbin/upgrade_utils.py upgrades/
cp ${IMAGE_ROOTFS}/opt/upgrades/import.sh upgrades/
cp ${IMAGE_ROOTFS}/opt/upgrades/metadata.xml upgrades/
cp ${IMAGE_ROOTFS}/usr/sbin/usm_load_import upgrades/
sed -i "s/xxxSW_VERSIONxxx/${RELEASE_VER}/g" upgrades/metadata.xml
mkdir -p patches
cp ${IMAGE_ROOTFS}/etc/software/STX_*_GA-metadata.xml upgrades/