Dzianis Kahanovich
2bf6b9045d
Adding modules cmdline options for genkernel (module.option[=value]).
...
Effective for genkernel's modprobe script or busybox "not small"
modprobe.
Signed-off-by: Dzianis Kahanovich <mahatma@eu.by>
Updated-by: Richard Yao <ryao@cs.stonybrook.edu>
13 years ago
Richard Yao
b8626e78ef
Fix typo in previous commit.
13 years ago
Richard Yao
e2189311fc
Verify in /proc/mounts that devtmpfs is unmounted before mounting it
...
For consistency, we do the same with devpts. WilliamH reported this to
me in IRC.
13 years ago
Richard Yao
65249bbcea
Fix bad ZFS case statement, bug #425122
13 years ago
Richard Yao
de4751a2d2
Fix rootfs=ZFS infinite loop when no bootfs is set, bug #425120
13 years ago
Sebastian Pipping
51dcb15742
Restore previous handling of real_root due to report of regressions (bug #419965 )
...
This reverts commit f95264adde
.
Conflicts:
defaults/initrd.scripts
13 years ago
Sebastian Pipping
c261693b92
Add xts to MODULES_CRYPTO (bug #425028 )
13 years ago
Kenny Cheng
2413f1f2a3
Add /run to support openrc >=0.10
13 years ago
Sebastian Pipping
36d0fb5559
Make recent addition conform to POSIX
13 years ago
Marios Andreopoulos
f95264adde
Use real_root option for (plain) Luks setup
13 years ago
Sebastian Pipping
a4438ec946
Merge branch 'bug-418463'
...
Conflicts:
ChangeLog
13 years ago
Sebastian Pipping
21b2c4aab3
Make sure that cbc.ko and aes*.ko needed for cbc-essiv:sha256 (=default) disk encryption are included with the initramfs (bug #416973 )
13 years ago
Sebastian Pipping
aed52e8382
Support bind mounts from /etc/initramfs.mounts (bug #418463 )
13 years ago
Sebastian Pipping
0fa71ef46c
Fix call to blkid of util-linux
13 years ago
Sebastian Pipping
b476a988ea
Set CONFIG_DEVTMPFS=y on x86, x86_64, default for udev
13 years ago
Richard Yao
b5b535f5aa
Do not import a pool that the kernel automatically imported
...
This works around the following upstream issue:
https://github.com/zfsonlinux/zfs/issues/714
Signed-off-by: Richard Yao <ryao@cs.stonybrook.edu>
13 years ago
Richard Yao
6968584a58
Improve ZFS diagnostics, import and mounting
...
Make ZFS only import the specified pool
Set zfsutil when mounting non-legacy rootfs
Check for /sbin/zpool in addition to /sbin/zfs
Print information messages when ZFS pools are imported
Prompt user when mounting a ZFS filesystem without ZFS support
Verify that <dataset> in real_root=ZFS=<dataset> is a filesystem
13 years ago
Richard Yao
0f399f48ff
Verify that binaries exist before startVolumes calls them
13 years ago
Richard Yao
51ad5c92ab
Serialize hotplug events to mimic udev
13 years ago
Sebastian Pipping
a7fbf76f7b
Make sure the previous move of cd commands cannot result in unexpected regressions
13 years ago
Richard Yao
69009cb747
Reorder mdev initialization to mimic udev boot
13 years ago
Richard Yao
f5f3d6fa87
Enable real_root=ZFS to permit booting off ZFS
13 years ago
Richard Yao
391a9b9969
Move ZFS binary check outside of commandline loop
13 years ago
Sebastian Pipping
4d8287c3d0
Add keymap "sf", i.e. Switzerland (French) from Pentoo
13 years ago
Sebastian Pipping
4a88be842d
Fix keymap permissions (no need to be executable)
13 years ago
Sebastian Pipping
c6c9f30607
Remove keymap trq/38 as it contains C sources of test(1) rather than a keymap at the moment
13 years ago
Sebastian Pipping
a3cc35f063
Untar keymaps
13 years ago
Sebastian Pipping
8071dca456
Merge branch 'fix-docache'
...
Conflicts:
ChangeLog
13 years ago
Sebastian Pipping
23a40aeb0e
Restore original /dev/tty after GPG (bug #410073 )
13 years ago
Sebastian Pipping
acbc7becc6
Merge branch 'bug-405495'
13 years ago
Sebastian Pipping
506a94ab26
Load crypto modules automatically
13 years ago
Sebastian Pipping
8ac8de6055
Fix docache (bug #397309 )
13 years ago
Sebastian Pipping
4ed04331a5
Drop into debug shell when squashfs could not be mounted
13 years ago
Sebastian Pipping
a13f9efd37
Drop into debug shell when files could not be copied into tmpfs
13 years ago
Sebastian Pipping
adefd0fccc
Improve handling of missing /etc/fstab
13 years ago
Sebastian Pipping
3ca4d17874
Message cosmetics
13 years ago
Sebastian Pipping
0584c96ca6
Extract function do_rundebugshell
13 years ago
Sebastian Pipping
38205c74b4
No longer use parameter "-r" (for regex intervals) that busybox awk does not support
...
Error was:
awk: invalid option -- r
Note: regex intervals are supported by default so we can just omit "-r" here
13 years ago
Robin H. Johnson
277259282e
Enable live mounting of /usr. Was supposed to have been in 3.4.25.
13 years ago
Robin H. Johnson
4a3e1ff1cf
Merge remote-tracking branch 'origin/bug-405495'
...
Conflicts:
ChangeLog
arch/x86_64/modules_load
13 years ago
Sebastian Pipping
1159b4c2f6
Make sure the sha256 module makes it into the initramfs (bug #405495 )
13 years ago
Robin H. Johnson
995635a2c7
With the new /usr mounting, if the device path that ends up in /proc/mounts ends up being different than in /etc/fstab due to symlinks, mount -a will always exit 32. Avoid by resolving symlinks like util-linux does.
...
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
13 years ago
Robin H. Johnson
51ec555f6d
modules_load: include more DM and MD modules for other RAID/LVM configurations.
...
X-Gentoo-Bug: 401583
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=401583
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
13 years ago
Robin H. Johnson
1077359d86
linuxrc /usr mounting
...
Dogfooding of the /usr mount code with the matching OpenRC change to
make the mounts RW revealed some bugs and gotchas in our prior code, now
fixed and verified to work.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
13 years ago
Robin H. Johnson
94dc288487
Customizable initramfs compression based on Pentoo genkernel fork
...
This implements customizable initramfs compression, based on the Pentoo
genkernel fork (SVN revs r2142, r2145, by Jens Pranaitis
<jens@chaox.net>).
New configuration option COMPRESS_INITRD_TYPE to allow manual selection,
whereas the Pentoo fork provided auto-selection based on what was
available in the kernel configuration. Auto-selection is used by
default, and is available with the argument of 'best' to the new option.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
13 years ago
Richard Yao
fc98fa9d89
Implement ZFS Support
...
This provides ZFS support, to go with the sys-fs/zfs package.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> (cleanups)
13 years ago
Robin H. Johnson
af26e433cb
Support virtio devices, and provide fallback of all remaining devices.
...
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
13 years ago
Rick Farina
8c76eb9e51
Add sdcard device support
...
built in sd card readers are called /dev/mmcblk* which was not
supported. This patch fixes that issue.
Signed-of-By: Rick Farina <sidhayn@gmail.com>
13 years ago
Sebastian Pipping
f84f42b4e2
Re-activate mdstart in busybox config
13 years ago
Sebastian Pipping
5feb521988
Busybox config: Enable verbose usage
13 years ago