diff options
Diffstat (limited to '0034-base-dracut-lib.sh-do-not-setdebug-if-not-in-initram.patch')
-rw-r--r-- | 0034-base-dracut-lib.sh-do-not-setdebug-if-not-in-initram.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/0034-base-dracut-lib.sh-do-not-setdebug-if-not-in-initram.patch b/0034-base-dracut-lib.sh-do-not-setdebug-if-not-in-initram.patch new file mode 100644 index 0000000..8d3d3fd --- /dev/null +++ b/0034-base-dracut-lib.sh-do-not-setdebug-if-not-in-initram.patch @@ -0,0 +1,21 @@ +From 2b125c69cc80baae765a868992003ddd349a7ae9 Mon Sep 17 00:00:00 2001 +From: Harald Hoyer <harald@redhat.com> +Date: Thu, 18 Apr 2013 12:54:30 +0200 +Subject: [PATCH] base/dracut-lib.sh: do not setdebug, if not in initramfs + +--- + modules.d/99base/dracut-lib.sh | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/modules.d/99base/dracut-lib.sh b/modules.d/99base/dracut-lib.sh +index 9f4b2d2..ae79a82 100755 +--- a/modules.d/99base/dracut-lib.sh ++++ b/modules.d/99base/dracut-lib.sh +@@ -325,6 +325,7 @@ splitsep() { + } + + setdebug() { ++ [ -f /etc/initrd-release ] || return + if [ -z "$RD_DEBUG" ]; then + if [ -e /proc/cmdline ]; then + RD_DEBUG=no |