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

POC of OS Install

This commit is contained in:
Jason N 2024-02-15 09:22:02 -05:00 committed by GitHub
parent b63b229c4f
commit 9d5ef0c115
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 216 additions and 0 deletions

15
xorriso/gen_input.sh.in Normal file
View file

@ -0,0 +1,15 @@
#!/bin/bash
echo "-indev $(pwd)/boot.iso"
echo "-outdev $(pwd)/@IMAGE_NAME@-@VERSION@.iso"
echo "-boot_image any replay"
echo "-volid @IMAGE_NAME@-@ARCH@-@VERSION@"
echo "-joliet on"
echo "-compliance joliet_long_names"
cd container
for file in $(find @IMAGE_NAME@-@VERSION@)
do
echo "-map $(pwd)/${file} ${file}"
echo "-chmod 0444 ${file}"
done
echo "-end"