Missing next boot option

Kevin Kofler kevin.kofler at chello.at
Mon Jan 30 05:24:39 UTC 2012


John5342 wrote:
> 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
> )

Ugh, find_file is a very bad way to handle this! We normally build packages 
in a chroot (and I guess several other distros do the same). There is not 
necessarily any bootloader installed at all in the chroot.

This needs to be a CMake variable settable from the command line (i.e. from 
our specfile), with find_file only as a fallback.

        Kevin Kofler



More information about the kde mailing list