1
0
Fork 0
mirror of https://github.com/JasonN3/build-container-installer.git synced 2025-12-25 19:07:54 +01:00

chore(ci): test fix for copying sb_pubkey.der to ISO

This commit is contained in:
Noel Miller 2024-04-08 12:56:55 -05:00
parent 1ca4950699
commit cf37100ac5
2 changed files with 6 additions and 3 deletions

View file

@ -34,11 +34,14 @@ then
popd > /dev/null
fi
if [ -f $(pwd)/sb_pubkey.der ]
pushd "${PWD}/../" > /dev/null
ls -alh ${PWD}
if [ -f ${PWD}/sb_pubkey.der ]
then
echo "-map $(pwd)/../sb_pubkey.der sb_pubkey.der"
echo "-map ${PWD}/sb_pubkey.der sb_pubkey.der"
echo "-chmod 0444 /sb_pubkey.der"
fi
popd > /dev/null
pushd "${PWD}/../container" > /dev/null
for file in $(find "${IMAGE_NAME}-${IMAGE_TAG}" -type f)