mirror of
https://github.com/JasonN3/build-container-installer.git
synced 2025-12-25 10:57:55 +01:00
add extra boot options
This commit is contained in:
parent
38f41f7acc
commit
f358bbaa3a
2 changed files with 5 additions and 0 deletions
3
Makefile
3
Makefile
|
|
@ -9,6 +9,7 @@ VARIANT = Server
|
|||
WEB_UI = false
|
||||
REPOS = /etc/yum.repos.d/fedora.repo /etc/yum.repos.d/fedora-updates.repo
|
||||
ADDITIONAL_TEMPLATES = ""
|
||||
EXTRA_BOOT_PARAMS =
|
||||
ROOTFS_SIZE = 4
|
||||
|
||||
# Generated vars
|
||||
|
|
@ -118,6 +119,8 @@ container/$(IMAGE_NAME)-$(IMAGE_TAG):
|
|||
|
||||
# Step 5: Generate xorriso script
|
||||
xorriso/%.sh: xorriso/%.sh.in
|
||||
find results
|
||||
sed -i 's/quiet/quiet $(EXTRA_BOOT_PARAMS)' results/grub/grub.cfg
|
||||
$(eval _VARS = IMAGE_NAME IMAGE_TAG ARCH VERSION)
|
||||
$(foreach var,$(_VARS),$(var)=$($(var))) envsubst '$(foreach var,$(_VARS),$$$(var))' < $(_BASE_DIR)/xorriso/$*.sh.in > $(_BASE_DIR)/xorriso/$*.sh
|
||||
|
||||
|
|
|
|||
|
|
@ -5,6 +5,8 @@ echo "-outdev $(pwd)/build/deploy.iso"
|
|||
echo "-boot_image any replay"
|
||||
echo "-joliet on"
|
||||
echo "-compliance joliet_long_names"
|
||||
echo "-map $(pwd)/results/grub/grub.cfg grub/grub.cfg"
|
||||
echo "-chmod 0444 grub/grub.cfg
|
||||
pushd container > /dev/null
|
||||
for file in $(find ${IMAGE_NAME}-${IMAGE_TAG})
|
||||
do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue