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:
parent
cdfb00fdc2
commit
5fbe7e3143
2 changed files with 6 additions and 6 deletions
3
.github/workflows/iso.yml
vendored
3
.github/workflows/iso.yml
vendored
|
|
@ -98,7 +98,7 @@ jobs:
|
||||||
|
|
||||||
- name: Download container to cache
|
- name: Download container to cache
|
||||||
run: |
|
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
|
- name: Show downloaded files
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -121,6 +121,7 @@ jobs:
|
||||||
|
|
||||||
- name: Generate xorriso input
|
- name: Generate xorriso input
|
||||||
run: |
|
run: |
|
||||||
|
ln -s /registry_cache
|
||||||
bash scripts/gen_xorriso.sh | tee xorriso.txt
|
bash scripts/gen_xorriso.sh | tee xorriso.txt
|
||||||
|
|
||||||
- name: Add additional files to ISO
|
- name: Add additional files to ISO
|
||||||
|
|
|
||||||
|
|
@ -1,16 +1,15 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
echo "-indev $(pwd)/results/images/boot.iso"
|
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 "-boot_image any replay"
|
||||||
echo "-volid Fedora-S-dvd-x86_64-39"
|
echo "-volid Fedora-S-dvd-x86_64-39"
|
||||||
echo "-joliet on"
|
echo "-joliet on"
|
||||||
echo "-compliance joliet_long_names"
|
echo "-compliance joliet_long_names"
|
||||||
cache_files=$(find /registry_cache)
|
cache_files=$(find registry_cache)
|
||||||
for file in ${cache_files}
|
for file in ${cache_files}
|
||||||
do
|
do
|
||||||
file=$(echo $file | sed 's/^\/registry_cache\/\(.*\)/\1/')
|
echo "-map $(pwd)/${file} ${file}"
|
||||||
echo "-map $(pwd)/${file} repo_cache/${file}"
|
echo "-chmod 0444 ${file}"
|
||||||
echo "-chmod 0444 repo_cache/${file}"
|
|
||||||
done
|
done
|
||||||
echo "-end"
|
echo "-end"
|
||||||
Loading…
Add table
Add a link
Reference in a new issue