On Sun, Jan 29, 2012 at 05:13, Kevin Kofler <kevin.kofler(a)chello.at> wrote:
Ćukasz Redynk wrote:
> I'm using up-to-date Fedora 16 x86_64 KDE spin (from fresh install, not
> upgrade) and recently I've discover, that 'boot to other os' option is
> missing. I've got proper configured 'grub2' in 'System Settings ->
Login
> Screen', also I've added 'GDUB_DEFAULT=saved' to /etc/default/grub,
but
> there's no 'arrow' near 'reboot button'. Anybody tried to solve
that
> issue?
http://ksmanis.wordpress.com/2012/01/29/grub2burg-integration-in-kde/
It looks like the upstream code is hardcoding paths which are wrong for
Fedora, it can be worked around with symlinks, but we should probably patch
the code.
Even better would be if upstream could add it into the cmake
configuration. E.g (untested):
find_file(
GRUB2_BURG_CONFIGURATION_FILE
NAMES grub2.cfg burg.cfg grub.cfg
PATHS "/boot/grub2" "/boot/burg" "/boot/grub"
"/etc"
DOC "Path to grub2 or burg configuration file"
NO_DEFAULT_PATH
)
set_property(
SOURCE ${grub_relatedsources}
APPEND
PROPERTY COMPILE_DEFINITIONS
"GRUB2_BURG_CONFIGURATION_FILE=${GRUB2_BURG_CONFIGURATION_FILE}"
)
I don't know why this kind of thing isn't done more often. Short,
simple, easy to set from the command line if needed.
If this looks vaguely sane/wanted i can file a bug upstream suggesting this.
--
There are 10 kinds of people in the world: Those who understand binary
and those who don't...