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

must be within cwd

This commit is contained in:
Jason N. 2024-02-13 15:38:14 +00:00
parent cdfb00fdc2
commit 5fbe7e3143
2 changed files with 6 additions and 6 deletions

View file

@ -98,7 +98,7 @@ jobs:
- name: Download container to cache
run: |
podman pull dockerregistry:5000/ublue-os/base-main:39
podman save dockerregistry:5000/ublue-os/base-main:39 > /dev/null
- name: Show downloaded files
run: |
@ -121,6 +121,7 @@ jobs:
- name: Generate xorriso input
run: |
ln -s /registry_cache
bash scripts/gen_xorriso.sh | tee xorriso.txt
- name: Add additional files to ISO

View file

@ -1,16 +1,15 @@
#!/bin/bash
echo "-indev $(pwd)/results/images/boot.iso"
echo "-outdev $(pwd)results/images/deploy.iso"
echo "-outdev $(pwd)/results/images/deploy.iso"
echo "-boot_image any replay"
echo "-volid Fedora-S-dvd-x86_64-39"
echo "-joliet on"
echo "-compliance joliet_long_names"
cache_files=$(find /registry_cache)
cache_files=$(find registry_cache)
for file in ${cache_files}
do
file=$(echo $file | sed 's/^\/registry_cache\/\(.*\)/\1/')
echo "-map $(pwd)/${file} repo_cache/${file}"
echo "-chmod 0444 repo_cache/${file}"
echo "-map $(pwd)/${file} ${file}"
echo "-chmod 0444 ${file}"
done
echo "-end"