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

fix paths

This commit is contained in:
Jason N. 2024-04-02 21:53:47 -04:00
parent 6baed8272a
commit b1d2edfc3a

View file

@ -6,21 +6,22 @@ echo "-outdev ${ISO_NAME}"
echo "-boot_image any replay"
echo "-joliet on"
echo "-compliance joliet_long_names"
#pushd "${PWD}/results" > /dev/null
pushd "${PWD}/results" > /dev/null
#for file in $(find . -type f)
#do
# if [[ "$file" == "./images/boot.iso" ]]
# then
# continue
# fi
# echo "-map ${PWD}/results/${file} ${file:2}"
# echo "-chmod 0444 ${file:2}"
#done
#popd > /dev/null
for file in ./boot/grub2/grub.cfg ./EFI/BOOT/grub.cfg
do
if [[ "$file" == "./images/boot.iso" ]]
then
continue
fi
echo "-map ${PWD}/results/${file} ${file:2}"
echo "-chmod 0444 ${file:2}"
done
popd > /dev/null
if [[ -n "${FLATPAK_DIR}" ]]
if [[ -n "../${FLATPAK_DIR}" ]]
then
pushd "${FLATPAK_DIR}" > /dev/null
pushd "../${FLATPAK_DIR}" > /dev/null
for file in $(find . -type f)
do
echo "-map ${PWD}/${file} flatpak/${file:2}"