Fix non-export of journal dev boot options.
cmdline_journal does not contain linefeeds anymore, so read silently skipped it altogether. Signed-off-by: Thorsten Behrens <tbehrens@suse.com> Signed-off-by: Thomas Renninger <trenn@suse.de>master
parent
ce8f354dbd
commit
486030575d
|
|
@ -43,9 +43,8 @@ cmdline() {
|
|||
# called by dracut
|
||||
install() {
|
||||
if [[ $hostonly_cmdline == "yes" ]]; then
|
||||
cmdline_journal | while read journaldev; do
|
||||
[[ $journaldev ]] && printf "%s\n" "$journaldev" >> "${initdir}/etc/cmdline.d/95root-journaldev.conf"
|
||||
done
|
||||
local _journaldev=$(cmdline_journal)
|
||||
[[ $_journaldev ]] && printf "%s\n" "$_journaldev" >> "${initdir}/etc/cmdline.d/95root-journaldev.conf"
|
||||
fi
|
||||
|
||||
inst_multiple umount
|
||||
|
|
|
|||
Loading…
Reference in New Issue