From 0c3977ea716a039491e9ea8262268c3fdc3ccc71 Mon Sep 17 00:00:00 2001 From: Josef Reidinger Date: Tue, 23 Jan 2024 13:51:49 +0100 Subject: [PATCH] use local read for kernel cmdline --- library/system/src/modules/Kernel.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/library/system/src/modules/Kernel.rb b/library/system/src/modules/Kernel.rb index 12060b606..6c4347804 100644 --- a/library/system/src/modules/Kernel.rb +++ b/library/system/src/modules/Kernel.rb @@ -173,7 +173,8 @@ def ParseInstallationKernelCmdline tmp = if SCR.Dir(path(".etc.install_inf")).empty? # not using dedicated agent in order to use the same parser for cmdline # independently on whether it comes from /proc/cmdline or /etc/install.inf - SCR.Read(path(".target.string"), "/proc/cmdline").to_s + # use local read as it does not make sense to depend on binding it to chroot + WFM.Read(path(".local.string"), "/proc/cmdline").to_s else SCR.Read(path(".etc.install_inf.Cmdline")).to_s end