ALT Linux Bugzilla
– Attachment 1362 Details for
Bug 8918
adjust_kernel_headers in hasher
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
Патч, позволяющий вывести l-l-h первыми в list_kernels()
adjust_kernel_headers.diff (text/plain), 873 bytes, created by
Konstantin A Lepikhov (L.A. Kostis)
on 2006-01-29 18:22:13 MSK
(
hide
)
Description:
Патч, позволяющий вывести l-l-h первыми в list_kernels()
Filename:
MIME Type:
Creator:
Konstantin A Lepikhov (L.A. Kostis)
Created:
2006-01-29 18:22:13 MSK
Size:
873 bytes
patch
obsolete
>--- adjust_kernel_headers.old 2005-12-02 23:33:12 +0300 >+++ adjust_kernel_headers 2006-01-29 18:12:49 +0300 >@@ -56,8 +56,10 @@ list_kernels() > done | > sed -e 's,^/usr/lib/kernel/\([^/]\+\)/version\.h$,\1,g')" > fi >- (echo "$list1"; echo "$list2"; echo "$list3"; echo "$list4") | >- sort -u | >+ # temporary hackaround for glibc-kernheaders >+ local match_list1="$(echo "$list1"|sort -ur)" >+ local match_list2="$(echo "$list2"; echo "$list3"; echo "$list4"|sort -u)" >+ (echo "$match_list1"; echo "$match_list2") | > grep -v '^$' > } > >@@ -197,7 +199,7 @@ case "$1" in > ;; > *) > [ -n "${1##*/*}" ] && >- [ "$1" = default -o "$1" == libc-headers -o -z "${1##[2-9].[0-9]*}" ] || >+ [ "$1" = default -o "$1" = libc-headers -o -z "${1##[2-9].[0-9]*}" ] || > fatal "$1: invalid kernel version" > touch /etc/sysconfig/kernel/include_manual_mode > try_adjust_all "$1"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 8918
:
1362
|
1363