From: Daan De Meyer Date: Mon, 29 Jul 2024 15:13:28 +0000 (+0200) Subject: kernel-install: Only read cmdline from /proc/cmdline when not in container X-Git-Tag: v257-rc1~805 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35c01ec59e0c2e6bd06cb18ca2ff612c6a7ea35d;p=thirdparty%2Fsystemd.git kernel-install: Only read cmdline from /proc/cmdline when not in container If we're running from within a container, we're very likely not going to want to use the kernel command line from /proc/cmdline, so let's add a check to see if we're running from a container to decide whether we'll use the kernel command line from /proc/cmdline. --- diff --git a/src/kernel-install/90-loaderentry.install.in b/src/kernel-install/90-loaderentry.install.in index 4ef6aca169c..79427684cc5 100755 --- a/src/kernel-install/90-loaderentry.install.in +++ b/src/kernel-install/90-loaderentry.install.in @@ -79,8 +79,10 @@ elif [ -f /etc/kernel/cmdline ]; then BOOT_OPTIONS="$(tr -s "$IFS" ' '