Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 324705 | Differences between
and this patch

Collapse All | Expand All

(-)a/dracut-functions (-1 / +1 lines)
Lines 248-254 inst_binary() { Link Here
248
    local LDSO NAME IO FILE ADDR I1 n f TLIBDIR
248
    local LDSO NAME IO FILE ADDR I1 n f TLIBDIR
249
    [[ -e $initdir$target ]] && return 0
249
    [[ -e $initdir$target ]] && return 0
250
    # I love bash!
250
    # I love bash!
251
    ldd $bin 2>/dev/null | while read line; do
251
    LC_ALL=C ldd $bin 2>/dev/null | while read line; do
252
	[[ $line = 'not a dynamic executable' ]] && return 1
252
	[[ $line = 'not a dynamic executable' ]] && return 1
253
	if [[ $line =~ not\ found ]]; then
253
	if [[ $line =~ not\ found ]]; then
254
	    derror "Missing a shared library required by $bin."
254
	    derror "Missing a shared library required by $bin."

Return to bug 324705