genkernel.git
13 years agoExtend change log
Sebastian Pipping [Sat, 29 Jan 2011 14:44:44 +0000 (15:44 +0100)]
Extend change log

13 years agodocs: Resolve nick Xake to Peter Hjalmarsson
Sebastian Pipping [Sat, 29 Jan 2011 14:42:02 +0000 (15:42 +0100)]
docs: Resolve nick Xake to Peter Hjalmarsson

13 years agolvm: Indicate using bincache
Sebastian Pipping [Sat, 29 Jan 2011 14:39:24 +0000 (15:39 +0100)]
lvm: Indicate using bincache

13 years agoRemove unpacking of device-mapper for lvm2
Peter Hjalmarsson [Fri, 28 Jan 2011 17:54:40 +0000 (18:54 +0100)]
Remove unpacking of device-mapper for lvm2

Newer versions of lvm2 does include device-mapper

13 years agoBump version to 3.4.12.2 v3.4.12.2
Sebastian Pipping [Thu, 27 Jan 2011 10:40:50 +0000 (11:40 +0100)]
Bump version to 3.4.12.2

13 years agoRevert "Do not query generated files (like include/config/kernel.release) for kernel...
Sebastian Pipping [Thu, 27 Jan 2011 10:33:53 +0000 (11:33 +0100)]
Revert "Do not query generated files (like include/config/kernel.release) for kernel version, as they may be out of sync (bug #263927)"

This reverts commit 48ca00ec29afdec6cb168fbaae87a7b07ea65988.

Conflicts:

ChangeLog

13 years agoBump version to 3.4.12.1 v3.4.12.1
Sebastian Pipping [Sun, 23 Jan 2011 19:18:25 +0000 (20:18 +0100)]
Bump version to 3.4.12.1

13 years agoMakefile: Have version bumps trigger re-creation of man page
Sebastian Pipping [Sun, 23 Jan 2011 19:21:07 +0000 (20:21 +0100)]
Makefile: Have version bumps trigger re-creation of man page

13 years agomdadm: Indicate using bincache
Sebastian Pipping [Sun, 23 Jan 2011 19:17:42 +0000 (20:17 +0100)]
mdadm: Indicate using bincache

