#10 kdump.sysconfig*: add ignition.firstboot to KDUMP_COMMANDLINE_REMOVE
Merged 2 years ago by coiby. Opened 2 years ago by dustymabe.
rpms/ dustymabe/kexec-tools dusty-ignition-firstboot  into  rawhide

file modified
+1 -1
@@ -17,7 +17,7 @@ 

  # This variable lets us remove arguments from the current kdump commandline

  # as taken from either KDUMP_COMMANDLINE above, or from /proc/cmdline

  # NOTE: some arguments such as crashkernel will always be removed

- KDUMP_COMMANDLINE_REMOVE="hugepages hugepagesz slub_debug quiet log_buf_len swiotlb cma hugetlb_cma"

+ KDUMP_COMMANDLINE_REMOVE="hugepages hugepagesz slub_debug quiet log_buf_len swiotlb cma hugetlb_cma ignition.firstboot"

  

  # This variable lets us append arguments to the current kdump commandline

  # after processed by KDUMP_COMMANDLINE_REMOVE

file modified
+1 -1
@@ -17,7 +17,7 @@ 

  # This variable lets us remove arguments from the current kdump commandline

  # as taken from either KDUMP_COMMANDLINE above, or from /proc/cmdline

  # NOTE: some arguments such as crashkernel will always be removed

- KDUMP_COMMANDLINE_REMOVE="hugepages hugepagesz slub_debug quiet log_buf_len swiotlb cma hugetlb_cma"

+ KDUMP_COMMANDLINE_REMOVE="hugepages hugepagesz slub_debug quiet log_buf_len swiotlb cma hugetlb_cma ignition.firstboot"

  

  # This variable lets us append arguments to the current kdump commandline

  # after processed by KDUMP_COMMANDLINE_REMOVE

file modified
+1 -1
@@ -17,7 +17,7 @@ 

  # This variable lets us remove arguments from the current kdump commandline

  # as taken from either KDUMP_COMMANDLINE above, or from /proc/cmdline

  # NOTE: some arguments such as crashkernel will always be removed

- KDUMP_COMMANDLINE_REMOVE="hugepages hugepagesz slub_debug quiet log_buf_len swiotlb cma hugetlb_cma"

+ KDUMP_COMMANDLINE_REMOVE="hugepages hugepagesz slub_debug quiet log_buf_len swiotlb cma hugetlb_cma ignition.firstboot"

  

  # This variable lets us append arguments to the current kdump commandline

  # after processed by KDUMP_COMMANDLINE_REMOVE

file modified
+1 -1
@@ -17,7 +17,7 @@ 

  # This variable lets us remove arguments from the current kdump commandline

  # as taken from either KDUMP_COMMANDLINE above, or from /proc/cmdline

  # NOTE: some arguments such as crashkernel will always be removed

- KDUMP_COMMANDLINE_REMOVE="hugepages hugepagesz slub_debug quiet log_buf_len swiotlb hugetlb_cma"

+ KDUMP_COMMANDLINE_REMOVE="hugepages hugepagesz slub_debug quiet log_buf_len swiotlb hugetlb_cma ignition.firstboot"

  

  # This variable lets us append arguments to the current kdump commandline

  # after processed by KDUMP_COMMANDLINE_REMOVE

file modified
+1 -1
@@ -17,7 +17,7 @@ 

  # This variable lets us remove arguments from the current kdump commandline

  # as taken from either KDUMP_COMMANDLINE above, or from /proc/cmdline

  # NOTE: some arguments such as crashkernel will always be removed

- KDUMP_COMMANDLINE_REMOVE="hugepages hugepagesz slub_debug quiet log_buf_len swiotlb hugetlb_cma"

+ KDUMP_COMMANDLINE_REMOVE="hugepages hugepagesz slub_debug quiet log_buf_len swiotlb hugetlb_cma ignition.firstboot"

  

  # This variable lets us append arguments to the current kdump commandline

  # after processed by KDUMP_COMMANDLINE_REMOVE

file modified
+1 -1
@@ -17,7 +17,7 @@ 

  # This variable lets us remove arguments from the current kdump commandline

  # as taken from either KDUMP_COMMANDLINE above, or from /proc/cmdline

  # NOTE: some arguments such as crashkernel will always be removed

- KDUMP_COMMANDLINE_REMOVE="hugepages hugepagesz slub_debug quiet log_buf_len swiotlb vmcp_cma cma hugetlb_cma prot_virt"

+ KDUMP_COMMANDLINE_REMOVE="hugepages hugepagesz slub_debug quiet log_buf_len swiotlb vmcp_cma cma hugetlb_cma prot_virt ignition.firstboot"

  

  # This variable lets us append arguments to the current kdump commandline

  # after processed by KDUMP_COMMANDLINE_REMOVE

file modified
+1 -1
@@ -17,7 +17,7 @@ 

  # This variable lets us remove arguments from the current kdump commandline

  # as taken from either KDUMP_COMMANDLINE above, or from /proc/cmdline

  # NOTE: some arguments such as crashkernel will always be removed

- KDUMP_COMMANDLINE_REMOVE="hugepages hugepagesz slub_debug quiet log_buf_len swiotlb cma hugetlb_cma"

+ KDUMP_COMMANDLINE_REMOVE="hugepages hugepagesz slub_debug quiet log_buf_len swiotlb cma hugetlb_cma ignition.firstboot"

  

  # This variable lets us append arguments to the current kdump commandline

  # after processed by KDUMP_COMMANDLINE_REMOVE

For CoreOS based systems we use Ignition for provisioning machines
in the initramfs on first boot. We trigger Ignition right now by
the presence of ignition.firstboot in the kernel command line. The
kernel argument is only present on first boot so after a reboot it
no longer is in the kernel command line.

If a kernel crash happens before the first reboot of a machine we
want the ignition.firstboot kernel argument to be removed and not
passed on to the crash kernel.

Build succeeded.

Pull-Request has been merged by coiby

2 years ago