Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mkimage-profiles
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ximper Linux
mkimage-profiles
Commits
4b3bc4e0
Commit
4b3bc4e0
authored
Sep 03, 2021
by
Anton Midyukov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
grub,initrd-propagator,syslinux: split STAGE1_INITRD_BOOTARGS in half
For use them separately.
parent
676aac35
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
1 deletion
+10
-1
generate.mk
features.in/grub/generate.mk
+4
-0
config.mk
features.in/initrd-propagator/config.mk
+2
-1
generate.mk
features.in/syslinux/generate.mk
+4
-0
No files found.
features.in/grub/generate.mk
View file @
4b3bc4e0
...
...
@@ -12,6 +12,8 @@ ifndef BOOTLOADER
$(error grub feature enabled but BOOTLOADER undefined)
endif
STAGE1_INITRD_BOOTARGS := $(STAGE1_INITRD_TYPEARGS)=$(STAGE1_INITRD_BOOTMETHOD)
ifndef GRUB_DIRECT
# SUBPROFILES are considered GRUB_CFG too
# (note these can appear like stage2@live);
...
...
@@ -112,6 +114,8 @@ bootargs: clean
sed -i "s,@initrd_ext@,img," $(DSTCFGS); \
fi
@sed -i "s|@initrd_bootargs@|$(STAGE1_INITRD_BOOTARGS)|g" $(DSTCFGS)
@sed -i "s|@initrd_bootargs@|$(STAGE1_INITRD_BOOTMETHOD)|g" $(DSTCFGS)
@sed -i "s|@initrd_typeargs@|$(STAGE1_INITRD_TYPEARGS)|g" $(DSTCFGS)
@sed -i "s,@stagename@,$(STAGE1_INITRD_STAGE2_OPTION),g" $(DSTCFGS)
clean: copy
...
...
features.in/initrd-propagator/config.mk
View file @
4b3bc4e0
...
...
@@ -2,5 +2,6 @@ use/initrd-propagator: use/uuid-iso
@$(call add_feature)
@$(call add,STAGE1_PACKAGES,make-initrd-propagator propagator)
@$(call set,STAGE1_INITRD,initrd-propagator)
@$(call set,STAGE1_INITRD_BOOTARGS,$(shell echo "changedisk automatic=method:cdrom,fuid:$(UUID_ISO)"))
@$(call set,STAGE1_INITRD_TYPEARGS,$(shell echo "changedisk automatic"))
@$(call set,STAGE1_INITRD_BOOTMETHOD,$(shell echo "method:cdrom,fuid:$(UUID_ISO)"))
@$(call set,STAGE1_INITRD_STAGE2_OPTION,stagename)
features.in/syslinux/generate.mk
View file @
4b3bc4e0
...
...
@@ -12,6 +12,8 @@ ifndef BOOTLOADER
$(error syslinux feature enabled but BOOTLOADER undefined)
endif
STAGE1_INITRD_BOOTARGS := $(STAGE1_INITRD_TYPEARGS)=$(STAGE1_INITRD_BOOTMETHOD)
# UI is backed by modules in modern syslinux
# (except for built-in text prompt)
ifdef SYSLINUX_UI
...
...
@@ -96,6 +98,8 @@ bootargs: clean
sed -i "s,@initrd@,initrd.img," $(DSTCFGS); \
fi
@sed -i "s|@initrd_bootargs@|$(STAGE1_INITRD_BOOTARGS)|g" $(DSTCFGS)
@sed -i "s|@initrd_bootargs@|$(STAGE1_INITRD_BOOTMETHOD)|g" $(DSTCFGS)
@sed -i "s|@initrd_typeargs@|$(STAGE1_INITRD_TYPEARGS)|g" $(DSTCFGS)
@sed -i "s,@stagename@,$(STAGE1_INITRD_STAGE2_OPTION),g" $(DSTCFGS)
clean: copy
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment