Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:GA
dracut
0101-Print-stored-dracut-commandline-during-ini...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0101-Print-stored-dracut-commandline-during-initramfs-bui.patch of Package dracut
From 390474e70238c6585976bab3d37b0f82e5f1a417 Mon Sep 17 00:00:00 2001 From: Hannes Reinecke <hare@suse.de> Date: Fri, 4 Jul 2014 12:31:24 +0200 Subject: Print stored dracut commandline during initramfs build When generating the initramfs we should be printing out the generated dracut commandline used for booting. This will simplify debugging. Signed-off-by: Hannes Reinecke <hare@suse.de> --- dracut.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dracut.sh b/dracut.sh index 40006e7..a166cb6 100755 --- a/dracut.sh +++ b/dracut.sh @@ -1479,6 +1479,12 @@ if ! ( echo $PARMS_TO_STORE > $initdir/lib/dracut/build-parameter.txt ); then exit 1 fi +if [[ $hostonly_cmdline ]] ; then + dinfo "Stored kernel commandline:" + for conf in $initdir/etc/cmdline.d/*.conf ; do + dinfo "$(< $conf)" + done +fi rm -f -- "$outfile" dinfo "*** Creating image file ***" -- 1.8.4.5
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor