Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 160100 Details for
Bug 231472
>=sys-apps/debianutils-2.29 breaks installkernel for non-"modern" systems
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
debian-utils-2.29-installkernel.patch
debian-utils-2.29-installkernel.patch (text/plain), 1.62 KB, created by
Jeroen Roovers (RETIRED)
on 2008-07-11 00:59:49 UTC
(
hide
)
Description:
debian-utils-2.29-installkernel.patch
Filename:
MIME Type:
Creator:
Jeroen Roovers (RETIRED)
Created:
2008-07-11 00:59:49 UTC
Size:
1.62 KB
patch
obsolete
>--- installkernel 2008-07-11 01:48:18.000000000 +0200 >+++ installkernel-symlink 2008-07-11 02:20:47.000000000 +0200 >@@ -42,9 +42,10 @@ > # The presence of "$dir/$1" is unusual in modern intallations, and > # the results are mostly unused. So only recreate them if they > # already existed. >- if test -L "$dir/$1" && >- [ "$(readlink -f ${dir}/${1})" = "${dir}/${1}-${ver}" ]; then >- ln -sf "$1-$ver.old" "$dir/$1.old" >+ if test -L "$dir/$1"; then >+ if [ "$(readlink -f ${dir}/${1})" = "${dir}/${1}-${ver}" ]; then >+ ln -sf "$1-$ver.old" "$dir/$1.old" >+ fi > ln -sf "$1-$ver" "$dir/$1" > else > mv "$dir/$1" "$dir/$1.old" >--- installkernel 2008-07-11 01:48:18.000000000 +0200 >+++ installkernel-mkboot 2008-07-11 02:57:13.000000000 +0200 >@@ -66,13 +66,12 @@ > updatever config "$config" > fi > >-## This is very far from existing practice in modern Debian installations >-######################################################################## >-# if [ "$(basename $img)" = "vmlinux" ] && [ "$(id -u)" = "0" ] ; then # >-# mkboot -i ${dir}/vmlinux-${ver} # >-# else # >-# mkboot -i ${dir}/vmlinuz-${ver} # >-# fi # >-######################################################################## >+if test -L "$dir/vmlinu[xz]" && \ >+ [ "$(basename $img)" = "vmlinux" ] \ >+ && [ "$(id -u)" = "0" ] ; then >+ mkboot -i ${dir}/vmlinux-${ver} >+else >+ mkboot -i ${dir}/vmlinuz-${ver} >+fi > > exit 0
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 231472
:
160097
|
160100
|
160102
|
184863