From 01350d534a9054ca0fd09ed0e1906bad40603bea Mon Sep 17 00:00:00 2001 From: Luis Sampaio Date: Mon, 25 Sep 2023 10:44:13 -0700 Subject: [PATCH] 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 --- .../config/debian/common/base-bullseye.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/debian-mirror-tools/config/debian/common/base-bullseye.yaml b/debian-mirror-tools/config/debian/common/base-bullseye.yaml index 7e767f361..6c8480f22 100644 --- a/debian-mirror-tools/config/debian/common/base-bullseye.yaml +++ b/debian-mirror-tools/config/debian/common/base-bullseye.yaml @@ -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!"