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
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
1ffb37f09c
Moving files from generic to defaults, since they are the defaults used globally.
17 years ago
Andrew Gaffney
f489b904ad
Stick CONFIG_INITRAMFS_ROOT_GID in the .config, too
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@651 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
fb88e10ff6
Remove existing CONFIG_INITRAMFS_SOURCE line and write new one as well as CONFIG_INITRAMFS_ROOT_UID line
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@650 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
af3fd101f0
Change sed delimeter
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@649 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
0612894e1b
We should edit the copy of the kconfig instead of the source file
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@648 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
5fcaaea2f8
Instead of copying the initramfs into the kernel tree, we now sed the kconfig to point CONFIG_INITRAMFS_SOURCE to the generated image
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@647 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
d1313f5ecc
Change the location we copy the intiramfs to for integrated initramfs
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@644 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
1664faa9df
Argh...Changing the right line helps
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@630 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
ee9a94f313
Change into initramfs-firmware-temp/ instead of initramfs-firmware-temp/lib/firmware/ before doing cpio
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@629 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
565bb21a48
Change to new temp directory so the firmware gets copied to the right place
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@627 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
b4fd892e57
Copy with -L so we get the file instead of the symlink
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@626 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
1c9596c37e
Fix another quoting malfunction
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@625 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
f62aa7b1c9
If we have a raid456.ko module, we need to create a raid45.ko symlink since dmraid can be rather stupid. This should resolve bug #195804 .
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@610 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
063e926d27
Redirect which output to /dev/null and put quotes around var in test
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@608 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Chris Gianelloni
89f860a323
Added a --no-keymap option for bug #210886 .
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@606 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Chris Gianelloni
ee2c236875
Use which to determine the location of splash_geninitramfs, rather than having an endless number of conditional checks for the location. This fixes bug #211521 . Thanks to Uriy Zhuravlev <stalkerg@gmail.com> for finding the problem and suggesting a solution.
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@605 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
Chris Gianelloni
37ef3eb473
Fixing a problem where we were copying the busybox binary cache into the busybox temporary directory. I am assuming that this was a result of all of the changes we've been doing, and it simply just got everlooked. Thanks to Marek Szuba <cyberman@if.pw.edu.pl> for pointing it out in bug #204087 . This is genkernel 3.4.9 FINAL. Enjoy.
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@580 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
20d54c9c00
s/elsif/elif/ because I use too many languages and random bash tutorials online can't be trusted
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@567 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
cce65ad98c
look for cryptsetup in /bin and /sbin
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@563 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Chris Gianelloni
fba39b8f11
Added a nice patch from John R. Graham <john_r_graham@mindspring.com> to allow all command line options to be configurable from within the genkernel.conf file. This is for bug #182616 . This is genkernel 3.4.9_pre8 for testing.
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@557 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Chris Gianelloni
d0667a6beb
Added a patch from Joshua Kinard <kumba@gentoo.org> to clean up the Pegasos hacks in genkernel. This is from bug #193826 . This is genkernel 3.4.9_pre7 for testing.
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@554 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Chris Gianelloni
d9cffe7d03
Reverting the removal of generic/modprobe for bug #197730 . This is genkernel 3.4.9_pre6 for testing.
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@551 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Chris Gianelloni
943ce2047b
Fixed device-mapper/man removal for bug #196087 , fixed mdadm.conf copying, and fixed syntax error for bug #197582 . This is genkernel-3.4.9_pre5.
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@550 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Chris Gianelloni
c239493fcd
Added a patch from Alan Hourihane <alanh@fairlite.demon.co.uk> for mdadm support in busybox from bug #172128 . This is genkernel 3.4.9_pre4 for testing.
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@549 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Chris Gianelloni
76b0593f47
Made a few minor cleanups here and there.
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@548 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
f29f8e3282
remove generic/modprobe and all supporting code, since busybox has modprobe
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@546 67a159dc-881f-0410-a524-ba9dfbe2cb84
18 years ago
Andrew Gaffney
b1f27004bb
cd out of directory to be deleted for bug 194695. Thanks to Asmund Grammeltvedt <asmundg@big-oil.org> for pointing this out
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@545 67a159dc-881f-0410-a524-ba9dfbe2cb84
18 years ago
Andrew Gaffney
2dd522a1ed
we don't ever want devfs in an initramfs
...
check KERN_24 instead of DEVFS for 2.4 initrd generation
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@544 67a159dc-881f-0410-a524-ba9dfbe2cb84
18 years ago
Chris Gianelloni
208a983055
Renamed gensplash to splash and marked gensplash as deprecated. This is 3.4.9_pre3 for testing.
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@536 67a159dc-881f-0410-a524-ba9dfbe2cb84
18 years ago
Chris Gianelloni
10990c2210
Changed all instances of EVMS2/LVM2 to EVMS/LVM, respectively. This will keep everything simplified if a newer EVMS/LVM version set appears.
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@535 67a159dc-881f-0410-a524-ba9dfbe2cb84
18 years ago
Chris Gianelloni
497d9f9297
Performed some general cleanup on a few files and removed devfs/udev 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
18 years ago
Chris Gianelloni
c24a91d307
Removing the suspend support that was added for bug #156445 until suspend is added to the tree and we can determine the proper way to support it. For more information, see bug #156431 .
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@531 67a159dc-881f-0410-a524-ba9dfbe2cb84
18 years ago
Robin H. Johnson
0257b72785
Cleanup of bogus error output.
...
Clean up a bogus and cosmetic error introduced by the symlink patch:
${GK_SHARE}/gen_funcs.sh: line 431: popd: /var/tmp/genkernel/3996.6301.23048.13838/initramfs-modules-${KV}-temp: No such file or directory
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@524 67a159dc-881f-0410-a524-ba9dfbe2cb84
18 years ago
Andrew Gaffney
1bdb11467f
enable CONFIG_INSMOD in all arch busy-config files
...
disable building of static insmod and remove all code related to it
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@521 67a159dc-881f-0410-a524-ba9dfbe2cb84
18 years ago
Andrew Gaffney
f10cd4ee6a
Patch to actually use busybox bincache. Thanks to Pat Double
...
<gentoo@patdouble.com> on bug #180211
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@519 67a159dc-881f-0410-a524-ba9dfbe2cb84
18 years ago
Chris Gianelloni
92542bf56c
Commented out the checks on the sanity of lvm.conf since they were not quite working right. This should fix bug #173622 .
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@506 67a159dc-881f-0410-a524-ba9dfbe2cb84
18 years ago
Chris Gianelloni
4eafdd4fcf
Added a change to force objdump output to be English for bug #173412 and rolling 3.4.7 final for the release.
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@504 67a159dc-881f-0410-a524-ba9dfbe2cb84
18 years ago
Chris Gianelloni
480b08111f
Changed LVM configuration detection to not error.
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@499 67a159dc-881f-0410-a524-ba9dfbe2cb84
18 years ago
Chris Gianelloni
26a7141b14
Before we copy lvm.conf, we run it through 'lvm dumpconfig' to make sure the config is valid for bug #156009 . This is 3.4.7_pre5.
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@497 67a159dc-881f-0410-a524-ba9dfbe2cb84
18 years ago
Chris Gianelloni
89c7fbdde5
Added a patch by John R. Graham <john_r_graham@mindspring.com> from bug #169383 to improve the --symlink option fairly significantly. This is going to be 3.4.7_pre4 and while I haven't tested this yet, it looks good.
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@494 67a159dc-881f-0410-a524-ba9dfbe2cb84
18 years ago
Chris Gianelloni
f06ba4e9e7
Fixed lib64 link for bug #168664 .
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@493 67a159dc-881f-0410-a524-ba9dfbe2cb84
18 years ago
Chris Gianelloni
fe7457eba9
Added patch from Daniel Drake <dsd@gentoo.org> in bug #156611 to clean up the initramfs creation and create a 'proper' initramfs, instead of our concatenated monster.
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@466 67a159dc-881f-0410-a524-ba9dfbe2cb84
18 years ago
Chris Gianelloni
8b4b874b64
Added patch from Daniel Drake <dsd@gentoo.org> in bug #156445 to add userspace suspend support to genkernel.
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@465 67a159dc-881f-0410-a524-ba9dfbe2cb84
18 years ago
Chris Gianelloni
33bd91d532
Added debug level to LUKS print_info messages for bug #156410 .
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@464 67a159dc-881f-0410-a524-ba9dfbe2cb84
18 years ago
Chris Gianelloni
57097c87f6
Added patch for udhcp support. Patch by Stefan Nickl <snickl@snickl.freaks.de> and submitted to bug #145115 .
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@450 67a159dc-881f-0410-a524-ba9dfbe2cb84
19 years ago
Tim Yamin
3bbf4f7cb8
Should check for /sbin/splash_geninitramfs instead of /usr/sbin/...
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@443 67a159dc-881f-0410-a524-ba9dfbe2cb84
19 years ago
Chris Gianelloni
8b188f898e
Add more error checking into the splash code and die instead of silently fail on an error.
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@429 67a159dc-881f-0410-a524-ba9dfbe2cb84
19 years ago
Chris Gianelloni
3af2ff6360
We should be checking for /usr/bin/splash_geninitramfs, instead.
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@423 67a159dc-881f-0410-a524-ba9dfbe2cb84
19 years ago
Tim Yamin
7925ead273
Commit fix for bug #141153 from Pylon; 3.4.0_pre4.
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@421 67a159dc-881f-0410-a524-ba9dfbe2cb84
19 years ago
Chris Gianelloni
d658513c31
Added fix for bug #140445 .
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@418 67a159dc-881f-0410-a524-ba9dfbe2cb84
19 years ago