ALT Linux Bugzilla
– Attachment 3535 Details for
Bug 20069
Некорректно работает с ядрами, которые собраны с Serial:
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
Исправление
update-kernel.patch (text/plain), 1.27 KB, created by
Vitaly Lipatov
on 2009-05-16 14:04:04 MSD
(
hide
)
Description:
Исправление
Filename:
MIME Type:
Creator:
Vitaly Lipatov
Created:
2009-05-16 14:04:04 MSD
Size:
1.27 KB
patch
obsolete
>--- update-kernel.orig 2008-04-22 09:46:37 +0400 >+++ update-kernel 2009-05-16 13:39:33 +0400 >@@ -91,10 +91,12 @@ kmaxver="" > while read package_name > do > [ `rpmvercmp "$kmaxver" "$package_name"` -lt 0 ] && kmaxver="$package_name" ||: >-done < <(echo "$KERNEL_PKGS" | grep "$pgkgrep") >+done < <(echo "$KERNEL_PKGS" | grep "$pgkgrep" | sed -e "s/.*://g" | sed -e "s/.*#//g") >+ >+KERNELTOINSTALL=$(echo "$KERNEL_PKGS" | grep "$pgkgrep" | grep "$kmaxver") > > # ask user >-echo "Try to install new kernel $kmaxver and update its modules? [y]/n" >+echo "Try to install new kernel $KERNELTOINSTALL and update its modules? [y]/n" > [ "$force" = 1 ] && echo "yes" || { > read > case "$REPLY" in >@@ -113,10 +115,10 @@ rpm -q kernel-image-"$kernel_type" &>/de > # use sudo(1) if running as unprivileged user > [ "$UID" = "0" ] && SUDO= || SUDO=sudo > >-$SUDO apt-get install -y "$kmaxver" >+$SUDO apt-get install -y "$KERNELTOINSTALL" > > # newest kernel package name >-NEWESTKERNEL=`echo "$kmaxver" | sed -e "s/#/-/g"` >+NEWESTKERNEL=`echo "$KERNELTOINSTALL" | sed -e "s/#.*:/-/g" | sed -e "s/#/-/g"` > > # ÐÑÐ±Ð¾Ñ Ð¸ доÑÑÑановка модÑлей. ÐÑи Ñмене веÑÑии ÑдÑа ÑоÑÑав > # модÑлей Ð¼Ð¾Ð¶ÐµÑ Ð¸Ð·Ð¼ÐµÐ½Ð¸ÑÑÑÑ. РанÑÑе ÑÑо пÑиводило к завеÑÑениÑ
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 20069
: 3535