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
Fabio Erculiani
7fef86581a
dmraid requires dmsetup to assign UUID to discovered RAID volumes, close bug #382555
14 years ago
Sebastian Pipping
691d7aad4d
No longer copy /lib/libsysfs*so* for multipath-tools (bug #300841 , bug #377709 )
14 years ago
Sebastian Pipping
bf0cad6a30
Remove support for sys-fs/evms, as it was removed from Gentoo (bug #372423 )
14 years ago
Peter Hjalmarsson
1cf3de853a
Remove "--slowusb" as it is enabled by default. Also document "noslowusb".
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
81e41d541d
Put blkid of e2fsprogs into /sbin, not /bin (bug #352746 )
14 years ago
Sebastian Pipping
b1b6157254
mdadm: Fix copying of mdadm/mdmon to the initramfs (bug #352496 )
14 years ago
Sebastian Pipping
30f88577f3
mdadm: Implement support for mdmon to static binary
...
Without this patch a static /sbin/mdadm binary results in an initramfs without mdmon
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
3c3765558b
Add more detail to some LVM log messages
14 years ago
dacook
1d706752f1
GPG initramfs append
...
Add function/handling to actually add the GPG binary to the initramfs
14 years ago
Sebastian Pipping
fcdece1b0e
Check return codes of cpio (lessen from bug #246370 )
14 years ago
Sebastian Pipping
398daeb3b3
Catch errors from append_* (lesson from bug #246370 )
14 years ago
Sebastian Pipping
0e37a5fba1
Allow configuring the list of busybox applets (bug #326593 )
14 years ago
Sebastian Pipping
532dd7a387
Review and fix some -eq and -ne conditionals
...
This fixes "sh: bad number" with busybox 1.18.1 during activation of mdev.
14 years ago
Andrew Gaffney
8dcecef058
use a symlink instead of a hardlink for busybox utils (for Gentoo bug #246370 )
15 years ago
Andrew Gaffney
8b8cbb1978
Make sure to change back to existant directory before removing the current directory for Gentoo bug #291794
15 years ago
Robin H. Johnson
b05877d052
/etc/scsi_id.config does not exist by default in newer udev, but is still respected by utils if created, so do not error.
15 years ago
craig
97b4dc26e2
Improve naming of bootflags, added support for: port, target portal, username, password, username_in, password_in, debug
15 years ago
craig
18d9c84402
Merge branch 'master' of git://git.wolf31o2.org/projs/genkernel
16 years ago
tsunam
98831e77ba
fixing the libaio search as its a singular element not part of a multipart search
16 years ago
tsunam
494f9c1d7b
Should have all the proper libraries now for multipath for Gentoo bug #284592
16 years ago
tsunam
5539d25534
Updating some multipath code from Gentoo bug #284589
16 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
Andrew Gaffney
229d8ef4f1
Apply patch for Gentoo bug #276753 for new lvm.static binary
16 years ago
craig
cac66e0970
iSCSI patch for genkernel
16 years ago
Andrew Gaffney
109770b762
Clean up append_multipath() code to copy files in a loop and report file that failed to copy
16 years ago
Andrew Gaffney
81b4ff2516
Apply patch from robbat2 to fix whitespace breakage in multipath code
16 years ago
Andrew Gaffney
f446ceb0e9
Modify append_data to die on 0 arguments and check arg 2 with isTrue(). Based on a patch from robbat2
16 years ago
Joshua Jackson
6bcbbb1b45
Die messages for multipath added
16 years ago
Joshua Jackson
08b4c4a2fc
adding multipath to append_data
16 years ago
Joshua Jackson
4b6c236ccc
initram based related multipath stuff added
...
believe this should be all that is needed
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
575c898ef7
Use : as a regex separator instead of / since REAL_ROOT will have / in it
16 years ago
Andrew Gaffney
001c5d1bee
Create /sbin directory in append_luks for bug #250330
16 years ago
Andrew Gaffney
a0e576e3a7
missing }
16 years ago
Andrew Gaffney
8bc0328be8
Move udhcpc's script to default location
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
899fe9895c
s/aux/luks/ for gentoo bug #250330
16 years ago
Andrew Gaffney
f82aebc40c
Move all netboot logic from catalyst into gk
16 years ago
Andrew Gaffney
967899176d
Break apart cryptsetup stuff into separate append_luks() and make append_auxillary() dependent on ${BUSYBOX} for gentoo bug #247052
16 years ago
Andrew Gaffney
8fab72fa21
Only append unionfs_fuse stuff if UNIONFS is set
16 years ago
Andrew Gaffney
fd24098f08
Add fuse to MODULES_FS
...
Remove direct calls to compile_fuse() and append_fuse()
Disable bincache for fuse, since we don't need any files at runtime from it
16 years ago
agaffney
b116df3c98
Make sure that /sbin/unionfs is +x
16 years ago
agaffney
4123ac396c
Correct unionfs-fuse bincache path and clean up debugging code
16 years ago
agaffney
28a88bc953
Add append_fuse() and append_unionfs_fuse() functions
16 years ago
agaffney
ea695cec24
Only append splash portion to initramfs if SPLASH is set
17 years ago