Blame 0052-dracut-unset-GREP_OPTIONS.patch
|
Harald Hoyer |
83ebbb |
From 1fcf2d2f4a7eb95a507f5a4e85640e3d25bce79e Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
83ebbb |
From: Harald Hoyer <harald@redhat.com>
|
|
Harald Hoyer |
83ebbb |
Date: Mon, 23 Jan 2012 10:10:25 +0100
|
|
Harald Hoyer |
83ebbb |
Subject: [PATCH] dracut: unset GREP_OPTIONS
|
|
Harald Hoyer |
83ebbb |
|
|
Harald Hoyer |
83ebbb |
GREP_OPTIONS can influence the image creation, if set to user defined
|
|
Harald Hoyer |
83ebbb |
values, so unset it.
|
|
Harald Hoyer |
83ebbb |
|
|
Harald Hoyer |
83ebbb |
https://bugzilla.redhat.com/show_bug.cgi?id=676712
|
|
Harald Hoyer |
83ebbb |
---
|
|
Harald Hoyer |
83ebbb |
dracut | 1 +
|
|
Harald Hoyer |
83ebbb |
1 files changed, 1 insertions(+), 0 deletions(-)
|
|
Harald Hoyer |
83ebbb |
|
|
Harald Hoyer |
83ebbb |
diff --git a/dracut b/dracut
|
|
Harald Hoyer |
83ebbb |
index fbf0f74..9c833a8 100755
|
|
Harald Hoyer |
83ebbb |
--- a/dracut
|
|
Harald Hoyer |
83ebbb |
+++ b/dracut
|
|
Harald Hoyer |
83ebbb |
@@ -278,6 +278,7 @@ fi
|
|
Harald Hoyer |
83ebbb |
PATH=/sbin:/bin:/usr/sbin:/usr/bin
|
|
Harald Hoyer |
83ebbb |
export PATH
|
|
Harald Hoyer |
83ebbb |
unset LD_LIBRARY_PATH
|
|
Harald Hoyer |
83ebbb |
+unset GREP_OPTIONS
|
|
Harald Hoyer |
83ebbb |
|
|
Harald Hoyer |
83ebbb |
[[ $debug ]] && {
|
|
Harald Hoyer |
83ebbb |
export PS4='${BASH_SOURCE}@${LINENO}(${FUNCNAME[0]}): ';
|