W. Trevor King [Fri, 8 Mar 2013 13:54:55 +0000 (08:54 -0500)]
genkernel: Add --kconfig to set specific kernel config options
Some kernel config manipulation options already exist in genkernel
(--lvm, --multipath, ...), but this option allows you to override a
given config setting without rolling a new option specific to that
setting:
$ genkernel ... --kconfig=CONFIG_LOGO=n ...
Ordinarily it would be easier (and more robust, with dependency
checking) to use --menuconfig or similar, but for reproducible
catalyst builds its better to specify the overrides explicitly in the
spec file.
Peter Hjalmarsson [Sun, 3 Mar 2013 21:11:26 +0000 (22:11 +0100)]
Unify copy_binaries() more
As suggested by Vapier in bug #450688.
Signed-off-by: Peter Hjalmarsson <xake@rymdraket.net>
Peter Hjalmarsson [Thu, 7 Feb 2013 12:31:14 +0000 (13:31 +0100)]
Make copy_binaries compatible with lddtree from pax-utils-0.6
On some system the output from the new lddtree does not match with what
genkernel expects, however lddtree have insted gained a new option that
essentially gives what we want with less code.
Signed-off-by: Peter Hjalmarsson <xake@rymdraket.net>
Toralf Förster [Thu, 22 Nov 2012 22:13:17 +0000 (17:13 -0500)]
Fix non-functional init_opts parameter, bug #422471
If INIT_OPTS='' is not specified before the argument loop, scoping rules
will prevent it from being seen by the switch_root invocation.
Signed-off-by: Toralf Förster <toralf.foerster@gmx.de>
Signed-off-by: Richard Yao <ryao@gentoo.org>
Robin H. Johnson [Tue, 20 Nov 2012 00:47:38 +0000 (00:47 +0000)]
linuxrc: part keyword
Clean up documentation and functionality of "part" argument to
initramfs. It is meant to imitate the same option to the kernel.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Fabio Erculiani [Sun, 11 Nov 2012 09:13:03 +0000 (10:13 +0100)]
Unquote ${ZPOOL_FORCE} variable usage.
The default value of ${ZPOOL_USAGE} is unset, quoting it would result into
a "" argument passed to zpool. The workaround to this is to use "dozfs=force"
boot argument.
Signed-off-by: Richard Yao <ryao@gentoo.org>
Richard Yao [Mon, 5 Nov 2012 18:32:08 +0000 (13:32 -0500)]
Make missing ZFS config file failures into warnings, bug #438200
Whenever /etc/zfs/{zdev.conf,zpool.cache} was missing, we would fail.
zpool.cache is not generated during cross compilation, which causes a
failure in Catalyst when building LiveCDs. Users that do not follow a
strict set of installation instructions can also suffer failures as a
consequence of this.
zpool.cache includes information about known pools that enables ZFS to
detect situations where an entire pool disappears. It is also required
to do pool import in corner cases, such as those those involving
file-based pools, and has the beneficial effect of reducing pool import
times. Unconditional omission of zpool.cache in general is not an
option, but for the situations identified, it is okay to convert the
failure into a warning, which is what we do.
Reported-by: Rick Farina <zero_chaos@gentoo.org>
Reported-by: Alexander Zubkov <green@msu.ru>
Signed-off-by: Richard Yao <ryao@gentoo.org>
Richard Yao [Sat, 25 Aug 2012 01:04:23 +0000 (21:04 -0400)]
Remove redundant default no setting
Robin H. Johnson [Fri, 2 Nov 2012 17:15:24 +0000 (17:15 +0000)]
Bump version.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Robin H. Johnson [Fri, 2 Nov 2012 17:15:07 +0000 (17:15 +0000)]
Move to autogenerated ChangeLog.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Marek Sapota [Fri, 2 Nov 2012 17:04:18 +0000 (17:04 +0000)]
Bug #378105: UUID/LABEL support for LUKS keydevs
LUKS keydevs now support mount by UUID/LABEL.
X-Gentoo-Bug: 378105
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=378105
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Tim Harder [Fri, 26 Oct 2012 08:50:56 +0000 (01:50 -0700)]
Change OUTPUTDIR fallback to KERNEL_DIR
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Robin H. Johnson [Fri, 19 Oct 2012 22:20:54 +0000 (15:20 -0700)]
Missing then keyword.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Peter Hjalmarsson [Mon, 9 Apr 2012 18:03:01 +0000 (20:03 +0200)]
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>
Peter Hjalmarsson [Mon, 9 Apr 2012 18:36:56 +0000 (20:36 +0200)]
Update the documentation to reflect current status
We only support creating initramfs nowdays, so RAM disk support is not needed.
Since initramfs does not need root=/dev/ram0 (and we actually ignore it if it is set),
we should not tell people to use it.
We should also stop tell people to use real_root.
Conflicts:
genkernel
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Robin H. Johnson [Mon, 15 Oct 2012 20:57:58 +0000 (20:57 +0000)]
Bump to 3.4.44.2 with depmod corner cases by xake.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Robin H. Johnson [Mon, 15 Oct 2012 20:53:50 +0000 (20:53 +0000)]
Add missing ChangeLog entry for xake's commit
Peter Hjalmarsson [Mon, 15 Oct 2012 20:00:04 +0000 (22:00 +0200)]
Fix calling of depmod
"depmod -e" needs either -F System.map or -E Module.symvers
"depmod -b" resolvs an empty argument to PWD, so only use -b if
INSTALL_MOD_PATH is actually set
Robin H. Johnson [Mon, 15 Oct 2012 05:40:28 +0000 (05:40 +0000)]
Bump for 3.4.44.1 with bugfix-only.
Robin H. Johnson [Mon, 15 Oct 2012 05:39:45 +0000 (05:39 +0000)]
Missing ChangeLog
Robin H. Johnson [Mon, 15 Oct 2012 05:37:11 +0000 (05:37 +0000)]
Fix corner cases on OUTPUTDIR.
If you give the kernel O= with the same dir as the source, it will
complain about an unclean tree.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Sebastian Pipping [Sun, 14 Oct 2012 16:25:15 +0000 (18:25 +0200)]
Bump version to 3.4.44
Robin H. Johnson [Sun, 14 Oct 2012 00:05:16 +0000 (00:05 +0000)]
Bug #432956: Easy to include VirtIO support in kernel.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Robin H. Johnson [Sat, 13 Oct 2012 23:53:20 +0000 (23:53 +0000)]
Clean up module drift over the years. Just MODULES_CRYPTO left.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Robin H. Johnson [Sat, 13 Oct 2012 23:31:31 +0000 (23:31 +0000)]
Document resume parameters.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Robin H. Johnson [Sat, 13 Oct 2012 23:23:15 +0000 (23:23 +0000)]
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>
Robin H. Johnson [Sat, 13 Oct 2012 22:52:42 +0000 (22:52 +0000)]
Bug #351873: More livecd control, and initramfs livecd argument documentation.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Robin H. Johnson [Sat, 13 Oct 2012 22:13:46 +0000 (22:13 +0000)]
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>
Robin H. Johnson [Sat, 13 Oct 2012 22:02:59 +0000 (22:02 +0000)]
Bug #414581: ensure built-in initramfs compress config options are set to avoid silentoldconfig bailing out.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Łukasz Stelmach [Thu, 13 Sep 2012 20:44:45 +0000 (22:44 +0200)]
Add --kernel-outputdir to save files outside the source tree.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Robin H. Johnson [Sat, 13 Oct 2012 21:28:46 +0000 (21:28 +0000)]
Bug #397947: Run depmod on new modules to avoid need to run at every boot on unionfs systems, or systemd that never runs it.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Robin H. Johnson [Sat, 13 Oct 2012 21:26:56 +0000 (21:26 +0000)]
Missing Changelog entry.
Robin H. Johnson [Sat, 13 Oct 2012 18:33:23 +0000 (18:33 +0000)]
Record the version of Genkernel used to build a given initramfs.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Robin H. Johnson [Sat, 13 Oct 2012 18:05:42 +0000 (18:05 +0000)]
Attempt to fix bug #421839: missing /run on LiveCD environment.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Sebastian Pipping [Wed, 3 Oct 2012 16:53:27 +0000 (18:53 +0200)]
Bump version to 3.4.43
Sebastian Pipping [Wed, 3 Oct 2012 16:47:00 +0000 (18:47 +0200)]
Use actual kernel config for check of available compression methods (bug #436820)
Dustin Frisch [Wed, 3 Oct 2012 16:20:16 +0000 (18:20 +0200)]
Check for file from real_init=FILE rather than /sbin/init (bug #437080)
Rick Farina [Sun, 30 Sep 2012 19:17:30 +0000 (21:17 +0200)]
Make e2fsprogs optional (and off by default)
Sebastian Pipping [Sun, 23 Sep 2012 22:30:12 +0000 (00:30 +0200)]
Append e2fsck and mke2fs to initramfs
Original patch by Rick Farina
Sebastian Pipping [Mon, 10 Sep 2012 01:38:40 +0000 (03:38 +0200)]
docs: Fix mail body generation hint
Sebastian Pipping [Mon, 10 Sep 2012 01:27:40 +0000 (03:27 +0200)]
Bump version to 3.4.42
Sebastian Pipping [Mon, 10 Sep 2012 01:25:56 +0000 (03:25 +0200)]
Add busybox 1.20.2 patch: busybox-1.20.2-glibc-sys-resource.patch
Sebastian Pipping [Mon, 10 Sep 2012 01:24:29 +0000 (03:24 +0200)]
Copy busybox patches from 1.20.1 to 1.20.2
Fabio Erculiani [Thu, 30 Aug 2012 16:20:44 +0000 (18:20 +0200)]
mount /mnt/cdrom inside target chroot even when aufs/unionfs is disabled
Peter Hjalmarsson [Wed, 22 Aug 2012 17:12:08 +0000 (19:12 +0200)]
Make root_trim work with crypt_root_key
Keep options already set for cryptsetup when using crypt_root_key*
Robin H. Johnson [Mon, 20 Aug 2012 03:09:04 +0000 (20:09 -0700)]
modules/lvm: dm-thin-pool now requires dm-persistent-data and libcrc32c
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Richard Yao [Tue, 14 Aug 2012 17:01:05 +0000 (13:01 -0400)]
Append trick for propagating changes to live ebuild to docs
Sebastian Pipping [Tue, 14 Aug 2012 15:28:34 +0000 (17:28 +0200)]
Extend docs on release process
Richard Yao [Tue, 14 Aug 2012 14:35:48 +0000 (10:35 -0400)]
Bump version to 3.4.41
Sebastian Pipping [Mon, 13 Aug 2012 20:05:21 +0000 (22:05 +0200)]
Communicate inavailability of keymap #38 better
Sebastian Pipping [Sun, 12 Aug 2012 23:22:13 +0000 (01:22 +0200)]
Merge branch 'software-vars'
Sebastian Pipping [Sun, 12 Aug 2012 23:14:42 +0000 (01:14 +0200)]
Further improve wording in software.sh
Peter Hjalmarsson [Sun, 12 Aug 2012 22:05:01 +0000 (00:05 +0200)]
Move the sourcing of software.sh to genkernel
This way there is no fear of users accidental removing
the source-line from genkernel.conf, ending up with a broken genkernel
Peter Hjalmarsson [Sun, 12 Aug 2012 21:44:59 +0000 (23:44 +0200)]
Make defaults/software.sh not override variables already present
Sebastian Pipping [Sun, 12 Aug 2012 21:39:49 +0000 (23:39 +0200)]
Merge branch 'genkernel-conf-2'
Sebastian Pipping [Sun, 12 Aug 2012 21:39:06 +0000 (23:39 +0200)]
Remove "$Id$" line from genkernel.conf to ease etc-update
Sebastian Pipping [Sun, 12 Aug 2012 21:37:26 +0000 (23:37 +0200)]
Add note on software.sh to genkernel.conf
Sebastian Pipping [Sun, 12 Aug 2012 19:03:38 +0000 (21:03 +0200)]
Merge branch 'genkernel-conf'
Sebastian Pipping [Sun, 12 Aug 2012 18:58:11 +0000 (20:58 +0200)]
Move software version defaults for defaults/software.sh to ease the etc-update game
Sebastian Pipping [Sun, 12 Aug 2012 18:43:02 +0000 (20:43 +0200)]
Fix parsing of --config=... command line option
Before, --config=... could not be combined with anything else on the command line
Sebastian Pipping [Sun, 12 Aug 2012 18:13:10 +0000 (20:13 +0200)]
Report on sourced config files
Sebastian Pipping [Sun, 12 Aug 2012 18:11:07 +0000 (20:11 +0200)]
Extract variable _GENKERNEL_CONF to resolve duplication and later re-use
Sebastian Pipping [Sun, 12 Aug 2012 18:06:34 +0000 (20:06 +0200)]
Extract variable _MODULES_LOAD to resolve duplication and later re-use
Sebastian Pipping [Fri, 27 Jul 2012 23:10:17 +0000 (01:10 +0200)]
Bump version to 3.4.40
Sebastian Pipping [Fri, 27 Jul 2012 22:42:55 +0000 (00:42 +0200)]
Resolve cryptic awk-based code docuplication
Robin H. Johnson [Tue, 24 Jul 2012 18:01:07 +0000 (18:01 +0000)]
Flip awk return values.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Robin H. Johnson [Tue, 24 Jul 2012 17:28:57 +0000 (17:28 +0000)]
Minor thinko in devpts check.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Robin H. Johnson [Tue, 24 Jul 2012 08:26:43 +0000 (08:26 +0000)]
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>
Richard Yao [Sat, 21 Jul 2012 18:20:24 +0000 (14:20 -0400)]
Fix whitespace
Richard Yao [Sat, 21 Jul 2012 17:41:38 +0000 (13:41 -0400)]
Force ZFS to explicitly import pool when LUKS is present
Richard Yao [Sat, 21 Jul 2012 17:17:33 +0000 (13:17 -0400)]
USB 3.0 Support: Load xhci-hcd when available
Sebastian Pipping [Sat, 21 Jul 2012 01:06:27 +0000 (03:06 +0200)]
Bump version to 3.4.39
Richard Yao [Fri, 20 Jul 2012 00:34:07 +0000 (20:34 -0400)]
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.
Richard Yao [Thu, 19 Jul 2012 23:15:10 +0000 (19:15 -0400)]
Linux 3.5 renames usbhid to hid-generic
We add hid-generic to the modules_load list alongside usbhid to avoid
issues.
Richard Yao [Thu, 19 Jul 2012 19:59:03 +0000 (15:59 -0400)]
Support module options set in /etc/module.d, amend cmdline options patch
Dzianis Kahanovich [Wed, 5 Jan 2011 15:31:00 +0000 (15:31 +0000)]
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>
Richard Yao [Tue, 17 Jul 2012 20:22:40 +0000 (16:22 -0400)]
Fix typo in previous commit.
Richard Yao [Tue, 17 Jul 2012 20:13:57 +0000 (16:13 -0400)]
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.
Richard Yao [Tue, 17 Jul 2012 19:57:02 +0000 (15:57 -0400)]
Fix bad ZFS case statement, bug #425122
Richard Yao [Tue, 17 Jul 2012 19:56:46 +0000 (15:56 -0400)]
Fix rootfs=ZFS infinite loop when no bootfs is set, bug #425120
Robin H. Johnson [Tue, 17 Jul 2012 05:34:24 +0000 (22:34 -0700)]
t Bug #399703: amd64 default kernel config did not have EFI support.
Robin H. Johnson [Mon, 16 Jul 2012 02:08:59 +0000 (19:08 -0700)]
Document the isoboot option, as designed for GRUB2 usage 3 years ago.
Sebastian Pipping [Mon, 9 Jul 2012 22:50:12 +0000 (00:50 +0200)]
Bump version to 3.4.38
Sebastian Pipping [Mon, 9 Jul 2012 22:48:13 +0000 (00:48 +0200)]
Fix bug reference in change log (bad: #370411, good: #425080)
Sebastian Pipping [Mon, 9 Jul 2012 22:44:18 +0000 (00:44 +0200)]
Merge branch 'bug-425080'
Sebastian Pipping [Mon, 9 Jul 2012 22:42:30 +0000 (00:42 +0200)]
Fix linking of unionfs-fuse 0.24
Sebastian Pipping [Mon, 9 Jul 2012 22:29:54 +0000 (00:29 +0200)]
FUSE: Allow compilation of FUSE 2.8.6 with glibc 2.14 (bug #370411)
Sebastian Pipping [Mon, 9 Jul 2012 22:24:59 +0000 (00:24 +0200)]
FUSE: Remove invalid configure option --disable-kernel-module
Sebastian Pipping [Mon, 9 Jul 2012 17:47:21 +0000 (19:47 +0200)]
Restore previous handling of real_root due to report of regressions (bug #419965)
This reverts commit
f95264added35c25fb557931116edd3cd0aec7ba.
Conflicts:
defaults/initrd.scripts
Sebastian Pipping [Sun, 8 Jul 2012 22:07:38 +0000 (00:07 +0200)]
Bump version to 3.4.37
Sebastian Pipping [Sun, 8 Jul 2012 22:02:29 +0000 (00:02 +0200)]
Merge branch 'bug-423847'
Sebastian Pipping [Sun, 8 Jul 2012 22:00:19 +0000 (00:00 +0200)]
Improve wording
Sebastian Pipping [Sun, 8 Jul 2012 21:52:10 +0000 (23:52 +0200)]
Always report used kernel config file
Sebastian Pipping [Sun, 8 Jul 2012 21:42:32 +0000 (23:42 +0200)]
Catch case with no initramfs compression supported by kernel (bug #423847)
Sebastian Pipping [Sun, 8 Jul 2012 21:40:49 +0000 (23:40 +0200)]
Fix detection of initramfs compression with bzip2 as best candidate
Sebastian Pipping [Sun, 8 Jul 2012 21:39:10 +0000 (23:39 +0200)]
Use proper ${KERNEL_CONFIG} rather than ${KERNEL_DIR}/.config as input
Sebastian Pipping [Sun, 8 Jul 2012 17:35:24 +0000 (19:35 +0200)]
Add xts to MODULES_CRYPTO (bug #425028)
Sebastian Pipping [Sun, 8 Jul 2012 17:20:15 +0000 (19:20 +0200)]
Add bug reference to change log
Sebastian Pipping [Sun, 8 Jul 2012 17:18:46 +0000 (19:18 +0200)]
Merge branch 'bug-421027'
Conflicts:
ChangeLog
Sebastian Pipping [Sun, 1 Jul 2012 12:03:51 +0000 (14:03 +0200)]
Support --kernel-config=/proc/config.gz (bug #421027)