Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 120554 Details for
Bug 180161
genkernel-3.4.8 enhanced symlink handling flawed: my bad!
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch addresses --symlink bug.
genkernel-symlink.patch (text/plain), 1.94 KB, created by
John R. Graham
on 2007-05-28 23:20:21 UTC
(
hide
)
Description:
Patch addresses --symlink bug.
Filename:
MIME Type:
Creator:
John R. Graham
Created:
2007-05-28 23:20:21 UTC
Size:
1.94 KB
patch
obsolete
>--- old/gen_funcs.sh 2007-05-28 17:39:51.000000000 -0400 >+++ new/gen_funcs.sh 2007-05-28 17:22:41.000000000 -0400 >@@ -373,22 +373,24 @@ > fi > > # We only erase the old image when it is the exact same version as the >- # current image. Different version old images are left behind. This is >- # consistent with how "make install" of the manual kernel build works. >- if [ "${currDestImage}.old" == "${prevDestImage}" ] >+ # current and new images. Different version old images are left behind. >+ # This is consistent with how "make install" of the manual kernel build >+ # works. >+ if [ "${currDestImage}" == "${fullDestName}" -a \ >+ "${prevDestImage}" == "${currDestImage}.old" ] > then > # >- # Case for current / old of the same base version. >+ # Case for new, currrent, and old of the same base version. > # > print_info 5 " Same base version. May have to delete old image to make room." >- if [ "${prevDestImageExists}" -eq '1' ] >- then >- print_info 5 " Deleting old identical version ${symlinkName}." >- rm -f "${BOOTDIR}/${prevDestImage}" >- fi > >- if [ "${currDestImageExists}" -eq '1' ] >+ if [ "${currDestImageExists}" -eq '1' ] > then >+ if [ "${prevDestImageExists}" -eq '1' ] >+ then >+ print_info 5 " Deleting old identical version ${symlinkName}." >+ rm -f "${BOOTDIR}/${prevDestImage}" >+ fi > print_info 5 " Moving ${BOOTDIR}/${currDestImage}" > print_info 5 " to ${BOOTDIR}/${currDestImage}.old" > mv "${BOOTDIR}/${currDestImage}" "${BOOTDIR}/${currDestImage}.old" || >@@ -398,12 +400,12 @@ > # > # Case for current / old not of the same base version. > # >- print_info 5 " Different base version. Do not delete old iamges." >+ print_info 5 " Different base version. Do not delete old images." > if [ "${currDestImageExists}" -eq 1 ] > then > prevDestImage="${currDestImage}" >- currDestImage="${fullDestName}" > fi >+ currDestImage="${fullDestName}" > fi > > print_info 5 " Copying ${symlinkName}: ${newSrceImage}"
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 180161
: 120554 |
120556
|
125824