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 [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
Sebastian Pipping [Fri, 13 Jan 2012 21:24:39 +0000 (22:24 +0100)]
Copy some patches from busybox/1.18.1 to busybox/1.19.3
Sebastian Pipping [Fri, 13 Jan 2012 21:23:43 +0000 (22:23 +0100)]
Add a patch for e2fsprogs/1.42 from main tree
Sebastian Pipping [Fri, 13 Jan 2012 20:57:10 +0000 (21:57 +0100)]
Copy patch from lvm/2.02.74 to lvm/2.02.88
Robin H. Johnson [Fri, 13 Jan 2012 20:30:47 +0000 (12:30 -0800)]
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>
Sebastian Pipping [Fri, 13 Jan 2012 19:02:43 +0000 (20:02 +0100)]
Replace "# FOO=bar" by "#FOO=bar" in genkernel.conf (bug #398471)
Tomasz Wasiak [Thu, 12 Jan 2012 03:38:47 +0000 (04:38 +0100)]
Support application of patches for more tools
Sebastian Pipping [Thu, 12 Jan 2012 03:19:12 +0000 (04:19 +0100)]
Support application of patches for more tools
Robin H. Johnson [Sun, 8 Jan 2012 02:30:21 +0000 (02:30 +0000)]
Verbump for last commit as a fix.
Robin H. Johnson [Sun, 8 Jan 2012 02:29:48 +0000 (02:29 +0000)]
Disable the /usr mount code until OpenRC section is ready, so that it goes to read-write properly. It was usable in systemd already...
Sebastian Pipping [Sun, 8 Jan 2012 01:38:53 +0000 (02:38 +0100)]
Add mpt2sas to auto-load SCSI modules
Robin H. Johnson [Fri, 6 Jan 2012 06:36:53 +0000 (06:36 +0000)]
Bump to 3.4.22 to reflect /usr mount support.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Robin H. Johnson [Fri, 6 Jan 2012 04:18:37 +0000 (04:18 +0000)]
Code to mount /usr and other filesystems as needed for new udev and systemd.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Robin H. Johnson [Fri, 6 Jan 2012 04:25:05 +0000 (04:25 +0000)]
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>
Robin H. Johnson [Fri, 6 Jan 2012 04:23:14 +0000 (04:23 +0000)]
Fix some defaults otherwise you get an initramfs without any modules!
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Robin H. Johnson [Fri, 6 Jan 2012 04:17:29 +0000 (04:17 +0000)]
Missing changelog, I fail.
Robin H. Johnson [Fri, 6 Jan 2012 02:16:27 +0000 (02:16 +0000)]
Awk support in busybox is needed for initramfs setup code (to parse fstab).
Robin H. Johnson [Fri, 6 Jan 2012 01:18:23 +0000 (01:18 +0000)]
Multipath has been done for a while now.
Robin H. Johnson [Fri, 6 Jan 2012 01:14:53 +0000 (01:14 +0000)]
Add a configuration option for --install, so users can get it as a default. Defaults to "no", due to catalyst.
Robin H. Johnson [Fri, 6 Jan 2012 01:11:30 +0000 (01:11 +0000)]
Fix up changelog
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Sebastian Pipping [Thu, 5 Jan 2012 20:31:57 +0000 (21:31 +0100)]
Bump version to 3.4.21.1
Sebastian Pipping [Thu, 5 Jan 2012 20:29:41 +0000 (21:29 +0100)]
Bump version to 3.4.21
Sebastian Pipping [Thu, 5 Jan 2012 16:49:36 +0000 (17:49 +0100)]
Improve docs on boot parameter root_trim
Sebastian Pipping [Thu, 5 Jan 2012 16:45:17 +0000 (17:45 +0100)]
Extend change log
Christian Kruse [Thu, 5 Jan 2012 16:45:38 +0000 (17:45 +0100)]
Introduce boot parameter root_trim=(yes|no) for SSDs
Sebastian Pipping [Wed, 4 Jan 2012 14:31:27 +0000 (15:31 +0100)]
Extend change log
Borg Onion [Mon, 5 Dec 2011 00:11:50 +0000 (16:11 -0800)]
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
Robin H. Johnson [Wed, 4 Jan 2012 03:38:00 +0000 (03:38 +0000)]
Add a few more directories and initial device nodes to the initramfs, and improve datestamp. Based on development by WilliamH for initramfs /usr mounting.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Robin H. Johnson [Wed, 4 Jan 2012 03:27:20 +0000 (03:27 +0000)]
Improve option handling.
Provide real boolean commandline options for options that were
previously only available as booleans in the config, so that they can be
enable in configuration and overridden to disable on the commandline.
Remove negation on options: NOINSTALL, NORAMDISKMODULES,
NO_KERNEL_SOURCES.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Sebastian Pipping [Tue, 8 Nov 2011 17:20:16 +0000 (18:20 +0100)]
Bump version to 3.4.20
Sebastian Pipping [Mon, 31 Oct 2011 21:55:15 +0000 (22:55 +0100)]
Fix return value of crypt_filter() which caused bogus LUKS opening errors (bug #383545)
Sebastian Pipping [Sun, 30 Oct 2011 13:32:23 +0000 (14:32 +0100)]
Bump version to 3.4.19
Fabio Erculiani [Tue, 25 Oct 2011 09:45:41 +0000 (11:45 +0200)]
fix random build failures during e2fsprogs, force -j1
Fabio Erculiani [Sat, 8 Oct 2011 21:26:51 +0000 (23:26 +0200)]
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).
Robin H. Johnson [Fri, 7 Oct 2011 00:33:13 +0000 (00:33 +0000)]
Fix patch typo that broke compile.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Robin H. Johnson [Fri, 23 Sep 2011 01:51:23 +0000 (01:51 +0000)]
Missed Changelog update before.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Robin H. Johnson [Thu, 22 Sep 2011 22:43:47 +0000 (22:43 +0000)]
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>
Robin H. Johnson [Thu, 22 Sep 2011 07:44:52 +0000 (07:44 +0000)]
Removing dangling backtick to make script work.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Fabio Erculiani [Tue, 13 Sep 2011 09:58:30 +0000 (11:58 +0200)]
trivial: cleanup code, drop whitespaces and some more cruft
Fabio Erculiani [Tue, 13 Sep 2011 09:16:17 +0000 (11:16 +0200)]
dmraid requires dmsetup to assign UUID to discovered RAID volumes, close bug #382555
Fabio Erculiani [Sun, 11 Sep 2011 07:42:30 +0000 (09:42 +0200)]
syntax: drop parse_opt usage and crufty, deprecated subshelling through ``
These changes have been ported from official Gentoo LiveDVD
Sebastian Pipping [Tue, 30 Aug 2011 15:33:27 +0000 (17:33 +0200)]
Fix quoting issue (bug #380729)
Sebastian Pipping [Tue, 30 Aug 2011 12:44:06 +0000 (14:44 +0200)]
Enable patch application for mdadm, add patch to fix compilation (bug #381089)
Fabio Erculiani [Sun, 28 Aug 2011 09:23:03 +0000 (11:23 +0200)]
aufs: add basic support to AUFS2, requires kernel with aufs module or built-in
Fabio Erculiani [Tue, 16 Aug 2011 20:01:13 +0000 (22:01 +0200)]
gen_compile: correct MAKEOPTS usage on utils task
Fabio Erculiani [Tue, 16 Aug 2011 20:00:00 +0000 (22:00 +0200)]
gen_compile: always use -j1 with kernel *_install targets, fixes compilation with make 3.82
Amadeusz Żołnowski [Tue, 9 Aug 2011 14:22:32 +0000 (16:22 +0200)]
gen_configkernel: canonicalize path to kernel config
Sebastian Pipping [Sat, 6 Aug 2011 17:13:11 +0000 (19:13 +0200)]
No longer copy /lib/libsysfs*so* for multipath-tools (bug #300841, bug #377709)
Sebastian Pipping [Sun, 31 Jul 2011 03:47:16 +0000 (05:47 +0200)]
End support for 4 years old busybox 1.7.4 (bug #377133)
Sebastian Pipping [Sun, 31 Jul 2011 03:43:25 +0000 (05:43 +0200)]
Improve doc on filing bugs
Sebastian Pipping [Thu, 28 Jul 2011 05:56:49 +0000 (07:56 +0200)]
Bump version to 3.4.18
Sebastian Pipping [Wed, 27 Jul 2011 17:38:15 +0000 (19:38 +0200)]
Fix display of seconds waiting (bug #376575)
Robin H. Johnson [Tue, 26 Jul 2011 22:34:00 +0000 (22:34 +0000)]
Bug #376467: fix kernel version checks for 3.0 kernel.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Sebastian Pipping [Sat, 23 Jul 2011 09:42:27 +0000 (11:42 +0200)]
Fix permissions of /dev/pts (bug #375947)
Sebastian Pipping [Sat, 23 Jul 2011 09:33:44 +0000 (11:33 +0200)]
Extend ChangeLog
Fabio Erculiani [Wed, 20 Jul 2011 19:30:13 +0000 (21:30 +0200)]
trivial update to man page related to --kernel-target=
Fabio Erculiani [Wed, 20 Jul 2011 19:26:12 +0000 (21:26 +0200)]
better document new --make-target= option
Fabio Erculiani [Wed, 20 Jul 2011 15:54:56 +0000 (17:54 +0200)]
Make possible to compile XEN based kernels providing --kernel-target= and --kernel-binary= switches