Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 567266 - sys-kernel/genkernel-3.4.52.2: manpage ignores grub2
Summary: sys-kernel/genkernel-3.4.52.2: manpage ignores grub2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-01 16:31 UTC by Patrick Lauer
Modified: 2019-07-15 10:36 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch for manpage and genkernel.conf default (gk-manpage-grub.patch,900 bytes, patch)
2017-09-07 20:10 UTC, Ben Kohler
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Lauer gentoo-dev 2015-12-01 16:31:28 UTC
Manpage says:
       --bootloader=grub
           Add new kernel to GRUB configuration.

/usr/share/genkernel/gen_bootloader.sh says:

set_bootloader() {
        case "${BOOTLOADER}" in
                grub)
                        set_bootloader_grub
                        ;;
                grub2)
                        set_bootloader_grub2
                        ;;

So just from reading manpage one would never guess that grub2 is supported.
Please fix.
Comment 1 Ben Kohler gentoo-dev 2017-09-07 20:10:57 UTC
Created attachment 493094 [details, diff]
patch for manpage and genkernel.conf default

How's this look? Critiques for man page wording are welcome.
Comment 2 Thomas Deutschmann (RETIRED) gentoo-dev 2019-03-26 08:46:53 UTC
I addressed this in https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=98eb64bd3194ad77b093b68612d345f62bee30e5 and https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=8de84b46dbd7c012c5f3c69b7b8b22e692b89c76

Only question left is: Should we default to "grub2"?