Tim Harder
71e512c9e4
Change OUTPUTDIR fallback to KERNEL_DIR
...
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
12 years ago
Robin H. Johnson
12e4beeaf7
Bug #432956 : Easy to include VirtIO support in kernel.
...
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
12 years ago
Łukasz Stelmach
79d7fa1948
Add --kernel-outputdir to save files outside the source tree.
...
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
12 years ago
Rick Farina
255c8e8498
Make e2fsprogs optional (and off by default)
12 years ago
Richard Yao
1883585cd9
Fix whitespace
13 years ago
Richard Yao
908a463e07
Support module options set in /etc/module.d, amend cmdline options patch
13 years ago
Robin H. Johnson
45e8dbfa0e
device-mapper "update". It was merged into LVM2-2.02.67 upstream in 2010. Bug #398467 is wrong for the device-mapper update.
13 years ago
Robin H. Johnson
94dc288487
Customizable initramfs compression based on Pentoo genkernel fork
...
This implements customizable initramfs compression, based on the Pentoo
genkernel fork (SVN revs r2142, r2145, by Jens Pranaitis
<jens@chaox.net>).
New configuration option COMPRESS_INITRD_TYPE to allow manual selection,
whereas the Pentoo fork provided auto-selection based on what was
available in the kernel configuration. Auto-selection is used by
default, and is available with the argument of 'best' to the new option.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
13 years ago
Richard Yao
fc98fa9d89
Implement ZFS Support
...
This provides ZFS support, to go with the sys-fs/zfs package.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> (cleanups)
13 years ago
Richard Yao
73520cb6b2
Implement --[no-]compress-initramfs option to complement --[no-]integrated-initramfs
...
When using an integrated initramfs (including in kernel during build),
it's better NOT to compress the initramfs, as the kernel build process
will then be re-compressing it. This can provide space savings on disk
as well as potential time & memory savings (one less decompress pass is
needed before the kernel can use the initramfs).
This functionality was previously available in the undocumented
COMPRESS_INITRD variable.
Code-by: Richard Yao <ryao@cs.stonybrook.edu>
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
(commit message rewritten).
13 years ago
Robin H. Johnson
b49f1f377d
Prior to commit a141d715
, CMD_NOINSTALL had no default set, but most of the usages were of the form "! isTrue ${CMD_NOINSTALL}", which on an unset value, came out as false. These were replaced by "isTrue ${CMD_INSTALL}", but my analysis of the needed default value was wrong, and was set to false instead of true.
...
Signed-off-by: Robin H. Johnson <robbat2@orbis-terrarum.net>
13 years ago
Robin H. Johnson
e602f05814
Fix some defaults otherwise you get an initramfs without any modules!
...
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
13 years ago
Robin H. Johnson
a141d71531
Improve option handling.
...
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>
13 years ago
Fabio Erculiani
1e50bd01d2
trivial: cleanup code, drop whitespaces and some more cruft
14 years ago
Sebastian Pipping
bf0cad6a30
Remove support for sys-fs/evms, as it was removed from Gentoo (bug #372423 )
14 years ago
Sebastian Pipping
2e16677d19
Fix regression from renaming DEBUGLEVEL/DEBUGFILE to LOGLEVEL/LOGFILE
14 years ago
Sebastian Pipping
50525acdfd
Make set_config_with_override accept "BOOL"/"STRING" not 1/2
14 years ago
Peter Hjalmarsson
7ae5e10474
Introducing MDADM_CONFIG
...
Make it possible to choose a custom mdadm.conf for your ramdisk.
If not set, no mdadm.conf will be copied, and ramdisk will auto-detect.
This also fixes a regression where genkernel always tried to copy
/etc/mdadm.conf to the ramdisk, failing if it was non-existant.
14 years ago
Sebastian Pipping
ba54476f01
Revert "Do not query generated files (like include/config/kernel.release) for kernel version, as they may be out of sync (bug #263927 )"
...
This reverts commit 48ca00ec29
.
Conflicts:
ChangeLog
14 years ago
Sebastian Pipping
48ca00ec29
Do not query generated files (like include/config/kernel.release) for kernel version, as they may be out of sync (bug #263927 )
14 years ago
Sebastian Pipping
afe2f15328
Fix leftover of problem with missing .config file (bug #271528 )
14 years ago
Matthias Dahl
daed0ccebb
use mdadm instead of bundled stripped down mdassemble (v2)
...
mdassemble can't handle newer metadata formats and fails for partitioned
arrays, among other things.
This...
- replaces the bundled mdassemble with proper support for mdadm
- fixes raid autodetection/assemble when no mdadm.conf is available
- fixes a compilation failure for newer mdadm versions
Tested w/ genkernel 3.4.10.907 and mdadm 3.1.3.
14 years ago
Sebastian Pipping
fee837bba6
Handle missing kernel Makefile better
14 years ago
dacook
1f71a13b5b
GPG bincache
...
Add handling for a cached GPG binary
14 years ago
craig
5019ff506f
Merge branch 'master' of git://git.wolf31o2.org/projs/genkernel
16 years ago
Chris Gianelloni
35258a703f
Adding Id header.
16 years ago
craig
cac66e0970
iSCSI patch for genkernel
16 years ago
Andrew Gaffney
1e147a3654
Apply patch from robbat2 to finish wiring up multipath support
16 years ago
Andrew Gaffney
bee96914eb
Add --busybox-config= commandline option
16 years ago
Chris Gianelloni
20f2b57e95
Actually setting permissions. It helps if one remembers to 'git add' before doing their commit.
16 years ago
Andrew Gaffney
8dcac4a20d
Initial commit for re-adding support for --bootloader=grub
16 years ago
Andrew Gaffney
462e35fe87
Add --real-root=<foo> parameter to specify a default for real_root= in the initramfs for gentoo bug #249783
16 years ago
Andrew Gaffney
d781413d5a
Initial support for --netboot option
...
integrate functionality from netboot udhcpc.scripts into default one
16 years ago
Andrew Gaffney
8de7311644
Added modified version of patch from gentoo bug #238707
16 years ago
Andrew Gaffney
d07862bb8e
Add --unionfs commandline option to enable building of unionfs-fuse
...
Add nounionfs boot option
16 years ago
agaffney
5ae8f8faea
Call arch_replace and cache_replace on fuse/unionfs-fuse vars
16 years ago
agaffney
6e47f147d8
Remove broken grub code
17 years ago
Chris Gianelloni
676dd5a061
Removed a large chunk of 2.4 kernel support. This will still require some 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.
17 years ago
Chris Gianelloni
d5b1e6a985
Removed all references to an initrd and renamed most initr{d,amfs} stuff to simply 'ramdisk' to simplify things for the future.
17 years ago
Chris Gianelloni
51c769f243
Updated the keymap-handling code so it will be installed and displayed 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
17 years ago
Andrew Gaffney
2595125846
Set CMD_KEYMAP to default to yes, so it's enabled unless specifically disabled
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@664 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
3128691111
Get rid of --initramfs option as it doesn't do anything anymore
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@658 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
d176b8c104
Get rid of the ENABLE_PEGASOS_HACKS hacks
...
Add INTEGRATED_INITRAMFS option to optionally insert the generated initramfs directly into the kernel image
Change default build order to build the kernel last to facilitate the INTEGRATED_INITRAMFS option
Add GENZIMAGE option and change various checks from ENABLE_PEGASOS_HACKS to GENZIMAGE
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@631 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
7fab7bb1f9
Add support for --firmware-files option to make robbat2 happy
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@613 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
6ea20790b7
Add support for --firmware and --firmware-dir options to include firmware in the initramfs
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@612 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Chris Gianelloni
58c13464ec
Removing DEVFS support from genkernel since we don't support 2.4 kernels 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
17 years ago
Chris Gianelloni
a479c34552
This is the long-awaited unionfs code cleanup. All of the unionfs code in genkernel has been removed.
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@592 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
74ebf6cd74
Fix two calls to set_config_with_override on CMD_KERNCACHE and some indentation weirdness
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@591 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
050a1da1d2
Add --all-initrd-modules option to copy all kernel modules into initrd/ramfs. This is useful for netboot images
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@587 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
5ea7a1432f
apply patch from John R. Graham <john_r_graham@mindspring.com> for bug 201482
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@571 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago