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
8d81773837
commit
0585fb4354
1 changed files with 4 additions and 4 deletions
|
|
@ -7,7 +7,7 @@ echo "-boot_image any replay"
|
||||||
echo "-joliet on"
|
echo "-joliet on"
|
||||||
echo "-compliance joliet_long_names"
|
echo "-compliance joliet_long_names"
|
||||||
pushd ${_BASE_DIR}/results > /dev/null
|
pushd ${_BASE_DIR}/results > /dev/null
|
||||||
for file in $(find -type f *)
|
for file in $(find * -type f)
|
||||||
do
|
do
|
||||||
if [[ "$file" == "images/boot.iso" ]]
|
if [[ "$file" == "images/boot.iso" ]]
|
||||||
then
|
then
|
||||||
|
|
@ -21,7 +21,7 @@ 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}"
|
echo "-map $(pwd)/${file} flatpak/${file}"
|
||||||
echo "-chmod 0444 flatpak/${file}"
|
echo "-chmod 0444 flatpak/${file}"
|
||||||
|
|
@ -35,8 +35,8 @@ then
|
||||||
echo "-chmod 0444 /sb_pubkey.der"
|
echo "-chmod 0444 /sb_pubkey.der"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
pushd container > /dev/null
|
pushd ${_BASE_DIR}/container > /dev/null
|
||||||
for file in $(find -type f ${IMAGE_NAME}-${IMAGE_TAG})
|
for file in $(find ${IMAGE_NAME}-${IMAGE_TAG} -type f)
|
||||||
do
|
do
|
||||||
echo "-map $(pwd)/${file} ${file}"
|
echo "-map $(pwd)/${file} ${file}"
|
||||||
echo "-chmod 0444 ${file}"
|
echo "-chmod 0444 ${file}"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue