Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 395095

Summary: genkernel add support for custom location of boot config file
Product: Gentoo Hosted Projects Reporter: Vladimir Berezhnoy <non7top>
Component: genkernelAssignee: Gentoo Genkernel Maintainers <genkernel>
Status: RESOLVED WONTFIX    
Severity: enhancement    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Vladimir Berezhnoy 2011-12-17 20:25:37 UTC
Please make it possible to specify a location of custom menu.lst file

Reproducible: Always
Comment 1 Larry the Git Cow gentoo-dev 2019-07-29 20:10:17 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=769a07fd3e947ffb216ea94887d752a27ea212d9

commit 769a07fd3e947ffb216ea94887d752a27ea212d9
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2019-07-28 14:33:25 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2019-07-29 20:00:24 +0000

    Make initramfs and kernel filename customizable
    
    New options like --initramfs-filename or --kernel-filename will
    allow user to customize filenames used when installing initramfs
    or kernel into $BOOTDIR. Therefore --kernelname (KNAME) option
    was removed.
    
    Filename can contain placeholders like '%%ARCH%%' which will get
    replaced at runtime. Man page contains more information.
    
    Bug: https://bugs.gentoo.org/395095
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 defaults/config.sh   |   7 +++
 doc/genkernel.8.txt  |  90 +++++++++++++++++++++++----
 gen_bootloader.sh    |  12 ++--
 gen_cmdline.sh       |  40 ++++++++++--
 gen_compile.sh       |  26 ++++----
 gen_configkernel.sh  |   2 +-
 gen_determineargs.sh | 169 ++++++++++++++++++++++++++++++++++++++++++++++++++-
 gen_funcs.sh         |   7 +++
 gen_initramfs.sh     |  10 +--
 gen_package.sh       |  98 +++++++++++++++--------------
 genkernel            |  33 +++++-----
 genkernel.conf       |  22 +++++--
 12 files changed, 407 insertions(+), 109 deletions(-)
Comment 2 Thomas Deutschmann (RETIRED) gentoo-dev 2019-07-29 20:13:41 UTC
Wrong bug associated, forget comment #1
Comment 3 Thomas Deutschmann (RETIRED) gentoo-dev 2019-12-09 13:48:39 UTC
menu.lst is from grub legacy which is gone in Gentoo. We will keep grub support working as long possible but please migrate to grub2.