13 years agomdadm: Fix copying of mdadm/mdmon to the initramfs (bug #352496)
Sebastian Pipping [Sun, 23 Jan 2011 19:04:12 +0000 (20:04 +0100)]
mdadm: Fix copying of mdadm/mdmon to the initramfs (bug #352496)

13 years agoBump version to 3.4.12 v3.4.12
Sebastian Pipping [Sun, 23 Jan 2011 18:08:07 +0000 (19:08 +0100)]
Bump version to 3.4.12

13 years agoMerge branch 'experimental' using --no-ff
Sebastian Pipping [Sun, 23 Jan 2011 18:04:24 +0000 (19:04 +0100)]
Merge branch 'experimental' using --no-ff

13 years agoExtend change log
Sebastian Pipping [Sun, 23 Jan 2011 17:58:54 +0000 (18:58 +0100)]
Extend change log

13 years agoExtend change log
Sebastian Pipping [Sat, 22 Jan 2011 00:39:19 +0000 (01:39 +0100)]
Extend change log

13 years agoEnable CONFIG_USB_SUSPEND for x86/amd64 (but not default/ia64) (bug #351376)
Sebastian Pipping [Sat, 22 Jan 2011 00:33:44 +0000 (01:33 +0100)]
Enable CONFIG_USB_SUSPEND for x86/amd64 (but not default/ia64) (bug #351376)

13 years agoReplace "${MAKEOPTS/-j?/j1}" by "${MAKEOPTS} -j1" (bug #277607)
Sebastian Pipping [Sat, 22 Jan 2011 00:15:12 +0000 (01:15 +0100)]
Replace "${MAKEOPTS/-j?/j1}" by "${MAKEOPTS} -j1" (bug #277607)

A call like

  genkernel kernel --menuconfig --makeopts="--jobs=50"

previously resulted in a make error.

13 years agoDo not query generated files (like include/config/kernel.release) for kernel version...
Sebastian Pipping [Fri, 21 Jan 2011 23:46:57 +0000 (00:46 +0100)]
Do not query generated files (like include/config/kernel.release) for kernel version, as they may be out of sync (bug #263927)

13 years agoAdd compatibility with older cmdline setup on console argument
Fabio Erculiani [Tue, 4 Jan 2011 22:20:19 +0000 (23:20 +0100)]
Add compatibility with older cmdline setup on console argument

Older systems featured full path to tty inside console=. This
is no longer valid and causes issues with fbcondecor. The new
expected format of console= is tty name with the directory part
stripped off: console=tty1 for example.
This patch has been in sabayon's genkernel for <2 years, but
should be tested out on non-standard environments.

13 years agodocmatcher: Re-order output sections for practical reasons
Sebastian Pipping [Thu, 20 Jan 2011 17:31:14 +0000 (18:31 +0100)]
docmatcher: Re-order output sections for practical reasons

- Lists expected empty to the end
- Before that order by importance (ascending)

13 years agodocmatcher: Handle MDADM_* variables
Sebastian Pipping [Thu, 20 Jan 2011 17:25:55 +0000 (18:25 +0100)]
docmatcher: Handle MDADM_* variables

13 years agodocmatcher: Handle deprecated genkernel parameters
Sebastian Pipping [Thu, 20 Jan 2011 17:24:59 +0000 (18:24 +0100)]
docmatcher: Handle deprecated genkernel parameters

13 years agodocs: Fix indentation in "genkernel --help"
Sebastian Pipping [Thu, 20 Jan 2011 17:17:49 +0000 (18:17 +0100)]
docs: Fix indentation in "genkernel --help"

13 years agodocs: Remove deprecated parameters --gensplash-res, --gensplash, --lvm2, --evms2
Sebastian Pipping [Thu, 20 Jan 2011 17:14:28 +0000 (18:14 +0100)]
docs: Remove deprecated parameters --gensplash-res, --gensplash, --lvm2, --evms2

13 years agoMerge branch 'master' into experimental
Sebastian Pipping [Thu, 20 Jan 2011 14:39:31 +0000 (15:39 +0100)]
Merge branch 'master' into experimental

Conflicts:
ChangeLog

13 years agoBump version to 3.4.11.1 v3.4.11.1
Sebastian Pipping [Thu, 20 Jan 2011 14:22:37 +0000 (15:22 +0100)]
Bump version to 3.4.11.1

13 years agoExtend change log
Sebastian Pipping [Thu, 20 Jan 2011 14:25:05 +0000 (15:25 +0100)]
Extend change log

13 years agoMerge branch 'bug-351906'
Sebastian Pipping [Thu, 20 Jan 2011 14:21:43 +0000 (15:21 +0100)]
Merge branch 'bug-351906'

Conflicts:
ChangeLog

13 years agoMerge branch 'bug-351909'
Sebastian Pipping [Thu, 20 Jan 2011 14:19:38 +0000 (15:19 +0100)]
Merge branch 'bug-351909'

13 years agoRemove unused function bind_mount_dev()
Sebastian Pipping [Thu, 20 Jan 2011 04:46:27 +0000 (05:46 +0100)]
Remove unused function bind_mount_dev()

13 years agoMove from "no-foo enabled" to "foo disabled" for consistency
Sebastian Pipping [Thu, 20 Jan 2011 01:33:52 +0000 (02:33 +0100)]
Move from "no-foo enabled" to "foo disabled" for consistency

13 years agoFix leftover of problem with missing .config file (bug #271528)
Sebastian Pipping [Thu, 20 Jan 2011 01:12:38 +0000 (02:12 +0100)]
Fix leftover of problem with missing .config file (bug #271528)

13 years agoUse "kernel:" instead of "config:" in output consistently
Sebastian Pipping [Thu, 20 Jan 2011 00:56:30 +0000 (01:56 +0100)]
Use "kernel:" instead of "config:" in output consistently

13 years agoMove application of kernel config after "make mrproper" as that deletes .config ...
Sebastian Pipping [Thu, 20 Jan 2011 00:53:37 +0000 (01:53 +0100)]
Move application of kernel config after "make mrproper" as that deletes .config (whereas "make clean" does not) (bug #351906)

13 years agoBe versose about --oldconfig and --no-mrproper
Sebastian Pipping [Thu, 20 Jan 2011 00:45:36 +0000 (01:45 +0100)]
Be versose about --oldconfig and --no-mrproper

13 years agobusybox 1.18.1: Return of mdstart as an applet (regression) (bug #351909)
Sebastian Pipping [Thu, 20 Jan 2011 00:18:56 +0000 (01:18 +0100)]
busybox 1.18.1: Return of mdstart as an applet (regression) (bug #351909)

13 years agodocs: Give MDADM credits to Matthias in man page
Sebastian Pipping [Mon, 17 Jan 2011 18:16:30 +0000 (19:16 +0100)]
docs: Give MDADM credits to Matthias in man page

13 years agodocs: Extend change log
Sebastian Pipping [Mon, 17 Jan 2011 15:54:11 +0000 (16:54 +0100)]
docs: Extend change log

13 years agodocs: Document change in bahavior of --mdadm/MDADM="yes"
Sebastian Pipping [Mon, 17 Jan 2011 15:49:22 +0000 (16:49 +0100)]
docs: Document change in bahavior of --mdadm/MDADM="yes"

13 years agomdadm: Remove busybox mdadm re-make
Sebastian Pipping [Mon, 17 Jan 2011 15:24:54 +0000 (16:24 +0100)]
mdadm: Remove busybox mdadm re-make

13 years agomdadm: Implement support for mdmon to static binary
Sebastian Pipping [Mon, 17 Jan 2011 15:13:19 +0000 (16:13 +0100)]
mdadm: Implement support for mdmon to static binary

Without this patch a static /sbin/mdadm binary results in an initramfs without mdmon

13 years ago"mdadm -A" -> "mdadm --assemble" (as before, better self-documentation)
Sebastian Pipping [Mon, 17 Jan 2011 14:56:13 +0000 (15:56 +0100)]
"mdadm -A" -> "mdadm --assemble"  (as before, better self-documentation)

13 years agostyle: Fix trailing whitespace error
Sebastian Pipping [Mon, 17 Jan 2011 14:51:22 +0000 (15:51 +0100)]
style: Fix trailing whitespace error

13 years agomdadm: Add IMSM support
Laurent Pinchart [Fri, 27 Aug 2010 15:26:52 +0000 (17:26 +0200)]
mdadm: Add IMSM support

13 years agouse mdadm instead of bundled stripped down mdassemble (v2)
Matthias Dahl [Fri, 27 Aug 2010 15:26:52 +0000 (17:26 +0200)]
use mdadm instead of bundled stripped down mdassemble (v2)

mdassemble can't handle newer metadata formats and fails for partitioned
arrays, among other things.

This...

- replaces the bundled mdassemble with proper support for mdadm
- fixes raid autodetection/assemble when no mdadm.conf is available
- fixes a compilation failure for newer mdadm versions

Tested w/ genkernel 3.4.10.907 and mdadm 3.1.3.

13 years agodocmatcher: Get GnuPG parameters out of the way
Sebastian Pipping [Mon, 17 Jan 2011 14:13:16 +0000 (15:13 +0100)]
docmatcher: Get GnuPG parameters out of the way

13 years agoBump version to 3.4.11 v3.4.11
Sebastian Pipping [Sun, 16 Jan 2011 21:02:59 +0000 (22:02 +0100)]
Bump version to 3.4.11

13 years agoDo not sleep after vgscan (bug #351047)
Sebastian Pipping [Sun, 16 Jan 2011 15:02:39 +0000 (16:02 +0100)]
Do not sleep after vgscan (bug #351047)

13 years agoDo not wait for iscsi if we have not started it
Sebastian Pipping [Sun, 16 Jan 2011 14:09:36 +0000 (15:09 +0100)]
Do not wait for iscsi if we have not started it

13 years agoDo no delay if scandelay[=seconds] is not specified (bug #323317 again)
Sebastian Pipping [Sun, 16 Jan 2011 14:06:38 +0000 (15:06 +0100)]
Do no delay if scandelay[=seconds] is not specified (bug #323317 again)

13 years agoUpdate change log
Sebastian Pipping [Sun, 16 Jan 2011 01:04:07 +0000 (02:04 +0100)]
Update change log

13 years agoPropagate fix for ROOT_DEV from bug #303531 to RESUME_DEV and REAL_LUKS
Sebastian Pipping [Sun, 16 Jan 2011 00:47:12 +0000 (01:47 +0100)]
Propagate fix for ROOT_DEV from bug #303531 to RESUME_DEV and REAL_LUKS

13 years agoBring back --with-lvm1=internal and --with-snapshots=internal (appears more safe...
Sebastian Pipping [Sat, 15 Jan 2011 23:51:50 +0000 (00:51 +0100)]
Bring back --with-lvm1=internal and --with-snapshots=internal (appears more safe to me)

13 years agoFix compilation of LVM 2.02.74
Amadeusz ?o?nowski [Sat, 15 Jan 2011 23:48:59 +0000 (00:48 +0100)]
Fix compilation of LVM 2.02.74

13 years agoAdd minimal btrfs support, as per bug #303529.
Fabio Erculiani [Tue, 4 Jan 2011 22:24:35 +0000 (23:24 +0100)]
Add minimal btrfs support, as per bug #303529.

RAID0 btrfs volumes can be detected only if btrfsctl is started.
Since embedding extra executables in initramfs is already possible,
add minimal btrfs support inside linuxrc.

13 years agoAdd LABEL support to crypt_root, clean up UUID crypt_root patch
Sebastian Pipping [Sat, 15 Jan 2011 16:58:05 +0000 (17:58 +0100)]
Add LABEL support to crypt_root, clean up UUID crypt_root patch

13 years agoAdd support for UUID to crypt_root (bug #315467)
Christian Giessner [Sat, 15 Jan 2011 16:51:24 +0000 (17:51 +0100)]
Add support for UUID to crypt_root (bug #315467)

13 years agoRun "make firmware_install" if CONFIG_FIRMWARE_IN_KERNEL != y (bug #244651)
Sebastian Pipping [Fri, 14 Jan 2011 18:26:25 +0000 (19:26 +0100)]
Run "make firmware_install" if CONFIG_FIRMWARE_IN_KERNEL != y (bug #244651)

13 years agoPort patch lvm2-2.02.72-dynamic-static-ldflags.patch to work without running autoreconf
Sebastian Pipping [Fri, 14 Jan 2011 17:09:32 +0000 (18:09 +0100)]
Port patch lvm2-2.02.72-dynamic-static-ldflags.patch to work without running autoreconf

13 years agoRestore original intention of CPPFLAGS (preprocessor) and CFLAGS (compiler)
Sebastian Pipping [Fri, 14 Jan 2011 16:37:31 +0000 (17:37 +0100)]
Restore original intention of CPPFLAGS (preprocessor) and CFLAGS (compiler)

13 years agoRecover ">> ${LOGFILE} 2>&1"
Sebastian Pipping [Fri, 14 Jan 2011 16:22:34 +0000 (17:22 +0100)]
Recover ">> ${LOGFILE} 2>&1"

13 years agoFix indentation
Sebastian Pipping [Fri, 14 Jan 2011 16:21:50 +0000 (17:21 +0100)]
Fix indentation

13 years agoLVM 2.02.28 fix
Amadeusz Żołnowski [Thu, 13 Jan 2011 19:54:20 +0000 (20:54 +0100)]
LVM 2.02.28 fix

13 years agoPort summary of busybox patches from 1.7.4 to 1.18.1
Sebastian Pipping [Thu, 13 Jan 2011 16:53:53 +0000 (17:53 +0100)]
Port summary of busybox patches from 1.7.4 to 1.18.1

13 years agoRemove signed-off-by tags, as the patch changed since the review
Sebastian Pipping [Thu, 13 Jan 2011 16:58:33 +0000 (17:58 +0100)]
Remove signed-off-by tags, as the patch changed since the review

13 years agoAdd busybox patches ported from 1.7.4 to 1.18.1
Denis Kaganovich [Thu, 13 Jan 2011 16:51:29 +0000 (17:51 +0100)]
Add busybox patches ported from 1.7.4 to 1.18.1

13 years agoAdd support for LVM patches located at ${GK_SHARE}/patches/lvm/${LVM_VER}/
Sebastian Pipping [Thu, 13 Jan 2011 15:42:20 +0000 (16:42 +0100)]
Add support for LVM patches located at ${GK_SHARE}/patches/lvm/${LVM_VER}/

13 years agoFeed back names of patches applied successfully
Sebastian Pipping [Thu, 13 Jan 2011 15:20:14 +0000 (16:20 +0100)]
Feed back names of patches applied successfully

13 years agoSkip files in apply_patches() as *{diff,patch} produces "*diff" with no .diff files...
Sebastian Pipping [Thu, 13 Jan 2011 15:19:45 +0000 (16:19 +0100)]
Skip files in apply_patches() as *{diff,patch} produces "*diff" with no .diff files around

13 years agoAdd more detail to some LVM log messages
Sebastian Pipping [Thu, 13 Jan 2011 14:29:58 +0000 (15:29 +0100)]
Add more detail to some LVM log messages

13 years agoAdd timestamps to .config backup names (e.g. .config--2011-01-13--15-01-53.bak) so...
Sebastian Pipping [Thu, 13 Jan 2011 14:06:54 +0000 (15:06 +0100)]
Add timestamps to .config backup names (e.g. .config--2011-01-13--15-01-53.bak) so .config.bak doesn't get lost when running genkernel multiple times

13 years agoBump version to 3.4.10.909 (no release yet)
Sebastian Pipping [Thu, 13 Jan 2011 13:41:58 +0000 (14:41 +0100)]
Bump version to 3.4.10.909 (no release yet)

13 years agoHandle missing kernel .config better (bug #271528)
Sebastian Pipping [Thu, 13 Jan 2011 13:29:23 +0000 (14:29 +0100)]
Handle missing kernel .config better (bug #271528)

13 years agoHandle missing kernel Makefile better
Sebastian Pipping [Thu, 13 Jan 2011 13:30:45 +0000 (14:30 +0100)]
Handle missing kernel Makefile better

13 years agoMerge branch 'gpg1x' into experimental
Sebastian Pipping [Wed, 12 Jan 2011 16:53:16 +0000 (17:53 +0100)]
Merge branch 'gpg1x' into experimental

13 years agodocs: Give credit to dacook
Sebastian Pipping [Wed, 12 Jan 2011 15:30:29 +0000 (16:30 +0100)]
docs: Give credit to dacook

13 years agodocs: Mention GnuPG branch 1.x and its reasoning in man page
Sebastian Pipping [Wed, 12 Jan 2011 15:33:15 +0000 (16:33 +0100)]
docs: Mention GnuPG branch 1.x and its reasoning in man page

13 years agoRevert "sdelay: reduce function to just one line" due to supposed Bashism.
Sebastian Pipping [Wed, 12 Jan 2011 15:23:45 +0000 (16:23 +0100)]
Revert "sdelay: reduce function to just one line" due to supposed Bashism.

This reverts commit f03de62e7d52017bf44cef35f176e5ab4f28ce92.

13 years agosdelay: reduce function to just one line
Fabio Erculiani [Tue, 11 Jan 2011 23:32:35 +0000 (00:32 +0100)]
sdelay: reduce function to just one line

13 years agoslowusb: move sleep 10 call after start_dev_mgr.
Fabio Erculiani [Tue, 11 Jan 2011 23:27:40 +0000 (00:27 +0100)]
slowusb: move sleep 10 call after start_dev_mgr.

If mdev -s will trigger something that involves usb-storage, sleeping
after its startup is safer.

13 years agoslowusb: ease the code in order to reduce entropy, one place for one thing.
Fabio Erculiani [Tue, 11 Jan 2011 23:12:25 +0000 (00:12 +0100)]
slowusb: ease the code in order to reduce entropy, one place for one thing.

There were several places where a mixture of sdelay and "sleep 10"
were called without worrying too much, resulting in slower boot
time, mainly. This commit should fix the mess and make some order
in the slowusb saga.

13 years agodocs: Add --gpg to man page
Sebastian Pipping [Tue, 11 Jan 2011 22:42:51 +0000 (23:42 +0100)]
docs: Add --gpg to man page

13 years agodocmatcher: Teach variables GPG_* and BUSYBOX_APPLETS to it
Sebastian Pipping [Tue, 11 Jan 2011 22:26:52 +0000 (23:26 +0100)]
docmatcher: Teach variables GPG_* and BUSYBOX_APPLETS to it

13 years ago.conf: Document GPG variable
Sebastian Pipping [Tue, 11 Jan 2011 22:24:04 +0000 (23:24 +0100)]
.conf: Document GPG variable

13 years agoCompile gnupg as a util
Sebastian Pipping [Tue, 11 Jan 2011 22:16:21 +0000 (23:16 +0100)]
Compile gnupg as a util

13 years agoMention cache usage on gnupg in output (consistent to busybox and blkid)
Sebastian Pipping [Tue, 11 Jan 2011 22:14:49 +0000 (23:14 +0100)]
Mention cache usage on gnupg in output (consistent to busybox and blkid)

13 years agoRemove bashism
dacook [Mon, 10 Jan 2011 16:24:10 +0000 (09:24 -0700)]
Remove bashism

Get rid of bash-ish "==" equivalence test in checking if the LUKS_KEY ends in
.gpg.  Use strict Bourne-compliant '=' instead.

13 years agoGPG command-line handling
dacook [Thu, 17 Dec 2009 16:00:14 +0000 (09:00 -0700)]
GPG command-line handling

Allow user to specify '--gpg' as an argument to genkernel and trigger the
inclusion of PGP-armored LUKS key support.

13 years agoGPG runtime
dacook [Thu, 17 Dec 2009 15:59:33 +0000 (08:59 -0700)]
GPG runtime

Actual boot-time handling of PGP-armored keys

13 years agoGPG initramfs append
dacook [Thu, 17 Dec 2009 15:58:32 +0000 (08:58 -0700)]
GPG initramfs append

Add function/handling to actually add the GPG binary to the initramfs

13 years agoGPG compile
dacook [Thu, 17 Dec 2009 15:57:11 +0000 (08:57 -0700)]
GPG compile

Configure and compile GPG binary for initrd use

13 years agoGPG bincache
dacook [Thu, 17 Dec 2009 15:56:17 +0000 (08:56 -0700)]
GPG bincache

Add handling for a cached GPG binary

13 years agoGPG source
dacook [Thu, 17 Dec 2009 15:53:08 +0000 (08:53 -0700)]
GPG source

Add source tarball handling for GPG support.

13 years agoCheck return codes of cpio (lessen from bug #246370)
Sebastian Pipping [Tue, 11 Jan 2011 16:40:17 +0000 (17:40 +0100)]
Check return codes of cpio (lessen from bug #246370)

13 years agoMention cache usage on blkid in output (consistent to busybox)
Sebastian Pipping [Tue, 11 Jan 2011 16:23:57 +0000 (17:23 +0100)]
Mention cache usage on blkid in output (consistent to busybox)

13 years agoCatch errors from append_* (lesson from bug #246370)
Sebastian Pipping [Tue, 11 Jan 2011 16:18:58 +0000 (17:18 +0100)]
Catch errors from append_* (lesson from bug #246370)

13 years agoUse LDFLAGS= instead of --with-ldopts on ./configure of e2fsprogs. Version 1.41...
Sebastian Pipping [Tue, 11 Jan 2011 15:17:55 +0000 (16:17 +0100)]
Use LDFLAGS= instead of --with-ldopts on ./configure of e2fsprogs.  Version 1.41.14 of e2fsprogs itself requests that update.

13 years agoClear blkid-*.bz2 from cache, too (regression)
Sebastian Pipping [Tue, 11 Jan 2011 15:05:11 +0000 (16:05 +0100)]
Clear blkid-*.bz2 from cache, too (regression)

13 years agoCreate /bin/vg* symlinks when called as /linuxrc, too (bug #307855)
Sebastian Pipping [Tue, 11 Jan 2011 14:41:43 +0000 (15:41 +0100)]
Create /bin/vg* symlinks when called as /linuxrc, too (bug #307855)

13 years agoPick first device when several devices are matching real_root (bug #303531)
devsk [Tue, 11 Jan 2011 12:20:40 +0000 (13:20 +0100)]
Pick first device when several devices are matching real_root (bug #303531)

13 years agoFix warning "rm: cannot remove `/var/cache/genkernel/src': Is a directory" (bug ...
Sebastian Pipping [Tue, 11 Jan 2011 11:18:05 +0000 (12:18 +0100)]
Fix warning "rm: cannot remove `/var/cache/genkernel/src': Is a directory" (bug #347213)