Skip to contentSkip to conversation

fixed library-matching regex

PATCH In review initramfs mailing list 1 participant 1 message Feb 16, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 46/50 fixed library-matching regex

Gitweb:     http://git.kernel.org/?p=linux/kernel/git/davej/dracut.git;a=commit;h=bff8c33c2bb17a7641ce664c5435f35956dbd02f
Commit:     bff8c33c2bb17a7641ce664c5435f35956dbd02f
Parent:     aeaaa812d256e9d4b431d301b9a81dc6e103c349
Author:     Victor Lowther <[email protected]>
AuthorDate: Fri Feb 13 04:43:21 2009 -0800
Committer:  Dave Jones <[email protected]>
CommitDate: Mon Feb 16 13:56:42 2009 -0500

[PATCH 46/50] fixed library-matching regex

Forgot about /lib64

---
 dracut-functions |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
dracut-functions +1 -1
index e80d786..a0a1906 100755
@@ -68,7 +68,7 @@ inst_binary() {
     [[ -f $initdir$target ]] && return 0
     # I love bash!
     while read line; do
-	[[ $line =~ '([^ ]*/lib/[^ ]*\.so[^ ]*|not found)' ]] || continue
+	[[ $line =~ '([^ ]*/lib[^/]*/[^ ]*\.so[^ ]*|not found)' ]] || continue
 	FILE=${BASH_REMATCH[1]}
         [[ $FILE = 'not found' ]] && {
 	    echo "Missing a shared library required by $bin." >&2

--
To unsubscribe from this list: send the line "unsubscribe initramfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html