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:
parent
f2305bbaf8
commit
b5c953d8d3
9 changed files with 88 additions and 12 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue