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:
parent
6baed8272a
commit
b1d2edfc3a
1 changed files with 13 additions and 12 deletions
|
|
@ -6,21 +6,22 @@ echo "-outdev ${ISO_NAME}"
|
||||||
echo "-boot_image any replay"
|
echo "-boot_image any replay"
|
||||||
echo "-joliet on"
|
echo "-joliet on"
|
||||||
echo "-compliance joliet_long_names"
|
echo "-compliance joliet_long_names"
|
||||||
#pushd "${PWD}/results" > /dev/null
|
pushd "${PWD}/results" > /dev/null
|
||||||
#for file in $(find . -type f)
|
#for file in $(find . -type f)
|
||||||
#do
|
for file in ./boot/grub2/grub.cfg ./EFI/BOOT/grub.cfg
|
||||||
# if [[ "$file" == "./images/boot.iso" ]]
|
do
|
||||||
# then
|
if [[ "$file" == "./images/boot.iso" ]]
|
||||||
# continue
|
then
|
||||||
# fi
|
continue
|
||||||
# echo "-map ${PWD}/results/${file} ${file:2}"
|
fi
|
||||||
# echo "-chmod 0444 ${file:2}"
|
echo "-map ${PWD}/results/${file} ${file:2}"
|
||||||
#done
|
echo "-chmod 0444 ${file:2}"
|
||||||
#popd > /dev/null
|
done
|
||||||
|
popd > /dev/null
|
||||||
|
|
||||||
if [[ -n "${FLATPAK_DIR}" ]]
|
if [[ -n "../${FLATPAK_DIR}" ]]
|
||||||
then
|
then
|
||||||
pushd "${FLATPAK_DIR}" > /dev/null
|
pushd "../${FLATPAK_DIR}" > /dev/null
|
||||||
for file in $(find . -type f)
|
for file in $(find . -type f)
|
||||||
do
|
do
|
||||||
echo "-map ${PWD}/${file} flatpak/${file:2}"
|
echo "-map ${PWD}/${file} flatpak/${file:2}"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue