Link Here
|
56 |
done | |
56 |
done | |
57 |
sed -e 's,^/usr/lib/kernel/\([^/]\+\)/version\.h$,\1,g')" |
57 |
sed -e 's,^/usr/lib/kernel/\([^/]\+\)/version\.h$,\1,g')" |
58 |
fi |
58 |
fi |
59 |
(echo "$list1"; echo "$list2"; echo "$list3"; echo "$list4") | |
59 |
# temporary hackaround for glibc-kernheaders |
60 |
sort -u | |
60 |
local match_list1="$(echo "$list1"|sort -ur)" |
|
|
61 |
local match_list2="$(echo "$list2"; echo "$list3"; echo "$list4"|sort -u)" |
62 |
(echo "$match_list1"; echo "$match_list2") | |
61 |
grep -v '^$' |
63 |
grep -v '^$' |
62 |
} |
64 |
} |
63 |
|
65 |
|
Link Here
|
197 |
;; |
199 |
;; |
198 |
*) |
200 |
*) |
199 |
[ -n "${1##*/*}" ] && |
201 |
[ -n "${1##*/*}" ] && |
200 |
[ "$1" = default -o "$1" == libc-headers -o -z "${1##[2-9].[0-9]*}" ] || |
202 |
[ "$1" = default -o "$1" = libc-headers -o -z "${1##[2-9].[0-9]*}" ] || |
201 |
fatal "$1: invalid kernel version" |
203 |
fatal "$1: invalid kernel version" |
202 |
touch /etc/sysconfig/kernel/include_manual_mode |
204 |
touch /etc/sysconfig/kernel/include_manual_mode |
203 |
try_adjust_all "$1" |
205 |
try_adjust_all "$1" |