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

Collapse All | Expand All

(-)dracut-044.orig/modules.d/90kernel-modules/module-setup.sh (-3 / +3 lines)
Lines 10-18 Link Here
10
            function bmf1() {
10
            function bmf1() {
11
                local _f
11
                local _f
12
                while read _f || [ -n "$_f" ]; do case "$_f" in
12
                while read _f || [ -n "$_f" ]; do case "$_f" in
13
                    *.ko)    [[ $(<         $_f) =~ $_blockfuncs ]] && echo "$_f" ;;
13
                    *.ko)    [[ $(<         $_f tr -d \\0) =~ $_blockfuncs ]] && echo "$_f" ;;
14
                    *.ko.gz) [[ $(gzip -dc <$_f) =~ $_blockfuncs ]] && echo "$_f" ;;
14
                    *.ko.gz) [[ $(gzip -dc <$_f | tr -d \\0) =~ $_blockfuncs ]] && echo "$_f" ;;
15
                    *.ko.xz) [[ $(xz -dc   <$_f) =~ $_blockfuncs ]] && echo "$_f" ;;
15
                    *.ko.xz) [[ $(xz -dc   <$_f | tr -d \\0) =~ $_blockfuncs ]] && echo "$_f" ;;
16
                    esac
16
                    esac
17
                done
17
                done
18
                return 0
18
                return 0
(-)dracut-044.orig/modules.d/90multipath/module-setup.sh (-3 / +3 lines)
Lines 58-66 Link Here
58
            local _f
58
            local _f
59
            while read _f || [ -n "$_f" ]; do
59
            while read _f || [ -n "$_f" ]; do
60
                case "$_f" in
60
                case "$_f" in
61
                    *.ko)    [[ $(<         $_f) =~ $_funcs ]] && echo "$_f" ;;
61
                    *.ko)    [[ $(<         $_f tr -d \\0) =~ $_funcs ]] && echo "$_f" ;;
62
                    *.ko.gz) [[ $(gzip -dc <$_f) =~ $_funcs ]] && echo "$_f" ;;
62
                    *.ko.gz) [[ $(gzip -dc <$_f | tr -d \\0) =~ $_funcs ]] && echo "$_f" ;;
63
                    *.ko.xz) [[ $(xz -dc   <$_f) =~ $_funcs ]] && echo "$_f" ;;
63
                    *.ko.xz) [[ $(xz -dc   <$_f | tr -d \\0) =~ $_funcs ]] && echo "$_f" ;;
64
                esac
64
                esac
65
            done
65
            done
66
            return 0
66
            return 0
(-)dracut-044.orig/modules.d/95iscsi/module-setup.sh (-3 / +3 lines)
Lines 168-176 Link Here
168
            local _f
168
            local _f
169
            while read _f || [ -n "$_f" ]; do
169
            while read _f || [ -n "$_f" ]; do
170
                case "$_f" in
170
                case "$_f" in
171
                    *.ko)    [[ $(<         $_f) =~ $_funcs ]] && echo "$_f" ;;
171
                    *.ko)    [[ $(<         $_f tr -d \\0) =~ $_funcs ]] && echo "$_f" ;;
172
                    *.ko.gz) [[ $(gzip -dc <$_f) =~ $_funcs ]] && echo "$_f" ;;
172
                    *.ko.gz) [[ $(gzip -dc <$_f | tr -d \\0) =~ $_funcs ]] && echo "$_f" ;;
173
                    *.ko.xz) [[ $(xz -dc   <$_f) =~ $_funcs ]] && echo "$_f" ;;
173
                    *.ko.xz) [[ $(xz -dc   <$_f | tr -d \\0) =~ $_funcs ]] && echo "$_f" ;;
174
                esac
174
                esac
175
            done
175
            done
176
            return 0
176
            return 0
(-)dracut-044.orig/modules.d/90kernel-network-modules/module-setup.sh (-3 / +3 lines)
Lines 26-34 Link Here
26
            while read _fname; do
26
            while read _fname; do
27
                [[ $_fname =~ $_unwanted_drivers ]] && continue
27
                [[ $_fname =~ $_unwanted_drivers ]] && continue
28
                case "$_fname" in
28
                case "$_fname" in
29
                    *.ko)    _fcont="$(<        $_fname)" ;;
29
                    *.ko)    _fcont="$(<        $_fname tr -d \\0)" ;;
30
                    *.ko.gz) _fcont="$(gzip -dc $_fname)" ;;
30
                    *.ko.gz) _fcont="$(gzip -dc $_fname tr -d \\0)" ;;
31
                    *.ko.xz) _fcont="$(xz -dc   $_fname)" ;;
31
                    *.ko.xz) _fcont="$(xz -dc   $_fname tr -d \\0)" ;;
32
                esac
32
                esac
33
                [[   $_fcont =~ $_net_drivers
33
                [[   $_fcont =~ $_net_drivers
34
                && ! $_fcont =~ iw_handler_get_spy ]] \
34
                && ! $_fcont =~ iw_handler_get_spy ]] \

Return to bug 594834