Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 184863 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]
debianutils-2.30-installkernel.patch
debianutils-2.30-installkernel.patch (text/plain), 754 bytes, created by
Sebastian Günther
on 2009-03-13 00:12:03 UTC
(
hide
)
Description:
debianutils-2.30-installkernel.patch
Filename:
MIME Type:
Creator:
Sebastian Günther
Created:
2009-03-13 00:12:03 UTC
Size:
754 bytes
patch
obsolete
>--- /sbin/installkernel 2009-03-13 00:59:02.000000000 +0100 >+++ /root/bin/installkernel 2009-03-13 01:02:46.000000000 +0100 >@@ -42,9 +42,12 @@ > # 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" >+ else >+ mv "$dir/$1" "$dir/$1.old" >+ fi > ln -sf "$1-$ver" "$dir/$1" > else > mv "$dir/$1" "$dir/$1.old"
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