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

move some actions to makefile

This commit is contained in:
Jason N. 2024-03-27 15:15:54 -04:00
parent a6aeab7ac9
commit 60ef06188d
9 changed files with 119 additions and 87 deletions

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 *)
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 *)
for file in $(find -type f *)
do
echo "-map $(pwd)/${file} flatpak/${file}"
echo "-chmod 0444 flatpak/${file}"
@ -36,7 +36,7 @@ then
fi
pushd container > /dev/null
for file in $(find ${IMAGE_NAME}-${IMAGE_TAG})
for file in $(find -type f ${IMAGE_NAME}-${IMAGE_TAG})
do
echo "-map $(pwd)/${file} ${file}"
echo "-chmod 0444 ${file}"