mirror of
https://github.com/JasonN3/build-container-installer.git
synced 2025-12-25 10:57:55 +01:00
add clean
This commit is contained in:
parent
d4347902f2
commit
81bcbb56ca
6 changed files with 26 additions and 7 deletions
|
|
@ -1,4 +1,9 @@
|
|||
input.txt:
|
||||
sed -i 's/@IMAGE_NAME@/$(image_name)-$(version)/' gen_input.sh
|
||||
cd $(base_dir)
|
||||
bash gen_input.sh > input.txt
|
||||
input.txt: gen_input.sh
|
||||
bash gen_input.sh "$(base_dir)" > input.txt
|
||||
|
||||
%.sh:
|
||||
sed 's/@IMAGE_NAME@/$(image_name)-$(version)/' $*.in > $*
|
||||
|
||||
clean:
|
||||
rm input.txt
|
||||
rm gen_input.sh
|
||||
|
|
@ -6,6 +6,7 @@ echo "-boot_image any replay"
|
|||
echo "-volid Fedora-S-dvd-x86_64-39"
|
||||
echo "-joliet on"
|
||||
echo "-compliance joliet_long_names"
|
||||
cd $1
|
||||
for file in $(find @IMAGE_NAME@)
|
||||
do
|
||||
echo "-map $(pwd)/${file} ${file}"
|
||||
Loading…
Add table
Add a link
Reference in a new issue