Andrew Gaffney
850637bc4f
Move setup_keymap call to before LUKS setup
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@677 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
80fb4b4d11
Add nomodules kernel commandline parameter to disable loading of modules
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@675 67a159dc-881f-0410-a524-ba9dfbe2cb84
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
4187cff9f1
Split up /dev node checks into console/null and tty1
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@662 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
3bfe8144c0
Remove initrd-specific code from linuxrc
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@661 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
72e8e5d04c
Add a check after mounting NEW_ROOT to see if /dev exists and /sbin/init is executable before moving on
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@645 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
2d0c095a79
Revert last commit as it wasn't a problem
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@643 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
a5aa9035a3
Remove -c "/dev/console" from switch_root command
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@642 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
2b0ce04048
Add missing $ to {NORMAL} for broken /dev message
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@641 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Chris Gianelloni
583d25030b
Added a small debug statement to generic/linuxrc so we know when we're hitting the initrd code path. This is genkernel 3.4.10_pre5 for testing.
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@628 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
bfd3e14a07
Enable CONFIG_HEXDUMP globally for busybox
...
Add getdvhoff replacement function from vapier
Remove copying of getdvhoff from system
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@614 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
c1c0655dbb
Apply patch from Vince C <v_cadet@yahoo.fr> to mount sysfs prior to loading modules, so that the mdev firmware loading can actually work
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@611 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
Andrew Gaffney
7f20c816c3
Remove quotes from around ${ROOT_TREES} so that the dirs are parsed separately by bash/cp
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@601 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
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
239e46b186
Move busybox --install -s to outside the /init check. Fix problems with running mknod on a non-CD root filesystem, which will be read-only, for bug #208266 .
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@595 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
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
4faaee5d40
Moving the code to start resume operations so it doesn't run when booting from CD. We also don't execute the code if there's no real_resume set on the command line, since it will fail, anyway, without it.
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@584 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
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
ccc3c9c78f
fix text bolding on serial console for bug 202266 thanks to Michael Hordijk <hoffbrinkle@hotmail.com>
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@572 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
f59adb569b
use 'read' to get a line at a time to account for directories with spaces in the name. this fixes bug 199701
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@564 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
9e69a8a871
Remove some unnecessary copyright dates from a few files so we don't keep forgetting to update them when we modify the files.
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@537 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
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
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
48440a0dcc
Fix REAL_INIT for bug #160635 .
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@482 67a159dc-881f-0410-a524-ba9dfbe2cb84
18 years ago
Chris Gianelloni
3061882720
Removing generic/keymaps.tar.gz to replace it with a known-good copy. Blame cvs2svn.
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@475 67a159dc-881f-0410-a524-ba9dfbe2cb84
18 years ago
Chris Gianelloni
9862e9b7ce
Added patches from François-Xavier Roure <fx_roure@yahoo.fr> from bug #149020 . This will end up being genkernel 3.4.6, most likely.
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@474 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
3cbe67babf
Added typo fix from Jason Pepas <j.pepas@mail.utexas.edu> in bug #153516 . This is 3.4.5.
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@461 67a159dc-881f-0410-a524-ba9dfbe2cb84
18 years ago
Chris Gianelloni
c6db6d2542
Added patch from Tim Steiner <tsteiner@nerdclub.net> to add a real_rootflags parameter for bug #122672 .
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@458 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
3b802a4a93
Added patch from bug #152441 to improve LUKS support.
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@453 67a159dc-881f-0410-a524-ba9dfbe2cb84
18 years ago
Chris Gianelloni
dc87eb99e4
Allow root= for initramfs, instead of only real_root= to specify the root volume. Patch by Salah Coronya <salahx@yahoo.com> from bug #142606 .
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@449 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
ca319bd074
Fix bug #143442 .
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@426 67a159dc-881f-0410-a524-ba9dfbe2cb84
19 years ago