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

Automatically determine Flatpak dependencies (#86)

Co-authored-by: Noel Miller <noelmiller@protonmail.com>
This commit is contained in:
Jason N 2024-03-26 14:17:21 -04:00 committed by GitHub
parent f2305bbaf8
commit b5c953d8d3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 88 additions and 12 deletions

View file

@ -10,6 +10,17 @@ echo "-chmod 0444 boot/grub2/grub.cfg"
echo "-map $(pwd)/results/EFI/BOOT/grub.cfg EFI/BOOT/grub.cfg"
echo "-chmod 0444 EFI/BOOT/grub.cfg"
if [[ -n "${FLATPAK_DIR}" ]]
then
pushd ${FLATPAK_DIR} > /dev/null
for file in $(find *)
do
echo "-map $(pwd)/${file} flatpak/${file}"
echo "-chmod 0444 flatpak/${file}"
done
popd > /dev/null
fi
if [ -f $(pwd)/sb_pubkey.der ]
then
echo "-map $(pwd)/sb_pubkey.der sb_pubkey.der"