Sebastian Pipping [Mon, 14 May 2012 00:14:38 +0000 (02:14 +0200)]
Bump version to 3.4.32
Sebastian Pipping [Mon, 14 May 2012 00:14:13 +0000 (02:14 +0200)]
Stop removing lvm/dmsetup from the initramfs (bug #415697)
Sebastian Pipping [Sat, 12 May 2012 18:42:29 +0000 (20:42 +0200)]
Set CONFIG_DEVTMPFS=y on x86, x86_64, default for udev
Sebastian Pipping [Sat, 12 May 2012 14:21:32 +0000 (16:21 +0200)]
Bump version to 3.4.31
Richard Yao [Wed, 2 May 2012 02:28:10 +0000 (22:28 -0400)]
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>
Richard Yao [Mon, 30 Apr 2012 17:34:01 +0000 (13:34 -0400)]
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
Richard Yao [Mon, 30 Apr 2012 16:39:04 +0000 (12:39 -0400)]
Verify that binaries exist before startVolumes calls them
Richard Yao [Tue, 24 Apr 2012 07:23:53 +0000 (03:23 -0400)]
Serialize hotplug events to mimic udev
Richard Yao [Tue, 24 Apr 2012 06:31:00 +0000 (02:31 -0400)]
Update genkernel ZFS warnings
Richard Yao [Tue, 24 Apr 2012 05:52:08 +0000 (01:52 -0400)]
Make --bootloader=grub2 set debug instead of single in grub.cfg
Richard Yao [Tue, 24 Apr 2012 05:51:33 +0000 (01:51 -0400)]
Fix indentation in set_bootloader_grub2()
Robin H. Johnson [Wed, 18 Apr 2012 02:45:05 +0000 (19:45 -0700)]
lddtree call must be outside the for loop.
Robin H. Johnson [Mon, 16 Apr 2012 03:15:46 +0000 (03:15 +0000)]
Fix date on some changelog items.
Robin H. Johnson [Mon, 16 Apr 2012 03:15:01 +0000 (03:15 +0000)]
gen_initramfs: Use CC0 instead of public domain for copy_binaries to cover French jurisdiction concerns.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Sebastian Pipping [Mon, 16 Apr 2012 03:06:25 +0000 (05:06 +0200)]
Adjust licensing policy on copy_binaries() after a chat with robbat2
Sebastian Pipping [Mon, 16 Apr 2012 02:37:01 +0000 (04:37 +0200)]
Merge branch 'cryptsetup'
Conflicts:
ChangeLog
Sebastian Pipping [Mon, 16 Apr 2012 02:35:18 +0000 (04:35 +0200)]
Make sure that we can use our own copy_binaries in the future
Sebastian Pipping [Mon, 16 Apr 2012 02:10:17 +0000 (04:10 +0200)]
Bump version to 3.4.30
Sebastian Pipping [Mon, 16 Apr 2012 01:55:46 +0000 (03:55 +0200)]
Support a non-static cryptsetup binary (bug #409277)
.. by making use of copy_binaries
Sebastian Pipping [Mon, 16 Apr 2012 01:18:48 +0000 (03:18 +0200)]
Add error detection to copy_binaries
Robin H. Johnson [Sun, 15 Apr 2012 02:24:47 +0000 (02:24 +0000)]
gen_initramfs: Release the copy_binaries function as public domain.
The copy_binaries function is explicitly released into the public domain to
encourage wide adoption and re-use.
This is to enable use in some cases of BSD and other licensing, and
specifically avoiding the need to be party to any contributor agreements.
Additionally, the code could be considered of trivial length in some regions.
Written by:
- Robin H. Johnson <robbat2@gentoo.org> (complete rewrite)
- Richard Yao <ryao@cs.stonybrook.edu> (original concept)
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Robin H. Johnson [Sun, 15 Apr 2012 02:13:37 +0000 (02:13 +0000)]
Handle other possible paths for LVM.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Richard Yao [Sun, 8 Apr 2012 01:20:06 +0000 (21:20 -0400)]
Fix README to list dependency introduced by
1079122ea0c1733024dbebadd2ae8ad2c88a9bee
Sebastian Pipping [Thu, 12 Apr 2012 04:17:54 +0000 (06:17 +0200)]
Make sure the previous move of cd commands cannot result in unexpected regressions
Richard Yao [Thu, 15 Mar 2012 21:45:04 +0000 (17:45 -0400)]
Reorder mdev initialization to mimic udev boot
Richard Yao [Sat, 7 Apr 2012 20:56:49 +0000 (16:56 -0400)]
Enable real_root=ZFS to permit booting off ZFS
Richard Yao [Sat, 7 Apr 2012 21:17:50 +0000 (17:17 -0400)]
Move ZFS binary check outside of commandline loop
Sebastian Pipping [Mon, 9 Apr 2012 02:43:50 +0000 (04:43 +0200)]
Merge branch 'keymaps'
Acked-by: Rick Farina <sidhayn@gmail.com>
Sebastian Pipping [Mon, 9 Apr 2012 02:43:09 +0000 (04:43 +0200)]
Extend change log
Sebastian Pipping [Mon, 9 Apr 2012 01:36:55 +0000 (03:36 +0200)]
Add keymap "sf", i.e. Switzerland (French) from Pentoo
Sebastian Pipping [Mon, 9 Apr 2012 01:37:55 +0000 (03:37 +0200)]
Fix keymap permissions (no need to be executable)
Sebastian Pipping [Mon, 9 Apr 2012 01:16:16 +0000 (03:16 +0200)]
Remove keymap trq/38 as it contains C sources of test(1) rather than a keymap at the moment
Sebastian Pipping [Mon, 9 Apr 2012 00:51:43 +0000 (02:51 +0200)]
Untar keymaps
Sebastian Pipping [Sun, 8 Apr 2012 22:13:29 +0000 (00:13 +0200)]
Bump version to 3.4.29
Sebastian Pipping [Sun, 8 Apr 2012 22:12:10 +0000 (00:12 +0200)]
Merge branch 'bug-388437'
Sebastian Pipping [Sun, 8 Apr 2012 22:11:24 +0000 (00:11 +0200)]
Mention Tomasz Wasiak in change log
Sebastian Pipping [Sun, 8 Apr 2012 22:07:35 +0000 (00:07 +0200)]
/etc/defaults/grub -> /etc/default/grub
Sebastian Pipping [Sun, 8 Apr 2012 22:07:17 +0000 (00:07 +0200)]
grub-mkconfig -> grub2-mkconfig
Sebastian Pipping [Sun, 8 Apr 2012 19:41:19 +0000 (21:41 +0200)]
Reduce code duplication in set_bootloader_grub
Mike Auty [Sun, 8 Apr 2012 19:31:37 +0000 (21:31 +0200)]
Support for Grub 2
Sebastian Pipping [Sun, 8 Apr 2012 18:32:42 +0000 (20:32 +0200)]
Merge branch 'bug-411197'
Sebastian Pipping [Sun, 8 Apr 2012 18:29:22 +0000 (20:29 +0200)]
Extend change log
Sebastian Pipping [Sun, 8 Apr 2012 18:24:14 +0000 (20:24 +0200)]
Add "fastest" to supported initrd compressions
Sebastian Pipping [Sun, 8 Apr 2012 18:27:08 +0000 (20:27 +0200)]
Refactor code selecting best available initrd compression
Sebastian Pipping [Sun, 8 Apr 2012 18:27:01 +0000 (20:27 +0200)]
Support comression "lzop" (not just "lzo") as wrongly advertised by comments in genkernel.conf before
Sebastian Pipping [Sun, 8 Apr 2012 18:03:17 +0000 (20:03 +0200)]
Be more helpful when requested compression is not available
Sebastian Pipping [Sun, 8 Apr 2012 17:42:15 +0000 (19:42 +0200)]
Error out on unknown initrd compression, reported by Peter Gantner (bug #411197)
Sebastian Pipping [Sun, 8 Apr 2012 17:41:34 +0000 (19:41 +0200)]
Fix initrd compression "gzip", reported by Peter Gantner (bug #411197)
Sebastian Pipping [Fri, 30 Mar 2012 17:54:32 +0000 (19:54 +0200)]
Bump version to 3.4.28
Sebastian Pipping [Fri, 30 Mar 2012 17:32:40 +0000 (19:32 +0200)]
Merge branch 'fix-docache'
Conflicts:
ChangeLog
Sebastian Pipping [Fri, 30 Mar 2012 17:29:14 +0000 (19:29 +0200)]
Merge branch 'bug-410073'
Sebastian Pipping [Thu, 29 Mar 2012 17:46:26 +0000 (19:46 +0200)]
Restore original /dev/tty after GPG (bug #410073)
Sebastian Pipping [Thu, 22 Mar 2012 15:18:50 +0000 (16:18 +0100)]
Bump version to 3.4.27
Sebastian Pipping [Thu, 22 Mar 2012 15:17:12 +0000 (16:17 +0100)]
Merge branch 'bug-409277'
Sebastian Pipping [Thu, 22 Mar 2012 15:07:23 +0000 (16:07 +0100)]
Fail hard on LUKS inclusion error (bug #409277), advise about sys-fs/cryptsetup[static], drop support for cryptsetup binary from /bin/
Sebastian Pipping [Thu, 22 Mar 2012 15:06:50 +0000 (16:06 +0100)]
Make errors stand out more
Sebastian Pipping [Thu, 22 Mar 2012 03:12:27 +0000 (04:12 +0100)]
Bump version to 3.4.26
Sebastian Pipping [Thu, 22 Mar 2012 03:08:30 +0000 (04:08 +0100)]
Merge branch 'bug-405495'
Sebastian Pipping [Tue, 20 Mar 2012 03:08:18 +0000 (04:08 +0100)]
Load crypto modules automatically
Sebastian Pipping [Sat, 17 Mar 2012 01:23:43 +0000 (02:23 +0100)]
Fix docache (bug #397309)
Sebastian Pipping [Fri, 16 Mar 2012 22:40:14 +0000 (23:40 +0100)]
Drop into debug shell when squashfs could not be mounted
Sebastian Pipping [Fri, 16 Mar 2012 22:37:52 +0000 (23:37 +0100)]
Drop into debug shell when files could not be copied into tmpfs
Sebastian Pipping [Fri, 16 Mar 2012 22:36:30 +0000 (23:36 +0100)]
Improve handling of missing /etc/fstab
Sebastian Pipping [Fri, 16 Mar 2012 22:34:45 +0000 (23:34 +0100)]
Message cosmetics
Sebastian Pipping [Fri, 16 Mar 2012 21:13:04 +0000 (22:13 +0100)]
Extract function do_rundebugshell
Sebastian Pipping [Fri, 16 Mar 2012 19:08:25 +0000 (20:08 +0100)]
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
Robin H. Johnson [Mon, 12 Mar 2012 19:37:45 +0000 (12:37 -0700)]
Verbump for enabling /usr mounting code.
Robin H. Johnson [Mon, 12 Mar 2012 19:36:35 +0000 (12:36 -0700)]
Enable live mounting of /usr. Was supposed to have been in 3.4.25.
Robin H. Johnson [Sat, 10 Mar 2012 21:25:13 +0000 (13:25 -0800)]
Bump version for release.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Robin H. Johnson [Sat, 10 Mar 2012 21:23:28 +0000 (13:23 -0800)]
Merge remote-tracking branch 'origin/bug-405495'
Conflicts:
ChangeLog
arch/x86_64/modules_load
Sebastian Pipping [Sat, 25 Feb 2012 00:30:55 +0000 (01:30 +0100)]
Make sure the sha256 module makes it into the initramfs (bug #405495)
Robin H. Johnson [Mon, 20 Feb 2012 06:58:10 +0000 (22:58 -0800)]
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>
Robin H. Johnson [Tue, 14 Feb 2012 08:31:46 +0000 (08:31 +0000)]
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>
Robin H. Johnson [Sun, 12 Feb 2012 06:47:32 +0000 (06:47 +0000)]
More UTILS_CROSS_COMPILE prefix on strip calls.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Robin H. Johnson [Sun, 12 Feb 2012 01:59:56 +0000 (17:59 -0800)]
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>
Robin H. Johnson [Sun, 12 Feb 2012 01:50:42 +0000 (17:50 -0800)]
Bug #265005: ensure CROSS_COMPILE is set for cross-compile strip calls to work.
Robin H. Johnson [Sun, 12 Feb 2012 01:21:47 +0000 (17:21 -0800)]
Bug #398467: Update dmraid. Also add other patches from Portage tree.
Robin H. Johnson [Sun, 12 Feb 2012 01:16:27 +0000 (17:16 -0800)]
device-mapper "update". It was merged into LVM2-2.02.67 upstream in 2010. Bug #398467 is wrong for the device-mapper update.
Robin H. Johnson [Thu, 9 Feb 2012 07:40:51 +0000 (23:40 -0800)]
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>
Robin H. Johnson [Mon, 6 Feb 2012 10:00:09 +0000 (10:00 +0000)]
Ensure default for new initramfs compression is used.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Robin H. Johnson [Mon, 6 Feb 2012 09:52:55 +0000 (09:52 +0000)]
Bugfixes in new code branches that I didn't test fully.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Robin H. Johnson [Mon, 6 Feb 2012 09:42:21 +0000 (09:42 +0000)]
Update documentation for new initramfs compression.
Robin H. Johnson [Mon, 6 Feb 2012 08:33:10 +0000 (08:33 +0000)]
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>
Richard Yao [Sat, 28 Jan 2012 18:57:11 +0000 (13:57 -0500)]
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)
Robin H. Johnson [Mon, 6 Feb 2012 08:05:54 +0000 (08:05 +0000)]
copy_binaries, multipath: refactor for ease of use and readability.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Richard Yao [Mon, 6 Feb 2012 08:00:32 +0000 (08:00 +0000)]
Fix hardcoded paths in multipath support
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Richard Yao [Wed, 1 Feb 2012 03:20:49 +0000 (22:20 -0500)]
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)
Robin H. Johnson [Mon, 6 Feb 2012 07:50:17 +0000 (07:50 +0000)]
Support virtio devices, and provide fallback of all remaining devices.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Sebastian Pipping [Fri, 3 Feb 2012 14:12:25 +0000 (15:12 +0100)]
Extend change log
Rick Farina [Fri, 3 Feb 2012 04:57:47 +0000 (23:57 -0500)]
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>
Richard Yao [Sat, 28 Jan 2012 01:08:58 +0000 (20:08 -0500)]
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).
Sebastian Pipping [Tue, 24 Jan 2012 23:25:07 +0000 (00:25 +0100)]
Bump version to 3.4.24
Sebastian Pipping [Tue, 24 Jan 2012 23:26:11 +0000 (00:26 +0100)]
Extend .gitignore so echangelog ignores release tarballs
Sebastian Pipping [Tue, 24 Jan 2012 03:50:18 +0000 (04:50 +0100)]
Unset CONFIG_SYSFS_DEPRECATED for udev (bug #335763)
Sebastian Pipping [Sun, 15 Jan 2012 00:16:32 +0000 (01:16 +0100)]
Bump version to 3.4.23.1
Sebastian Pipping [Sat, 14 Jan 2012 23:04:54 +0000 (00:04 +0100)]
Re-activate mdstart in busybox config
Sebastian Pipping [Sat, 14 Jan 2012 23:02:38 +0000 (00:02 +0100)]
Port mdstart patch to busybox 1.19.3
Sebastian Pipping [Fri, 13 Jan 2012 23:11:13 +0000 (00:11 +0100)]
Busybox config: Enable verbose usage
Sebastian Pipping [Fri, 13 Jan 2012 23:04:33 +0000 (00:04 +0100)]
Update busybox config using "yes '' | make oldconfig"
Sebastian Pipping [Fri, 13 Jan 2012 21:44:45 +0000 (22:44 +0100)]
Bump version to 3.4.23