Chris Gianelloni
fd7e13ec87
Enable keymap code when keymap is set on the kernel command line. This is genkernel 3.4.10_pre10 for testing.
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@671 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Chris Gianelloni
afc2688b2a
We need to unset keymap if it doesn't match to keep from hitting an infinite loop.
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@670 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
Chris Gianelloni
0c3ba5d628
Change from using a directory check to a file check. This should fix bug #215822 .
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@668 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Chris Gianelloni
4593814da8
Move removable storage like USB and firewire after traditional fixed storage like PATA/SATA/SCSI for bug #217347 .
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@667 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Chris Gianelloni
a6823c3825
Added scsi to the default list of modules to load.
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@665 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Chris Gianelloni
cc57e07bb8
Added a patch to skip device nodes for devices if at least one partition exists on the device. This aids in LiveUSB usage and is for bug #212794 . This is genkernel 3.4.10_pre8.
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@663 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
696ea30508
Change the opts passed to udhcpc when using nfsroot
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@657 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
Chris Gianelloni
c7a57d7830
Rearrange checks so the return value is read correctly.
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@615 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
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
Andrew Gaffney
2c41576da4
Apply patch from bug 210457 to fix variable substitution. Thanks to Paul Taylor <birder@ozemail.com.au> for reporting
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@602 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
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
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
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
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
226a52cfeb
specify the kernel version when looking for a module for bug 208593
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@582 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
e6f79cd7ef
default to auto for CDROOT_TYPE
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@579 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
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
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
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
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
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
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
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