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
Sebastian Pipping
31c3c7ca88
Update busybox config using "yes '' | make oldconfig"
13 years ago
Robin H. Johnson
ae2a061ca7
Disable the /usr mount code until OpenRC section is ready, so that it goes to read-write properly. It was usable in systemd already...
13 years ago
Robin H. Johnson
603a197839
Code to mount /usr and other filesystems as needed for new udev and systemd.
...
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
13 years ago
Robin H. Johnson
953c7e5b42
Awk support in busybox is needed for initramfs setup code (to parse fstab).
13 years ago
Christian Kruse
c92fe6f0e6
Introduce boot parameter root_trim=(yes|no) for SSDs
13 years ago
Borg Onion
b977d66940
Support for glibc-2.14 systems
...
Hello,
Due to the changes in glibc-2.14 busybox no longer compiles when NFS
support is enabled. This breaks genkernel. The following is a very
crude patch to just make things work on glibc-2.14 systems. A better
patch would be to detect glibc-2.14 and then make a config decision.
The best patch would be to port libtirpc to openssl, make busybox link
against libtirpc, restore NFS support, and put an end to this whole
mess. But in the meantime:
commit 80d1e89995f055a37f07f9f7f4c7e21660abd527
Author: Borg Onion <borg.onion@gmail.com>
Date: Sat Dec 3 18:02:48 2011 -0800
Disable NFS support to enable glibc-2.14 compatibility
13 years ago
Sebastian Pipping
8f8676adbd
Fix return value of crypt_filter() which caused bogus LUKS opening errors (bug #383545 )
13 years ago
Fabio Erculiani
84cc7ccdfb
Do not hardcode /mnt/cdrom path across the whole code, use CDROOT_PATH
...
instead. At the same time, mount cdrom into /mnt/cdrom instead of
/newroot/mnt/cdrom (which is now just a bind mount), this avoids
losetup to expose unavailable paths inside the live system, breaking
mkfs.btrfs (next upstream version, which does silly things with
/proc/mounts).
13 years ago
Robin H. Johnson
00b5b3ab66
Allow real_root to point to LVM-created symlinks.
...
Needed to unbreak root-on-LVM on my laptop.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
13 years ago
Robin H. Johnson
a487275640
Removing dangling backtick to make script work.
...
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
13 years ago
Fabio Erculiani
1e50bd01d2
trivial: cleanup code, drop whitespaces and some more cruft
14 years ago
Fabio Erculiani
d6696d0df6
syntax: drop parse_opt usage and crufty, deprecated subshelling through ``
...
These changes have been ported from official Gentoo LiveDVD
14 years ago
Sebastian Pipping
3453a0621c
Fix quoting issue (bug #380729 )
14 years ago
Fabio Erculiani
4d54e7d098
aufs: add basic support to AUFS2, requires kernel with aufs module or built-in
14 years ago