Add package list to ISO

This commit copies LAT package list yaml file into the ISO
root directory.

Test Plan:
Pass: build-image
Pass: mount iso and verify if sw_package_list.yaml is
available

Story: 2010676
Task: 48828
Change-Id: Ib12633a6cf10b4bd993e001f150f927504a445b0
Signed-off-by: Luis Sampaio <luis.sampaio@windriver.com>
This commit is contained in:
Luis Sampaio 2023-09-25 10:44:13 -07:00
parent bbf2d7ec75
commit 01350d534a
1 changed files with 7 additions and 0 deletions

View File

@ -397,6 +397,13 @@ iso-post-script: |
ln -snf ../efi.img images/efiboot.img
fi
# Generate package list file in the iso root
echo "Verifying package list for ${IMAGE_NAME}"
if [ -f "/localdisk/workdir/${IMAGE_NAME}/packages.yaml" ]; then
echo "Copying ISO package list"
cp /localdisk/workdir/${IMAGE_NAME}/packages.yaml sw_package_list.yaml
fi
initramfs-sign-script: |
echo "End of initramfs-sign-script!"