mirror of
https://github.com/nchevsky/systemrescue-zfs.git
synced 2026-04-05 14:25:27 +00:00
add mechanism to add default kernel parameters during build
They are then automatically applied to all boot configurations
This commit is contained in:
parent
10d7f6ff50
commit
ba3a7eb06d
4 changed files with 18 additions and 15 deletions
|
|
@ -8,7 +8,7 @@ ENDTEXT
|
|||
MENU LABEL Boot SystemRescue (NBD)
|
||||
LINUX boot/%ISO_ARCH%/vmlinuz
|
||||
INITRD boot/intel_ucode.img,boot/amd_ucode.img,boot/%ISO_ARCH%/sysresccd.img
|
||||
APPEND archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% archiso_nbd_srv=${pxeserver}
|
||||
APPEND archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% archiso_nbd_srv=${pxeserver} %DEFAULTKERNELPARAM%
|
||||
SYSAPPEND 3
|
||||
|
||||
LABEL sysresccd_nfs
|
||||
|
|
@ -19,7 +19,7 @@ ENDTEXT
|
|||
MENU LABEL Boot SystemRescue (NFS)
|
||||
LINUX boot/%ISO_ARCH%/vmlinuz
|
||||
INITRD boot/intel_ucode.img,boot/amd_ucode.img,boot/%ISO_ARCH%/sysresccd.img
|
||||
APPEND archisobasedir=%INSTALL_DIR% archiso_nfs_srv=${pxeserver}:/run/sysresccd/bootmnt
|
||||
APPEND archisobasedir=%INSTALL_DIR% archiso_nfs_srv=${pxeserver}:/run/sysresccd/bootmnt %DEFAULTKERNELPARAM%
|
||||
SYSAPPEND 3
|
||||
|
||||
LABEL sysresccd_http
|
||||
|
|
@ -30,7 +30,7 @@ ENDTEXT
|
|||
MENU LABEL Boot SystemRescue (HTTP)
|
||||
LINUX boot/%ISO_ARCH%/vmlinuz
|
||||
INITRD boot/intel_ucode.img,boot/amd_ucode.img,boot/%ISO_ARCH%/sysresccd.img
|
||||
APPEND archisobasedir=%INSTALL_DIR% archiso_http_srv=http://${pxeserver}/
|
||||
APPEND archisobasedir=%INSTALL_DIR% archiso_http_srv=http://${pxeserver}/ %DEFAULTKERNELPARAM%
|
||||
SYSAPPEND 3
|
||||
|
||||
INCLUDE boot/syslinux/sysresccd_tail.cfg
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ ENDTEXT
|
|||
MENU LABEL Boot SystemRescue using default options
|
||||
LINUX boot/%ISO_ARCH%/vmlinuz
|
||||
INITRD boot/intel_ucode.img,boot/amd_ucode.img,boot/%ISO_ARCH%/sysresccd.img
|
||||
APPEND archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL%
|
||||
APPEND archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% %DEFAULTKERNELPARAM%
|
||||
|
||||
LABEL sysresccd_copytoram
|
||||
TEXT HELP
|
||||
|
|
@ -16,7 +16,7 @@ ENDTEXT
|
|||
MENU LABEL Boot SystemRescue and copy system to RAM (copytoram)
|
||||
LINUX boot/%ISO_ARCH%/vmlinuz
|
||||
INITRD boot/intel_ucode.img,boot/amd_ucode.img,boot/%ISO_ARCH%/sysresccd.img
|
||||
APPEND archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% copytoram
|
||||
APPEND archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% %DEFAULTKERNELPARAM% copytoram
|
||||
|
||||
LABEL sysresccd_checksum
|
||||
TEXT HELP
|
||||
|
|
@ -25,7 +25,7 @@ ENDTEXT
|
|||
MENU LABEL Boot SystemRescue and verify integrity of the medium (checksum)
|
||||
LINUX boot/%ISO_ARCH%/vmlinuz
|
||||
INITRD boot/intel_ucode.img,boot/amd_ucode.img,boot/%ISO_ARCH%/sysresccd.img
|
||||
APPEND archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% checksum
|
||||
APPEND archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% %DEFAULTKERNELPARAM% checksum
|
||||
|
||||
LABEL sysresccd_nomodeset
|
||||
TEXT HELP
|
||||
|
|
@ -34,7 +34,7 @@ ENDTEXT
|
|||
MENU LABEL Boot SystemRescue using basic display drivers (nomodeset)
|
||||
LINUX boot/%ISO_ARCH%/vmlinuz
|
||||
INITRD boot/intel_ucode.img,boot/amd_ucode.img,boot/%ISO_ARCH%/sysresccd.img
|
||||
APPEND archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% nomodeset
|
||||
APPEND archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% %DEFAULTKERNELPARAM% nomodeset
|
||||
|
||||
LABEL sysresccd_findroot
|
||||
TEXT HELP
|
||||
|
|
@ -43,7 +43,7 @@ ENDTEXT
|
|||
MENU LABEL Boot a Linux operating system installed on the disk (findroot)
|
||||
LINUX boot/%ISO_ARCH%/vmlinuz
|
||||
INITRD boot/intel_ucode.img,boot/amd_ucode.img,boot/%ISO_ARCH%/sysresccd.img
|
||||
APPEND archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% findroot
|
||||
APPEND archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% %DEFAULTKERNELPARAM% findroot
|
||||
|
||||
LABEL sysresccd_break
|
||||
TEXT HELP
|
||||
|
|
@ -52,6 +52,6 @@ ENDTEXT
|
|||
MENU LABEL Stop during the boot process before mounting the root filesystem
|
||||
LINUX boot/%ISO_ARCH%/vmlinuz
|
||||
INITRD boot/intel_ucode.img,boot/amd_ucode.img,boot/%ISO_ARCH%/sysresccd.img
|
||||
APPEND archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% break
|
||||
APPEND archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% %DEFAULTKERNELPARAM% break
|
||||
|
||||
INCLUDE boot/syslinux/sysresccd_tail.cfg
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue