Mageia Bugzilla – Attachment 8870 Details for
Bug 20133
urpmi upgrade 5 > 6 loses grub2 background
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
Current scriptlet in my test build used for upgrade
file_20133.txt (text/plain), 994 bytes, created by
Barry Jackson
on 2017-01-17 22:10:57 CET
(
hide
)
Description:
Current scriptlet in my test build used for upgrade
Filename:
MIME Type:
Creator:
Barry Jackson
Created:
2017-01-17 22:10:57 CET
Size:
994 bytes
patch
obsolete
>[root@localhost fonts]# rpm -q --scripts grub2-common >posttrans scriptlet (using /bin/sh): ># On update re-install grub2 to where it was installed by drakboot if possible, ># otherwise next boot may fail due to mismatched boot code. > if [ -f /boot/grub2/updtrans ] && [ -f /boot/grub2/install.sh -a -x /usr/sbin/detectloader ] && [ "$DURING_INSTALL" != "1" ] ; then > LOADER=$(/usr/sbin/detectloader) > [ "$LOADER" = "GRUB2" ] && /boot/grub2/install.sh ||: > rm -f /boot/grub2/updtrans > fi ># Run install.sh if unifont.pf2 is missing (unifont.pf2 is installed by grub2-install which is run by install.sh) > if [ -f /boot/grub2/install.sh -a -x /usr/sbin/detectloader ] && [ "$DURING_INSTALL" != "1" ]; then > LOADER=$(/usr/sbin/detectloader) > [ "$LOADER" = "GRUB2" ] && [ ! -f /boot/grub2/fonts/unicode.pf2 ] && /boot/grub2/install.sh ||: > fi > ># Don't let rpmdrake ask users to shoot themselves in feet! Mga#17263 > rm -f /etc/default/grub.rpm* >[root@localhost fonts]#
[root@localhost fonts]# rpm -q --scripts grub2-common posttrans scriptlet (using /bin/sh): # On update re-install grub2 to where it was installed by drakboot if possible, # otherwise next boot may fail due to mismatched boot code. if [ -f /boot/grub2/updtrans ] && [ -f /boot/grub2/install.sh -a -x /usr/sbin/detectloader ] && [ "$DURING_INSTALL" != "1" ] ; then LOADER=$(/usr/sbin/detectloader) [ "$LOADER" = "GRUB2" ] && /boot/grub2/install.sh ||: rm -f /boot/grub2/updtrans fi # Run install.sh if unifont.pf2 is missing (unifont.pf2 is installed by grub2-install which is run by install.sh) if [ -f /boot/grub2/install.sh -a -x /usr/sbin/detectloader ] && [ "$DURING_INSTALL" != "1" ]; then LOADER=$(/usr/sbin/detectloader) [ "$LOADER" = "GRUB2" ] && [ ! -f /boot/grub2/fonts/unicode.pf2 ] && /boot/grub2/install.sh ||: fi # Don't let rpmdrake ask users to shoot themselves in feet! Mga#17263 rm -f /etc/default/grub.rpm* [root@localhost fonts]#
View Attachment As Raw
Actions:
View
Attachments on
bug 20133
: 8870