mirror of
https://github.com/JasonN3/build-container-installer.git
synced 2025-12-25 10:57:55 +01:00
use makefiles
This commit is contained in:
parent
7e1143c0a5
commit
8b9e474a67
6 changed files with 65 additions and 34 deletions
4
xorriso/Makefile
Normal file
4
xorriso/Makefile
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
input.txt:
|
||||
sed -i 's/@IMAGE_NAME@/$(image_name)-$(version)/' gen_input.sh
|
||||
cd $(base_dir)
|
||||
bash gen_input.sh > input.txt
|
||||
|
|
@ -1,12 +1,12 @@
|
|||
#!/bin/bash
|
||||
|
||||
echo "-indev $(pwd)/results/images/boot.iso"
|
||||
echo "-outdev $(pwd)/results/images/deploy.iso"
|
||||
echo "-indev $(pwd)/boot.iso"
|
||||
echo "-outdev $(pwd)/deploy.iso"
|
||||
echo "-boot_image any replay"
|
||||
echo "-volid Fedora-S-dvd-x86_64-39"
|
||||
echo "-joliet on"
|
||||
echo "-compliance joliet_long_names"
|
||||
for file in $(find base-main-39)
|
||||
for file in $(find @IMAGE_NAME@)
|
||||
do
|
||||
echo "-map $(pwd)/${file} ${file}"
|
||||
echo "-chmod 0444 ${file}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue