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
a98d5330f0
Added a line to make sure we remove image.squashfs as well as the other loop names used by catalyst.
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@599 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Chris Gianelloni
ad4cd03394
Switch to detection for LOOP and LOOPTYPE when they are not set.
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@597 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Chris Gianelloni
5b462be907
Performed some minor cleanup.
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@596 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
4cde424af9
Change &>/dev/null to >/dev/null 2>&1 because busybox ash sucks
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@590 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
c5bcb8d178
Switch to double quotes where we're interpolating variables, because I suck
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@589 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
6c98ac18d3
Add setup_hotplug() function that runs before the modules are loaded to setup mdev as the hotplug event handler
...
Add $KV to /lib/modules anywhere it occurs to allow for an initramfs with multiple sets of modules
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@586 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Chris Gianelloni
2df80062d6
Removed runUdev, since we no longer use it.
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@581 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
07397c6100
don't scan a bunch of extra devices when CDROOT_DEV is defined
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@578 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
783f92f592
add new cdroot_type=foo kernel commandline parameter to override -t iso9660 for bug 182818
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@577 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
9710e24c34
put -t auto back to -t iso9660 for mounting a cdrom. this is for bug 162962
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@576 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
8ac539106b
apply LUKS key patch from bug 162962 from Nelson Batalha <nelson_batalha@hotmail.com>
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@573 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
0e8907e131
fix typo for bug 201442. thanks to Michael Hordijk <hoffbrinkle@hotmail.com>
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@569 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Chris Gianelloni
dcb5af3f6f
Fixed the noload module code. Thanks to Mijail Fedorovich <mfedorovich@gmail.com> for pointing it out in bug #198187 .
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@556 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Chris Gianelloni
ae13885cdf
Added an update patch from Alon Bar-Lev <alonbl@gentoo.org> in bug #197244 to clean up the suspend2 code and rename the functions to tuxonice to match the upstream rename.
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@555 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Chris Gianelloni
a935750c44
Make sure we still allow dolvm2/doevms2 on the kernel command line and give a warning. I've also added a 2 second delay between vgscan and vgchange. Thanks to Robin H. Johnson <robbat2@gentoo.org> for suggesting the changes and testing.
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@552 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
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
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
43b1f3aa7e
Fixup for bugs from patch in bug 174294.
...
The previous patch from bug #174294 still contained some bugs in the linuxrc
and scripts, that caused a failure during boot. Clean them up with one more
patch from Nelson Batalha <nelson_batalha@hotmail.com>, again on bug #174294 .
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@523 67a159dc-881f-0410-a524-ba9dfbe2cb84
18 years ago
Chris Gianelloni
4cfc3f4bf8
Added a patch from Nelson Batalha <nelson_batalha@hotmail.com> from bug #174294 to enable the use of encryption on a CD and the location of a key.
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@516 67a159dc-881f-0410-a524-ba9dfbe2cb84
18 years ago
Chris Gianelloni
9c26beee95
Change the check for /livecd when booting a CD to check for a file called livecd, rather than just the existence of /livecd, which should keep it from finding disks with a /livecd directory.
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@513 67a159dc-881f-0410-a524-ba9dfbe2cb84
18 years ago
Chris Gianelloni
93fbc1102a
Added patch from Nicolas Schlumberger <n.schlumberger@bluewin.ch> to create md devices with LUKS for bug #170753 .
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@510 67a159dc-881f-0410-a524-ba9dfbe2cb84
18 years ago
Chris Gianelloni
9a3d137f71
Reverting patch that was originally added due to bug #160333 due to the problems it caused on the 2007.0 release.
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@509 67a159dc-881f-0410-a524-ba9dfbe2cb84
18 years ago
Chris Gianelloni
403aa83b5c
Added a patch from Daniel Drake <dsd@gentoo.org> to fix splash problems for bug #172562 .
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@503 67a159dc-881f-0410-a524-ba9dfbe2cb84
18 years ago
Chris Gianelloni
2eb1c706e6
Adding yet another patch from Fabio Erculiani <lxnay@lxnaydesign.net> from bug #152945 .
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@487 67a159dc-881f-0410-a524-ba9dfbe2cb84
18 years ago
Chris Gianelloni
bccc5d8fa7
Added a non-braindead version of a patch provided by Fabio Erculiani <lxnay@lxnaydesign.net> in bug #160333 . This is completely untested, so I'm rolling up 3.4.7_pre2 to get it tested prior to genkernel 3.4.7 going final.
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@486 67a159dc-881f-0410-a524-ba9dfbe2cb84
18 years ago
Chris Gianelloni
bcc80c3162
Added a case statement for the keymap selection to ensure we're always using 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
18 years ago
Chris Gianelloni
687926759b
More fixes for similarly-named modules.
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@471 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
22769ddd35
Inverted check on CDROOT_DEV, as it should be -z not -n. Thanks to Jakub Moc <jakub@gentoo.org> for coming up with the quick fix in bug #153554 . I lied before. This one is really 3.4.5.
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@462 67a159dc-881f-0410-a524-ba9dfbe2cb84
18 years ago
Chris Gianelloni
8edf1cba7d
Added patch to support resuming from encrypted swap. The patch was submitted to bug #152441 .
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@457 67a159dc-881f-0410-a524-ba9dfbe2cb84
18 years ago
Chris Gianelloni
908e45924c
Updated with the latest version of the LUKS patches from bug #152441 .
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@455 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
Chris Gianelloni
5f05e410b3
Added patch for suspend2-sources 2.6.18 by Romeo Benzoni <romeo@benzoni.org> and submitted to bug #148499 .
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@446 67a159dc-881f-0410-a524-ba9dfbe2cb84
19 years ago
Chris Gianelloni
3ec1fddd2e
This change makes it so we only try to mount 'auto' when cdroot is specified. This should fix all of our mounting issues, as well as allow for not only USB keys to use these kernels with a LiveCD kernel/config, but allow it to boot from any media which the kernel has support.
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@442 67a159dc-881f-0410-a524-ba9dfbe2cb84
19 years ago
Chris Gianelloni
c9111d1f3a
Added a symlink for device-mapper stuff. This should resolve both bug #142775 and bug #147015 .
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@441 67a159dc-881f-0410-a524-ba9dfbe2cb84
19 years ago
Chris Gianelloni
66e8e81e98
This is ugly. I mean, really ugly. However, it is the only way to support all of the insane ways that people are trying to boot release media. I really wish we didn't have to support this junk, but a regression really shouldn't happen with our releases. Anyway, hopefully I can come up with a better solution to this in the future.
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@438 67a159dc-881f-0410-a524-ba9dfbe2cb84
19 years ago
Chris Gianelloni
197155af44
Try using -t iso9660,vfat to our mount command, since we can't use only iso9660 as it breaks booting from a USB stick.
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@437 67a159dc-881f-0410-a524-ba9dfbe2cb84
19 years ago
Chris Gianelloni
089f1923c7
Update the suspend2_resume function for bug #131202 .
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@432 67a159dc-881f-0410-a524-ba9dfbe2cb84
19 years ago
Chris Gianelloni
f4fc7d72f9
iso9660 -> auto, and added support for checking SUBDIR for the livecd file. This is for bug #147186 .
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@431 67a159dc-881f-0410-a524-ba9dfbe2cb84
19 years ago
Chris Gianelloni
f32cb2c064
Added patch for suspend2 for bug #131202 .
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@427 67a159dc-881f-0410-a524-ba9dfbe2cb84
19 years ago
Tim Yamin
517aa9d1b2
Fix devfsd not kicking in on 2.4 on Alpha.
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@425 67a159dc-881f-0410-a524-ba9dfbe2cb84
19 years ago
Chris Gianelloni
3186bfc54c
Add a modified version of the two LUKS patches that made their way into bugzilla for bug #122421 .
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@405 67a159dc-881f-0410-a524-ba9dfbe2cb84
19 years ago
Chris Gianelloni
897b236d54
Fix an error in setup_unionfs and add in some debug support to figure out why/where this initramfs is stopping.
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@393 67a159dc-881f-0410-a524-ba9dfbe2cb84
19 years ago
Chris Gianelloni
e71f54a8a7
Fixed up TODO with actual working code since we don't have awk.
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@392 67a159dc-881f-0410-a524-ba9dfbe2cb84
19 years ago
Chris Gianelloni
e4e5fe3419
Add in image.squashfs as a squashfs loop, since it is now the default in catalyst. Also, added a nice TODO about docache and size restrictions into cache_cd_contents.
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@391 67a159dc-881f-0410-a524-ba9dfbe2cb84
19 years ago
Tim Yamin
fd9747ca4f
Update to busybox 1.1.0; port over to use mdev.
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@388 67a159dc-881f-0410-a524-ba9dfbe2cb84
19 years ago