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
265363f79d
Fix dmraid building with LVM/device-mapper
...
dmraid is entirely broken if you try to use the system static
LVM/device-mapper. Instead, always build our own LVM2 for the initramfs,
using DESTDIR for cleaner install. Dead code paths for old LVM2 build
not removed yet until more users have tested.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
13 years ago
Robin H. Johnson
8e800df298
More UTILS_CROSS_COMPILE prefix on strip calls.
...
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
bd693b8db3
Bug #265005 : ensure CROSS_COMPILE is set for cross-compile strip calls to work.
13 years ago
Robin H. Johnson
e293983850
Bug #398467 : Update dmraid. Also add other patches from Portage tree.
13 years ago
Robin H. Johnson
45e8dbfa0e
device-mapper "update". It was merged into LVM2-2.02.67 upstream in 2010. Bug #398467 is wrong for the device-mapper update.
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
5eeadc8d26
Ensure default for new initramfs compression is used.
...
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
13 years ago
Robin H. Johnson
1240654461
Bugfixes in new code branches that I didn't test fully.
...
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
13 years ago
Robin H. Johnson
4ac027367e
Update documentation for new initramfs compression.
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
5f4d31dfd0
copy_binaries, multipath: refactor for ease of use and readability.
...
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
13 years ago
Richard Yao
a871576d17
Fix hardcoded paths in multipath support
...
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
13 years ago
Richard Yao
1079122ea0
copy_binaries: utility function to pick up a binary and needed libs
...
The existing multipath functionality manually picks up a binary and lots
of needed libraries manually, and sometimes misses libraries if the
binary was linked against something else.
Use lddtree from app-misc/pax-utils to get all libraries with the
binary. The only ones that will be missed are those that are dlopen()ed.
cpio is used for copying to preserve directory structure.
lddtree usage replaces a larger manual function from calling ldd, that
was also vulnerable to injections.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
(commit message rewritten)
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
Sebastian Pipping
7452b0733c
Extend change log
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
Richard Yao
73520cb6b2
Implement --[no-]compress-initramfs option to complement --[no-]integrated-initramfs
...
When using an integrated initramfs (including in kernel during build),
it's better NOT to compress the initramfs, as the kernel build process
will then be re-compressing it. This can provide space savings on disk
as well as potential time & memory savings (one less decompress pass is
needed before the kernel can use the initramfs).
This functionality was previously available in the undocumented
COMPRESS_INITRD variable.
Code-by: Richard Yao <ryao@cs.stonybrook.edu>
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
(commit message rewritten).
13 years ago
Sebastian Pipping
7879a0c74c
Bump version to 3.4.24
13 years ago
Sebastian Pipping
06570e177b
Extend .gitignore so echangelog ignores release tarballs
13 years ago
Sebastian Pipping
6cde7bcb66
Unset CONFIG_SYSFS_DEPRECATED for udev (bug #335763 )
13 years ago
Sebastian Pipping
de79822567
Bump version to 3.4.23.1
13 years ago
Sebastian Pipping
f84f42b4e2
Re-activate mdstart in busybox config
13 years ago
Sebastian Pipping
5feb1fe092
Port mdstart patch to busybox 1.19.3
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
Sebastian Pipping
e53d1931d0
Bump version to 3.4.23
13 years ago
Sebastian Pipping
4974b14525
Copy some patches from busybox/1.18.1 to busybox/1.19.3
13 years ago
Sebastian Pipping
6622d8cfb8
Add a patch for e2fsprogs/1.42 from main tree
13 years ago
Sebastian Pipping
45945cf7bd
Copy patch from lvm/2.02.74 to lvm/2.02.88
13 years ago
Robin H. Johnson
b49f1f377d
Prior to commit a141d715
, CMD_NOINSTALL had no default set, but most of the usages were of the form "! isTrue ${CMD_NOINSTALL}", which on an unset value, came out as false. These were replaced by "isTrue ${CMD_INSTALL}", but my analysis of the needed default value was wrong, and was set to false instead of true.
...
Signed-off-by: Robin H. Johnson <robbat2@orbis-terrarum.net>
13 years ago
Sebastian Pipping
146934e1a8
Replace "# FOO=bar" by "#FOO=bar" in genkernel.conf (bug #398471 )
13 years ago
Tomasz Wasiak
9ef832b915
Support application of patches for more tools
13 years ago
Sebastian Pipping
7314e87712
Support application of patches for more tools
13 years ago
Robin H. Johnson
8a912226e6
Verbump for last commit as a fix.
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
Sebastian Pipping
16d6148c74
Add mpt2sas to auto-load SCSI modules
13 years ago
Robin H. Johnson
670d3338c0
Bump to 3.4.22 to reflect /usr mount support.
...
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
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
0c2c1f564e
Bump version to 3.4.21.2. Stock configuration of 3.4.21.1 generates unbootable initramfs!
...
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
13 years ago
Robin H. Johnson
e602f05814
Fix some defaults otherwise you get an initramfs without any modules!
...
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
13 years ago
Robin H. Johnson
d2e62dfd16
Missing changelog, I fail.
13 years ago
Robin H. Johnson
953c7e5b42
Awk support in busybox is needed for initramfs setup code (to parse fstab).
13 years ago
Robin H. Johnson
ef4065d0f3
Multipath has been done for a while now.
13 years ago
Robin H. Johnson
8139949026
Add a configuration option for --install, so users can get it as a default. Defaults to "no", due to catalyst.
13 years ago
Robin H. Johnson
c897f80399
Fix up changelog
...
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
13 years ago