Peter Hjalmarsson
7e224199ff
Support using init= on the command line
...
We do not support ramdisk, only initramfs nowdays.
So init= is a dead command, and we may as well have it do the same as
it does for dracut and in the Linux kernel documentation.
(Use rdinit to choose the initramfs init file)
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
12 years ago
Robin H. Johnson
ec4628ee5e
Clean up module drift over the years. Just MODULES_CRYPTO left.
...
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
12 years ago
Robin H. Johnson
e6de60283b
Bug #286187 : Complete multipath support.
...
Somewhere in the mists of time we lost part of the multipath patch, so
we were bundling the userspace, but not the kernel modules, or ever
using it.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
12 years ago
Robin H. Johnson
bddbeeb887
Bug #351873 : More livecd control, and initramfs livecd argument documentation.
...
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
12 years ago
Robin H. Johnson
4d42bbf35b
Bug #336170 : amd74xx was long-replaced by pata_amd.
...
The old driver is problematic, as even with the pata_amd module loaded,
it will not release the device. Disable the old driver on remaining
platforms, add pata_amd where missing & needed (not alpha).
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
12 years ago
Robin H. Johnson
097e88ff46
Attempt to fix bug #421839 : missing /run on LiveCD environment.
...
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
12 years ago
Dustin Frisch
d89f3d59e8
Check for file from real_init=FILE rather than /sbin/init (bug #437080 )
12 years ago
Fabio Erculiani
f15425841e
mount /mnt/cdrom inside target chroot even when aufs/unionfs is disabled
13 years ago
Peter Hjalmarsson
e779547b72
Make root_trim work with crypt_root_key
...
Keep options already set for cryptsetup when using crypt_root_key*
13 years ago
Sebastian Pipping
d843544c70
Communicate inavailability of keymap #38 better
13 years ago
Sebastian Pipping
c5c9ca49f6
Further improve wording in software.sh
13 years ago
Peter Hjalmarsson
ec6b2536d8
Make defaults/software.sh not override variables already present
13 years ago
Sebastian Pipping
6d35693a8b
Move software version defaults for defaults/software.sh to ease the etc-update game
13 years ago
Sebastian Pipping
ed09edb1c0
Resolve cryptic awk-based code docuplication
13 years ago
Robin H. Johnson
1486a0402c
Flip awk return values.
...
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
13 years ago
Robin H. Johnson
c79d57926f
Minor thinko in devpts check.
...
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
13 years ago
Robin H. Johnson
c924bde4b7
Prior commit to only mount devtmpfs and devpts if they were not already mounted made assumptions about the device names they were mounted as. Check the filesystem column of /proc/mounts instead.
...
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
13 years ago
Richard Yao
e05ab0d1a1
Force ZFS to explicitly import pool when LUKS is present
13 years ago
Richard Yao
1e92078650
USB 3.0 Support: Load xhci-hcd when available
13 years ago
Richard Yao
3ef477862d
Run mdev -s after modules are loaded
...
Running `mdev -s` will ensure that device nodes are properly initialized.
It does not function as a netlink hotplug daemon. We must run it after
the modules are loaded to ensure that /dev/zfs has been created before
userland programs attempt to use it.
13 years ago
Richard Yao
d7cf3689bf
Linux 3.5 renames usbhid to hid-generic
...
We add hid-generic to the modules_load list alongside usbhid to avoid
issues.
13 years ago
Richard Yao
908a463e07
Support module options set in /etc/module.d, amend cmdline options patch
13 years ago
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