Blame 0008-dracut-functions-use-LC_ALL-C-rather-than-LANG-C.patch
|
Harald Hoyer |
c3a574 |
From 45b5a4e142e7b1f9831b8dbc3e1be0960709e6b6 Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
c3a574 |
From: Harald Hoyer <harald@redhat.com>
|
|
Harald Hoyer |
c3a574 |
Date: Tue, 22 Jun 2010 11:59:49 +0200
|
|
Harald Hoyer |
c3a574 |
Subject: [PATCH 8/8] dracut-functions: use LC_ALL=C rather than LANG=C
|
|
Harald Hoyer |
c3a574 |
|
|
Harald Hoyer |
c3a574 |
---
|
|
Harald Hoyer |
c3a574 |
dracut-functions | 2 +-
|
|
Harald Hoyer |
c3a574 |
1 files changed, 1 insertions(+), 1 deletions(-)
|
|
Harald Hoyer |
c3a574 |
|
|
Harald Hoyer |
c3a574 |
diff --git a/dracut-functions b/dracut-functions
|
|
Harald Hoyer |
c3a574 |
index 57dd702..2cd573a 100755
|
|
Harald Hoyer |
c3a574 |
--- a/dracut-functions
|
|
Harald Hoyer |
c3a574 |
+++ b/dracut-functions
|
|
Harald Hoyer |
c3a574 |
@@ -248,7 +248,7 @@ inst_binary() {
|
|
Harald Hoyer |
c3a574 |
local LDSO NAME IO FILE ADDR I1 n f TLIBDIR
|
|
Harald Hoyer |
c3a574 |
[[ -e $initdir$target ]] && return 0
|
|
Harald Hoyer |
c3a574 |
# I love bash!
|
|
Harald Hoyer |
c3a574 |
- LANG=C ldd $bin 2>/dev/null | while read line; do
|
|
Harald Hoyer |
c3a574 |
+ LC_ALL=C ldd $bin 2>/dev/null | while read line; do
|
|
Harald Hoyer |
c3a574 |
[[ $line = 'not a dynamic executable' ]] && return 1
|
|
Harald Hoyer |
c3a574 |
if [[ $line =~ not\ found ]]; then
|
|
Harald Hoyer |
c3a574 |
derror "Missing a shared library required by $bin."
|
|
Harald Hoyer |
c3a574 |
--
|
|
Harald Hoyer |
c3a574 |
1.7.0.1
|
|
Harald Hoyer |
c3a574 |
|