Skip to content

Commit

Permalink
use local read for kernel cmdline
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger committed Jan 23, 2024
1 parent ccdf9cd commit 0c3977e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion library/system/src/modules/Kernel.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0c3977e

Please sign in to comment.