aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* "--debug-cleanup" parameter renamed to "--cleanup"Thomas Deutschmann2019-07-141-10/+9
| | | | | | --cleanup or --no-cleanup should be clearer. Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gen_funcs.sh: Add debug_breakpoint() functionThomas Deutschmann2019-07-141-0/+28
| | | | | | | Internal helper function which can be used during development to act like a breakpoint. Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* genkernel: Move cleanup() to gen_funcs.shThomas Deutschmann2019-07-141-0/+27
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* genkernel: Move trap_cleanup() to gen_funcs.shThomas Deutschmann2019-07-141-0/+6
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* Normalize "..." outputThomas Deutschmann2019-07-141-2/+2
| | | | | | | 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-4/+8
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gen_funcs.sh: Strip 'function' keyword to match code styleThomas Deutschmann2019-07-141-2/+2
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* Fix code styleThomas Deutschmann2019-07-141-4/+6
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* Add new function expand_file() to allow file path expansionThomas Deutschmann2019-03-291-0/+19
| | | | | | | Relies on Python os.path.expanduser and realpath from coreutils. Bug: https://bugs.gentoo.org/412321 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* kconfig_set_opt(): add possibility to add new kernel optionsThomas Deutschmann2019-03-261-3/+20
| | | | | Bug: https://bugs.gentoo.org/669412 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* Fix iSCSI supportThomas Deutschmann2019-03-251-0/+1
| | | | | | Bump to open-scsi-2.0.875 & open-isns-0.99. Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* check_distfiles(): Add missing distfilesThomas Deutschmann2019-03-231-1/+11
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* Add "--[no-]clear-cachedir" parameterThomas Deutschmann2019-03-231-1/+1
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gen_funcs.sh: reformat codeThomas Deutschmann2019-03-231-71/+66
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* Convert all remaining options to yes/no values and use isTrue for consistencyThomas Deutschmann2019-03-231-8/+8
| | | | | Closes: https://bugs.gentoo.org/532084 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* Unify outputThomas Deutschmann2019-03-211-0/+17
| | | | | | Use new "getIndent" function to unify output. Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gen_funcs: make per-version cachedirRobin H. Johnson2017-09-021-1/+1
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* gen_funcs: less cleanup if debug.Robin H. Johnson2017-09-021-1/+1
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* bincache: use genkernel version as cache key, to ensure rebuilding initramfs ↵Robin H. Johnson2017-09-021-3/+3
| | | | | | parts on new GK versions. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* Fix unbootable kernels due to overzealous strip.Robin H. Johnson2017-07-141-6/+0
| | | | | | | | | | Manually stripping the kernel is obsolete, use kernel targets for it, and only pass in argument for Kernel to strip modules itself. Bug introduced in c2525c65b9f3d5849963bab6beb40817d7720218. Fixes: https://bugs.gentoo.org/show_bug.cgi?id=622716 Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* Strip kernel & modulesRobert Trace2017-01-021-0/+6
| | | | | | Rebased and tweaked to apply since the original patch was ~7 years old. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* gen_funcs: clean whitespace in kconfig_get_opt.Robin H. Johnson2017-01-021-1/+1
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* funcs: kconfig_*opt functions can be used for busybox as well.Robin H. Johnson2017-01-021-0/+16
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* initial early-microcode supportRick Farina (Zero_Chaos)2016-10-271-1/+1
| | | | | | | automatically detect if it is possible to prepend cpu ucode to the initramfs, and then, you know, do it. Left a few blanks because it's super later and I'm tired of working on this. I can continue if no one beats me to it.
* clean up extended echo usageMike Frysinger2016-06-221-14/+11
| | | | | Switch to printf where appropriate, and simplify other locations where the -e option was pointless.
* fix rootfs detection per bug #552052Robin H. Johnson2016-02-291-1/+3
| | | | | | | | | | | | ZFS and btrfs tools if not explictly configured (either way), default to detecting the fstype of the rootfs. The old rootfs detection method was NOT reliable in all cases; so replace it with a different way. Future improvements should check for rootfs AND the local existence of the required binaries (and bail out early if the the rootrfs was detected but the binaries are not present). Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* Create rootfs_type_is() helper functionRichard Yao2014-03-151-0/+11
| | | | | | | | This is meant to facilite automatic detection of root filesystems that require additional support. The main one being ZFS, but btrfs will also qualify once support has been added. Signed-off-by: Richard Yao <ryao@gentoo.org>
* Add --kernel-outputdir to save files outside the source tree.Łukasz Stelmach2012-10-131-1/+2
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* Fix an e2fsprogs compilation leftover (bug #417095)Sebastian Pipping2012-05-281-1/+1
|
* Make errors stand out moreSebastian Pipping2012-03-221-17/+18
|
* device-mapper "update". It was merged into LVM2-2.02.67 upstream in 2010. ↵Robin H. Johnson2012-02-111-1/+1
| | | | Bug #398467 is wrong for the device-mapper update.
* Improve option handling.Robin H. Johnson2012-01-041-1/+1
| | | | | | | | | | Provide real boolean commandline options for options that were previously only available as booleans in the config, so that they can be enable in configuration and overridden to disable on the commandline. Remove negation on options: NOINSTALL, NORAMDISKMODULES, NO_KERNEL_SOURCES. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* trivial: cleanup code, drop whitespaces and some more cruftFabio Erculiani2011-09-131-5/+5
|
* Make set_config_with_override accept "BOOL"/"STRING" not 1/2Sebastian Pipping2011-06-041-2/+2
|
* Remove unused function kv_replace()Sebastian Pipping2011-01-291-4/+0
|
* GPG sourcedacook2011-01-111-1/+1
| | | | Add source tarball handling for GPG support.
* Clear blkid-*.bz2 from cache, too (regression)Sebastian Pipping2011-01-111-1/+1
|
* Fix warning "rm: cannot remove `/var/cache/genkernel/src': Is a directory" ↵Sebastian Pipping2011-01-111-5/+3
| | | | (bug #347213)
* Fix mis-indentationSebastian Pipping2011-01-091-7/+7
|
* Review and fix some -eq and -ne conditionalsSebastian Pipping2011-01-071-11/+11
| | | | This fixes "sh: bad number" with busybox 1.18.1 during activation of mdev.
* Merge branch 'master' of git://git.wolf31o2.org/projs/genkernelcraig2009-08-081-17/+1
|\
| * Adding Id header.Chris Gianelloni2009-07-251-0/+1
| |
| * Remove code to check for host kernel LOOP support for gentoo bug #275757Andrew Gaffney2009-07-041-17/+0
| |
* | iSCSI patch for genkernelcraig2009-06-281-1/+1
|/
* more multipath basicsJoshua Jackson2009-02-241-1/+1
|
* Add support for multiple possible kernel binary paths for gentoo bug #255085Andrew Gaffney2009-02-191-0/+21
|
* Move distfile cache to /var/cache/genkernel/src and add check to make sure ↵Andrew Gaffney2008-05-091-0/+9
| | | | | | all distfiles are present git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@674 67a159dc-881f-0410-a524-ba9dfbe2cb84
* Updated the keymap-handling code so it will be installed and displayed ↵Chris Gianelloni2008-04-241-0/+4
| | | | | | without using --do-auto-keymap with a patch from Florian Schilhabel <fernsehleo@gmx.net> for bug #215822. Also, added a keymap= command line option to allow setting keymap from the bootloader, also from Florian. git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@669 67a159dc-881f-0410-a524-ba9dfbe2cb84
* Removing DEVFS support from genkernel since we don't support 2.4 kernels ↵Chris Gianelloni2008-02-141-2/+2
| | | | | | anymore. This is 3.4.10_pre2. git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@600 67a159dc-881f-0410-a524-ba9dfbe2cb84
* Added a small patch from John R. Graham <john_r_graham@mindspring.com> to ↵Chris Gianelloni2007-11-241-1/+1
| | | | | | fix arguments with spaces for bug #200161. git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@565 67a159dc-881f-0410-a524-ba9dfbe2cb84