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

fix paths

This commit is contained in:
Jason N. 2024-03-28 12:04:09 -04:00
parent 8d81773837
commit 0585fb4354

View file

@ -7,7 +7,7 @@ echo "-boot_image any replay"
echo "-joliet on"
echo "-compliance joliet_long_names"
pushd ${_BASE_DIR}/results > /dev/null
for file in $(find -type f *)
for file in $(find * -type f)
do
if [[ "$file" == "images/boot.iso" ]]
then
@ -21,7 +21,7 @@ popd > /dev/null
if [[ -n "${FLATPAK_DIR}" ]]
then
pushd ${FLATPAK_DIR} > /dev/null
for file in $(find -type f *)
for file in $(find * -type f)
do
echo "-map $(pwd)/${file} flatpak/${file}"
echo "-chmod 0444 flatpak/${file}"
@ -35,8 +35,8 @@ then
echo "-chmod 0444 /sb_pubkey.der"
fi
pushd container > /dev/null
for file in $(find -type f ${IMAGE_NAME}-${IMAGE_TAG})
pushd ${_BASE_DIR}/container > /dev/null
for file in $(find ${IMAGE_NAME}-${IMAGE_TAG} -type f)
do
echo "-map $(pwd)/${file} ${file}"
echo "-chmod 0444 ${file}"