a56a5e
From 6a9d47ce27452c56487b6c6d1a078abb7e904f67 Mon Sep 17 00:00:00 2001
a56a5e
From: Harald Hoyer <harald@redhat.com>
a56a5e
Date: Tue, 24 Jun 2014 18:55:49 +0200
a56a5e
Subject: [PATCH] print out, what kernel command line parameters are used
a56a5e
a56a5e
(cherry picked from commit fbc4620f059afec6169533259e24bc06479d18f9)
a56a5e
a56a5e
Conflicts:
a56a5e
	modules.d/98systemd/dracut-cmdline.sh
a56a5e
---
a56a5e
 modules.d/98systemd/dracut-cmdline.sh | 3 +++
a56a5e
 1 file changed, 3 insertions(+)
a56a5e
a56a5e
diff --git a/modules.d/98systemd/dracut-cmdline.sh b/modules.d/98systemd/dracut-cmdline.sh
1755ca
index 36406d9d..8a5ab2ff 100755
a56a5e
--- a/modules.d/98systemd/dracut-cmdline.sh
a56a5e
+++ b/modules.d/98systemd/dracut-cmdline.sh
a56a5e
@@ -15,6 +15,9 @@ type getarg >/dev/null 2>&1 || . /lib/dracut-lib.sh
a56a5e
 [ -f /etc/initrd-release ] && . /etc/initrd-release
a56a5e
 [ -n "$VERSION" ] && info "dracut-$VERSION"
a56a5e
 
a56a5e
+info "Using kernel command line parameters:"
a56a5e
+getcmdline | vinfo
a56a5e
+
a56a5e
 getargbool 0 rd.udev.log-priority=info -d rd.udev.info -d -n -y rdudevinfo && echo 'udev_log="info"' >> /etc/udev/udev.conf
a56a5e
 getargbool 0 rd.udev.log-priority=debug -d rd.udev.debug -d -n -y rdudevdebug && echo 'udev_log="debug"' >> /etc/udev/udev.conf
a56a5e