Peter Hjalmarsson
e8ffab0000
Update options for devtmpfs
...
Options copied from /etc/init.d/udev-mount as that script does not
sanitize or even tuch the options.
14 years ago
Sebastian Pipping
c202dbe67d
Resolve unneeded subshell
14 years ago
Peter Hjalmarsson
294ea17506
Use devtpmfs when avaible
14 years ago
Sebastian Pipping
51d60ac01f
Replace "$lvm_commands" by "${lvm_commands}"
14 years ago
Sebastian Pipping
62fdee77e4
Insert a few blank lines for readability
14 years ago
Peter Hjalmarsson
d1b6b4e9f0
Speed up LVM-activation
...
Change vgscan and vgchange so they are done in one go.
Faster since less work for the lvm command.
vgscan is still needed for some cases like dmcrypt where
/etc/lvm/cache is created, but not updated with the unlocked devices.
14 years ago
Peter Hjalmarsson
ba56efcb97
Use vgchange --sysinit
...
Turns off unnecessary stuff, and makes the command look cleaner
14 years ago
Fabio Erculiani
2abd9c2742
Add compatibility with older cmdline setup on console argument
...
Older systems featured full path to tty inside console=. This
is no longer valid and causes issues with fbcondecor. The new
expected format of console= is tty name with the directory part
stripped off: console=tty1 for example.
This patch has been in sabayon's genkernel for <2 years, but
should be tested out on non-standard environments.
14 years ago
Sebastian Pipping
886262e44e
Remove unused function bind_mount_dev()
14 years ago
Sebastian Pipping
ccc17448fd
"mdadm -A" -> "mdadm --assemble" (as before, better self-documentation)
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
b3d07b46a7
Do not sleep after vgscan (bug #351047 )
14 years ago
Sebastian Pipping
8b52cccc02
Do not wait for iscsi if we have not started it
14 years ago
Sebastian Pipping
1051223a63
Do no delay if scandelay[=seconds] is not specified (bug #323317 again)
14 years ago
Sebastian Pipping
b56020daf6
Propagate fix for ROOT_DEV from bug #303531 to RESUME_DEV and REAL_LUKS
14 years ago
Fabio Erculiani
b6b3dab7cd
Add minimal btrfs support, as per bug #303529 .
...
RAID0 btrfs volumes can be detected only if btrfsctl is started.
Since embedding extra executables in initramfs is already possible,
add minimal btrfs support inside linuxrc.
14 years ago
Sebastian Pipping
f5547a519f
Add LABEL support to crypt_root, clean up UUID crypt_root patch
14 years ago
Christian Giessner
3e60ed9eee
Add support for UUID to crypt_root (bug #315467 )
14 years ago
Sebastian Pipping
3faec93277
Merge branch 'gpg1x' into experimental
14 years ago
Sebastian Pipping
484f8019f5
Revert "sdelay: reduce function to just one line" due to supposed Bashism.
...
This reverts commit f03de62e7d
.
14 years ago
Fabio Erculiani
f03de62e7d
sdelay: reduce function to just one line
14 years ago
Fabio Erculiani
25b5a461ba
slowusb: move sleep 10 call after start_dev_mgr.
...
If mdev -s will trigger something that involves usb-storage, sleeping
after its startup is safer.
14 years ago
Fabio Erculiani
51e0b14044
slowusb: ease the code in order to reduce entropy, one place for one thing.
...
There were several places where a mixture of sdelay and "sleep 10"
were called without worrying too much, resulting in slower boot
time, mainly. This commit should fix the mess and make some order
in the slowusb saga.
14 years ago
dacook
04c37979c1
Remove bashism
...
Get rid of bash-ish "==" equivalence test in checking if the LUKS_KEY ends in
.gpg. Use strict Bourne-compliant '=' instead.
14 years ago
dacook
f78d61d8b3
GPG runtime
...
Actual boot-time handling of PGP-armored keys
14 years ago
Sebastian Pipping
b4f310213e
Create /bin/vg* symlinks when called as /linuxrc, too (bug #307855 )
14 years ago
devsk
e590a493ea
Pick first device when several devices are matching real_root (bug #303531 )
14 years ago
Sebastian Pipping
8b7a16e07a
Break search loop asap
14 years ago
Fabio Erculiani
5f136adc14
No longer have directory /sys/bus/usb/drivers/usb-storage/module set FORCE_slowusb
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
f3e0797d42
Apply patches from Gentoo bug #268468
15 years ago
Andrew Gaffney
1f46e1ac42
Add USB HID modules to modules_load and default kernel-config (for Gentoo bug #270983 )
15 years ago
Andrew Gaffney
8abedd8d81
Enable ext4 by default everywhere (for Gentoo bug #268818 )
15 years ago
Andrew Gaffney
24446b0465
Add support for isoboot= option (for Gentoo bug #294268 )
15 years ago
Andrew Gaffney
62f353b65b
Properly apply NFS mount options for Gentoo bug #262915
15 years ago
Andrew Gaffney
0302b4c9e4
Apply patch to make sure loop cache directory exists for Gentoo bug #297814
15 years ago
Andrew Gaffney
2e4e55a6e5
Fix typo for Gentoo bug #294138
15 years ago
craig
88ac383f61
Let iSCSId settle after iscsistart
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
Andrew Gaffney
588ef85661
Apply patch from Gentoo bug #220913 for tuxonice resume
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
61bf391991
back out previous commit
16 years ago
Andrew Gaffney
f3ae1fe692
Alternative solution for Gentoo bug #269603
16 years ago
Andrew Gaffney
a9bd822a9f
Change command used to determine real filename for REAL_RESUME for Gentoo bug #269603
16 years ago
Andrew Gaffney
0e69c5653a
Add aic94xx to MODULES_SCSI for Gentoo bug #277792
16 years ago
Andrew Gaffney
25e7fa89be
Restore BOOTLOADER="grub" example line in genkernel.conf for gentoo bug #274768
16 years ago
craig
cac66e0970
iSCSI patch for genkernel
16 years ago
Andrew Gaffney
8b3093a153
Apply fix to deference links for gentoo bug #269603
16 years ago
Andrew Gaffney
ce68841635
remove allow_root
16 years ago
Andrew Gaffney
b08a3148d3
add a few more mount options to try to help livecd
16 years ago
Andrew Gaffney
3fd9ecdd35
add a few more mount options to try to help livecd
16 years ago
Andrew Gaffney
d9aed5a321
Comment out the exec line for console=*, since it seems to blow up when the param isn't a true device node, such as ttyS0,115200n8
16 years ago
Andrew Gaffney
d48dc40bd2
Remove detect_sbp2_devices() for gentoo bug #239474
16 years ago
Andrew Gaffney
5f9a6b2749
Remove the use of 'env -i' when calling switch_root due to gentoo bug #248688
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
96518cfede
Separate out main and netboot busy-config
16 years ago
Andrew Gaffney
8bc0328be8
Move udhcpc's script to default location
16 years ago
Andrew Gaffney
0b80933508
Enable support klogd and syslogd for netboot
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
6bddecbf12
Remove old nb-busybox.cf files that aren't used anymore
16 years ago
Andrew Gaffney
b6a7f1d853
Enable CONFIG_MAKEDEVS in busy-config for netboot
16 years ago
Andrew Gaffney
40efdee49c
Enable CONFIG_FEATURE_PREFER_APPLETS busybox option
...
export PATH at top of netboot linuxrc
16 years ago
Andrew Gaffney
d781413d5a
Initial support for --netboot option
...
integrate functionality from netboot udhcpc.scripts into default one
16 years ago
Andrew Gaffney
a4d6260dd0
Applied patch for UUID support for real_resume= from gentoo bug #239687
16 years ago
Andrew Gaffney
d07862bb8e
Add --unionfs commandline option to enable building of unionfs-fuse
...
Add nounionfs boot option
16 years ago
Andrew Gaffney
bbbfa2b4de
Add good_msg for creating the union mount
16 years ago
Andrew Gaffney
74af3caa68
Pipe stderr for unionfs mount call to /dev/null to supress getcwd message
16 years ago
Andrew Gaffney
41f44b1d42
Call switch_root with full path
16 years ago
Andrew Gaffney
fa9cbeeda8
Call switch_root with 'env -i' to clean out the kernel-defined key/value pairs
16 years ago
Andrew Gaffney
48b282a85d
Skip good_root check for /dev/nfs for gentoo bug #246759
16 years ago
Andrew Gaffney
890382b8e0
Simplify implementation of parse_opt in linuxrc
16 years ago
Andrew Gaffney
abf5986e2b
Small cleanups in unionfs code
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
Andrew Gaffney
469be61e0c
Add suid,dev to unionfs mount opts
16 years ago
agaffney
692db1a447
Remove allow_root mount opt, since it conflicts with allow_other
16 years ago
agaffney
9f076e1e68
Change typo in unionfs-fuse mount opt and add -i support to umount
16 years ago
agaffney
7bb2b54414
Enable CONFIG_FEATURE_MTAB_SUPPORT option for busybox
16 years ago
agaffney
bfa0dbb585
Add patch for busybox to add -i option to mount command
16 years ago
agaffney
b116df3c98
Make sure that /sbin/unionfs is +x
16 years ago
agaffney
7b9ba94669
Add back (modified) unionfs code in linuxrc
16 years ago
agaffney
ac69bec071
Enabling CONFIG_WGET and CONFIG_FEATURE_TAR_BZIP2 for initial support of gentoo bug 211976
16 years ago
Chris Gianelloni
d283e55be3
Removing scsi_wait_scan from PATA/SATA/SCSI and moving it to its own module group. This allows the module to be loaded last, no matter what combination of disks are in the system, allowing for firmware and such to be loaded before genkernel continues, even when asynchronous SCSI scanning is enabled in the kernel.
17 years ago
Robin H. Johnson
ab5dadb374
Merge branch 'master' of git+ssh://git@git.wolf31o2.org/projs/genkernel
17 years ago
Robin H. Johnson
b96546958f
Add a single word to help clarify which /dev is broken, after I wasted a day debugging my new box.
17 years ago
agaffney
8b82562975
Enable CONFIG_ROUTE in busy-configs
17 years ago
agaffney
0aa81c3f8e
Enable CONFIG_HOSTNAME in all busy-configs
...
Call 'hostname' with value from DHCP
17 years ago
agaffney
64660f969f
Fix CONSOLE= handling code for bug 232012
17 years ago
agaffney
2f1aaf4995
Add support to udhcpc.scripts for default route and DNS servers/domain
17 years ago
agaffney
d1cac89e98
Remove check for >=2.6 for mounting sysfs
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
Chris Gianelloni
27407030ff
Added a defaults directory to store default files for builds. These are overridden by architecture or module specific parameters. This should end up reducing the amount of architecture-specific files needed, especially as most of them have files which are (nearly) identical.
17 years ago