mirror of
https://github.com/JasonN3/build-container-installer.git
synced 2025-12-25 02:47:56 +01:00
Add build for Fedora-bootc (#105)
This commit is contained in:
parent
ee3a60c6a1
commit
383427c619
17 changed files with 174 additions and 198 deletions
|
|
@ -32,7 +32,7 @@ files/mnt/iso:
|
|||
sudo mount -o loop ../../$(ISO_NAME) files/mnt/iso
|
||||
|
||||
files/grub.cfg: files/mnt/iso
|
||||
cp files/mnt/iso/boot/grub2/grub.cfg files/grub.cfg
|
||||
cp files/mnt/iso/$(if $(_RHEL),isolinux/grub.conf,boot/grub2/grub.cfg) files/grub.cfg
|
||||
sed -i 's/quiet/console=ttyS0,115200n8 inst.ks=cdrom:\/ks.cfg/' files/grub.cfg
|
||||
sed -i 's/set default="1"/set default="0"/' files/grub.cfg
|
||||
sed -i 's/set timeout=60/set timeout=1/' files/grub.cfg
|
||||
|
|
@ -57,7 +57,7 @@ files/install.iso: files/grub.cfg
|
|||
-compliance joliet_long_names
|
||||
-map files/ks.cfg ks.cfg
|
||||
-chmod 0444 ks.cfg
|
||||
-map files/grub.cfg boot/grub2/grub.cfg
|
||||
-map files/grub.cfg $(if $(_RHEL),isolinux/grub.conf,boot/grub2/grub.cfg)
|
||||
-end
|
||||
EOF
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue