aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Style fix: Use curly bracesThomas Deutschmann2020-01-111-2/+2
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gen_bootloader.sh: Recognize set kernel/initramfs name for grub legacyThomas Deutschmann2019-10-131-4/+4
| | | | | Fixes 769a07fd ("Make initramfs and kernel filename customizable") Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gen_bootloader.sh: set_bootloader_grub_duplicate_default(): Fix code styleThomas Deutschmann2019-10-131-1/+2
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* Make initramfs and kernel filename customizableThomas Deutschmann2019-07-291-6/+6
| | | | | | | | | | | | | 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>
* genkernel: Reformat initramfs parameter outputThomas Deutschmann2019-07-141-0/+2
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gen_bootloader.sh: Reformat set_bootloader_grub2()Thomas Deutschmann2019-07-141-8/+11
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* Normalize "..." outputThomas Deutschmann2019-07-141-8/+8
| | | | | | | When "..." is used to indicate that genkernel will be doing something, use " ..." notation. Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* Replace backticksThomas Deutschmann2019-07-141-1/+6
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* set_bootloader_grub(): Move creation of grub.map into set_bootloader_grub() ↵Thomas Deutschmann2019-07-141-8/+3
| | | | | | | | | function Before this, set_bootloader_grub_read_device_map() wasn't even called. But no need for a separate function. Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* Update bootloader handlingThomas Deutschmann2019-03-231-1/+6
| | | | | | | | | | - Add --no-bootloader parameter - Treat empty BOOTLOADER like "no" value - Output information when bootloader update was skipped Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* Convert all remaining options to yes/no values and use isTrue for consistencyThomas Deutschmann2019-03-231-3/+3
| | | | | Closes: https://bugs.gentoo.org/532084 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* bootloader: be clear when a new grub1 config is made.Robin H. Johnson2017-01-021-0/+1
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* gen_bootloader: grub2-mkconfig is sometimes now grub-mkconfig, per bug #591200.Robin H. Johnson2016-08-131-2/+4
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* clean up extended echo usageMike Frysinger2016-06-221-2/+2
| | | | | Switch to printf where appropriate, and simplify other locations where the -e option was pointless.
* Prefer /boot/grub/grub.cfgRichard Yao2015-08-251-1/+1
| | | | | | | | | Gentoo migrated to /boot/grub/grub.cfg about 18 months ago. Preferring /boot/grub2/grub.cfg will cause us to update the wrong config file. Continue supporting the old location should users run old versions versions. Signed-off-by: Richard Yao <ryao@gentoo.org>
* Detect grub2-mkconfig failureRichard Yao2014-02-261-1/+1
| | | | Signed-off-by: Richard Yao <ryao@gentoo.org>
* Suppress grub2-mkconfig outputRichard Yao2013-06-091-1/+1
| | | | | | | Every other tool that we run has its output suppressed, so lets be consistent. Signed-off-by: Richard Yao <ryao@gentoo.org>
* Missing then keyword.Robin H. Johnson2012-10-191-0/+1
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* Update the documentation to reflect current statusPeter Hjalmarsson2012-10-151-5/+2
| | | | | | | | | | | | We only support creating initramfs nowdays, so RAM disk support is not needed. Since initramfs does not need root=/dev/ram0 (and we actually ignore it if it is set), we should not tell people to use it. We should also stop tell people to use real_root. Conflicts: genkernel Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* Make --bootloader=grub2 set debug instead of single in grub.cfgRichard Yao2012-04-241-0/+1
|
* Fix indentation in set_bootloader_grub2()Richard Yao2012-04-241-5/+5
|
* /etc/defaults/grub -> /etc/default/grubSebastian Pipping2012-04-091-1/+1
|
* grub-mkconfig -> grub2-mkconfigSebastian Pipping2012-04-091-2/+2
|
* Reduce code duplication in set_bootloader_grubSebastian Pipping2012-04-081-9/+13
|
* Support for Grub 2Mike Auty2012-04-081-0/+21
|
* trivial: cleanup code, drop whitespaces and some more cruftFabio Erculiani2011-09-131-2/+2
|
* Review and fix some -eq and -ne conditionalsSebastian Pipping2011-01-071-1/+1
| | | | This fixes "sh: bad number" with busybox 1.18.1 during activation of mdev.
* Adding Id header.Chris Gianelloni2009-07-251-0/+2
|
* Modify grep regex to account for additional suffixes on old kernel namesAndrew Gaffney2008-12-261-2/+2
|
* Actually setting permissions. It helps if one remembers to 'git add' before ↵Chris Gianelloni2008-12-161-0/+0
| | | | doing their commit.
* Add check for existing grub.conf entry for kernelAndrew Gaffney2008-12-151-0/+15
|
* Default to '0' if 'default' line not found at all in existing grub.confAndrew Gaffney2008-12-151-0/+4
|
* Adding code that duplicates default grub.conf entry to replace old awk ↵Andrew Gaffney2008-12-141-0/+48
| | | | script. Based on code written by Mike Auty <ikelos@gentoo.org>
* Initial commit for re-adding support for --bootloader=grubAndrew Gaffney2008-12-141-0/+84
|
* Remove unneeded files for broken grub codeagaffney2008-08-211-94/+0
|
* Remove a few more 2.4 kernel support remnantsagaffney2008-07-281-4/+1
|
* Removed a large chunk of 2.4 kernel support. This will still require some ↵Chris Gianelloni2008-07-281-2/+1
| | | | fairly extensive cleaning to completely remove, but I'd say that without a shadow of a doubt, genkernel will not function on 2.4 kernels.
* Removed all references to an initrd and renamed most initr{d,amfs} stuff to ↵Chris Gianelloni2008-07-281-1/+1
| | | | simply 'ramdisk' to simplify things for the future.
* Removed the use of GK_BIN variable, since it isn't necessary.Chris Gianelloni2007-09-171-1/+1
| | | | git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@539 67a159dc-881f-0410-a524-ba9dfbe2cb84
* Removing bootsplash support since it hasn't been in a kernel we've supported ↵Chris Gianelloni2007-09-171-3/+1
| | | | | | for years now, causes confusion amongst users, and really wasn't being used and caused issues with 2.6/initrd creation in some corner cases. git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@534 67a159dc-881f-0410-a524-ba9dfbe2cb84
* Performed some general cleanup on a few files and removed devfs/udev ↵Chris Gianelloni2007-09-171-24/+24
| | | | | | selection code, since we force devfs on 2.4 and mdev on 2.6 kernels. git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@532 67a159dc-881f-0410-a524-ba9dfbe2cb84
* Changed basename to dirname when creating the directory from grub.conf to ↵Chris Gianelloni2007-01-151-1/+1
| | | | | | solve bug #161716. git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@479 67a159dc-881f-0410-a524-ba9dfbe2cb84
* Added a case statement for the keymap selection to ensure we're always using ↵Chris Gianelloni2006-12-271-1/+1
| | | | | | the named keymaps. This should resolve bug #146714 if everything works correctly. This is 3.4.6, for real. git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@477 67a159dc-881f-0410-a524-ba9dfbe2cb84
* Commit patches #91453, #91481 from bug #139866.Tim Yamin2006-07-181-5/+5
| | | | git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@420 67a159dc-881f-0410-a524-ba9dfbe2cb84
* Commit patch for bug #139866 by Martin Parm.Tim Yamin2006-07-111-5/+5
| | | | git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@417 67a159dc-881f-0410-a524-ba9dfbe2cb84
* Fix #115263, #117392, add a fix to sanify LOCALVERSION if unresolved ↵Tim Yamin2006-01-031-1/+1
| | | | | | variables are embedded. git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@347 67a159dc-881f-0410-a524-ba9dfbe2cb84
* Create additional cleanup options. --postclear for final cleanup and 2 new ↵Eric Edgar2005-07-181-4/+4
| | | | | | genkernel.conf options. Also fixup TEMP dir creation and extraneous %%ARCH%% creation in the cache_dir git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@267 67a159dc-881f-0410-a524-ba9dfbe2cb84
* Fix #98944, add GRUB :root_device support and add a more versatile grub.conf ↵Tim Yamin2005-07-141-22/+33
| | | | | | updater. git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@261 67a159dc-881f-0410-a524-ba9dfbe2cb84
* Fix #97672, #98886, #98893, #98897; fix real_root=/dev/mdX: upgraded busybox ↵Tim Yamin2005-07-131-22/+16
| | | | | | to 1.00, porting in my read -t and mdstart patches. git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@256 67a159dc-881f-0410-a524-ba9dfbe2cb84
* Fix #93178, #98436, #98501Tim Yamin2005-07-101-23/+29
| | | | git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@242 67a159dc-881f-0410-a524-ba9dfbe2cb84