Fabio Erculiani
ba0a7ea078
linuxrc: call udevadm settle after modules_load
...
udev may still be processing rules and this can cause very bad
things. For instance, modules_load may have loaded an usb host
controller driver and we must wait for the udev rules to terminate.
However, this may lead to other race conditions, but we have
observed that adding scandelay=n where n >= 5 actually fixes the
issue of booting off USB under certain scenarios.
12 years ago
Fabio Erculiani
59499bc4e9
gen_configkernel: really, seriously, DO NOT TRY TO BE TOO SMART!
...
Crapping with .config thinking to be smarter than the user is just
stupid and can lead to sudden and unexpected compile/config failure.
Just DONT FUCKING TOUCH TEH CONFIGGGGGGGGGGG!
12 years ago
Fabio Erculiani
138e317c1e
gen_initramfs: add support for thin provisioned lvm volumes
12 years ago
Fabio Erculiani
a5e497324d
gen_initramfs: append /etc/ld.so.conf{.d/*,} and /etc/ld.so.cache
...
Some executables (namely: udevadm) may link against libraries in
non-standard paths. For this reason, and as dracut does, we must
copy /etc/ld.so.conf{.d/*,} over and generate a custom ld.so.cache
file.
12 years ago
Fabio Erculiani
4cd6f3904f
Merge pull request #1 from msva/master
...
Added nconfig support
12 years ago
Vadim A. Misbakh-Soloviov
ebdac46cd8
Added nconfig support
...
Signed-off-by: Vadim A. Misbakh-Soloviov <mva@mva.name>
12 years ago
Fabio Erculiani
08cd7890bf
Merge branch 'master' into plymouth
...
Conflicts:
arch/x86/modules_load
arch/x86_64/modules_load
defaults/modules_load
12 years ago
Fabio Erculiani
7505a99952
modules_load: do not forcibly load radeon and nouveau, they may kill a system
12 years ago
Fabio Erculiani
f8b1ea1186
Add /etc/modprobe.d/blacklist.conf to the initramfs if found
12 years ago
Fabio Erculiani
06af416264
Kill trailing whitespaces!!!!!
12 years ago
Fabio Erculiani
90da2a1a66
Drop backticks from initramfs code
12 years ago
Fabio Erculiani
734ab6d239
Merge branch 'master' into cleanup-cruft
...
Conflicts:
gen_initramfs.sh
12 years ago
Fabio Erculiani
08e7dbdfe5
Drop old and no longer working /etc/module_options support
12 years ago
Fabio Erculiani
e2e6e63e52
Fix distdir name: genkernel-next
12 years ago
Fabio Erculiani
ccd8a81de6
Push the generated tarball to dev.g.o
12 years ago
Fabio Erculiani
b8aee99d81
rewrite Makefile, use git archive
12 years ago
Fabio Erculiani
a8f8f754cc
Revert "software: hardcode busybox version"
...
This reverts commit 04fe3fd1f4
.
12 years ago
Fabio Erculiani
04fe3fd1f4
software: hardcode busybox version
12 years ago
Fabio Erculiani
4313f7ba20
modules_load: add virtio modules
12 years ago
Fabio Erculiani
8ea38a7db9
modules_load: add MODULES_CRYPT, improve backward compatibility
12 years ago
Fabio Erculiani
2b09eabef9
genkernel: set version to 9999
12 years ago
Fabio Erculiani
c29e0ef023
Complete Plymouth integration. Fix the last set of minor bugs
12 years ago
Fabio Erculiani
fb6fa7903d
Make plymouth ask-for-password work as expected
12 years ago
Fabio Erculiani
bea8085444
Introduce initial support to Plymouth
12 years ago
Fabio Erculiani
8ee957beed
Fix copy_binaries of /sbin/gpg
12 years ago
Fabio Erculiani
16f4eb1933
Drop BLKID cruft
12 years ago
Fabio Erculiani
5d8c6d3873
Use iscsistart from system, don't compile it
12 years ago
Fabio Erculiani
45c54977bd
Merge branch 'master' into gpg-from-system
12 years ago
Fabio Erculiani
5750b8ac63
Use /sbin/gpg from system, don't compile it
12 years ago
Fabio Erculiani
884f356180
Drop fuse patches
12 years ago
Fabio Erculiani
546d990402
Fuse is not used by anything, kill it
12 years ago
Fabio Erculiani
4288a38895
Drop commented out code, cruft of the past
12 years ago
Fabio Erculiani
f05e8896f6
Drop ChangeLog.old
12 years ago
Fabio Erculiani
f1487fa8b6
Drop support for unionfs, broken and broken
12 years ago
Fabio Erculiani
009f481e7b
Erase any trace of cross compiler support. It's broken, dead and useless.
12 years ago
Fabio Erculiani
469eab252a
gen_initramfs: differentiate between vital udev rules and non-vital
12 years ago
Fabio Erculiani
35efca1c27
gen_initramfs: use portage-utils to determine the lvm2 udev rules files
12 years ago
Fabio Erculiani
4d5e8e4e69
linuxrc: don't try to be too smart wrt resolving REAL_ROOT symlink
...
This breaks LVM support with udev, don't do it, there is absolutely no reason
12 years ago
Fabio Erculiani
874707d0f7
gen_compile: use MDADM from system
12 years ago
Fabio Erculiani
7e73673abe
gen_compile: use DMRAID from system, don't compile our own
12 years ago
Fabio Erculiani
64ea1af0e1
gen_compile: use LVM from system for the initramfs
12 years ago
Fabio Erculiani
3fec6febc4
genkernel: add simple udev support, include udev into initramfs if --udev
12 years ago
Fabio Erculiani
cbee01a7f9
gen_compile: fix iscsi module path install, s/RELEASE/KV
12 years ago
Fabio Erculiani
108f1daf60
linuxrc: run the debug shell multiple times, add a hook before switch_root
12 years ago
Fabio Erculiani
9ead931af1
linuxrc: use "quiet" cmdline argument for a really quiet initramfs initialization
...
"quiet" is already used by the kernel to avoid printing messages on the
console unless they are errors or warnings. Genkernel should do the same
wrt its initramfs initialization code.
This has also the advantage of improving the boot speed.
12 years ago
Fabio Erculiani
499f2d98b6
Improve speed of bootstrapCD by not calling devicelist unless needed
12 years ago
Fabio Erculiani
ffa5076fd4
Drop doslowusb and noslowusb boot parameters.
...
scandelay=<secs> should be always preferred. Moreover, nowadays
automatically sleeping waiting for USB storage to come up in
the way we were used to do it doesn't work as one expects, because
USB is very common and USB storage devices are very likely to be
present on a system.
Furthermore, the initialization code after setup_slowusb is already
waiting for devices to come up.
12 years ago
Fabio Erculiani
682d0b0d0a
Drop "sleep 3" from sdelay if CDROOT=1. One can use scandelay=secs if needed.
...
While this makes out of the box booting a bit harder on some ancient CD/DVD
drives, it really speeds up the common use case by not sleeping for 3 seconds.
12 years ago
Fabio Erculiani
a408d4a513
Drop useless parens in conditionals
12 years ago
Fabio Erculiani
421b210c67
Drop KV_2_6_OR_GREATER
...
Linux 2.2 and 2.4 are no longer supported. RIP old kernels.
12 years ago