Bugzilla – Attachment 70367 Details for
Bug 148461
kernel-xen und /sbin/update-bootloader
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
IDP Log In
|
Forgot Password
[patch]
This should add --xen as appropriate.
bootloader-xen.diff (text/plain), 1.48 KB, created by
Andreas Gruenbacher
on 2006-02-27 10:50:56 UTC
(
hide
)
Description:
This should add --xen as appropriate.
Filename:
MIME Type:
Creator:
Andreas Gruenbacher
Created:
2006-02-27 10:50:56 UTC
Size:
1.48 KB
patch
obsolete
>Index: rpm/post.sh >=================================================================== >RCS file: /home.stand/cvsroot/kernel-source-26/rpm/post.sh,v >retrieving revision 1.48 >diff -u -r1.48 post.sh >--- rpm/post.sh 16 Feb 2006 23:00:49 -0000 1.48 >+++ rpm/post.sh 27 Feb 2006 10:50:02 -0000 >@@ -68,14 +68,16 @@ > if [ -n "$1" ] && (( ($1*100 + $2) * 100 + $3 >= 20616)); then > update_bootloader --image /boot/$image.previous \ > --initrd /boot/initrd.previous \ >- --previous --add --force >+ --previous --add --force \ >+ $([[ "$1" =~ -xen ]] && echo --xen) > fi > fi > ;; > esac > update_bootloader --image /boot/$image \ > --initrd /boot/initrd \ >- --add --force >+ --add --force \ >+ $([[ @FLAVOR@ =~ -xen ]] && echo --xen) > > # Somewhen in the future: use the real image and initrd filenames instead > # of the symlinks, and add/remove by the real filenames. >Index: rpm/postun.sh >=================================================================== >RCS file: /home.stand/cvsroot/kernel-source-26/rpm/postun.sh,v >retrieving revision 1.20 >diff -u -r1.20 postun.sh >--- rpm/postun.sh 16 Feb 2006 17:49:45 -0000 1.20 >+++ rpm/postun.sh 27 Feb 2006 10:50:02 -0000 >@@ -44,9 +44,6 @@ > relink $this_initrd /boot/initrd > > # Notify the boot loader that a new kernel image is active. >- update_bootloader --image /boot/$image \ >- --initrd /boot/initrd \ >- --add --force > refresh_bootloader=1 > break > fi
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 148461
:
68110
| 70367