genkernel.git
13 years agodocs: Improve docs on MDADM_CONFIG
Sebastian Pipping [Thu, 24 Feb 2011 09:34:48 +0000 (10:34 +0100)]
docs: Improve docs on MDADM_CONFIG

13 years agoDo not mess with MDADMs auto-detect
Peter Hjalmarsson [Wed, 23 Feb 2011 06:14:04 +0000 (07:14 +0100)]
Do not mess with MDADMs auto-detect

Only reason for this logic is to limit what entries in /proc/partitions
mdadm scans for arrays.
However this seems to break raids in containers (example Intel fakeraids)
as those containers are never scanned for arrays.
(On my system it activates /dev/md/imsm0, but never /dev/md/Gentoo_0 which
is the real RAID with the removed logic)
If someone has something dead-slow they do not want scanned for raids,
it is better if they specify their own mdadm.conf.
If someone finds an example of something that mdadm scans for arrays that
is not supposed to be scanned, we may handle that then.

13 years agoIntroducing MDADM_CONFIG
Peter Hjalmarsson [Wed, 23 Feb 2011 06:10:51 +0000 (07:10 +0100)]
Introducing MDADM_CONFIG

Make it possible to choose a custom mdadm.conf for your ramdisk.
If not set, no mdadm.conf will be copied, and ramdisk will auto-detect.
This also fixes a regression where genkernel always tried to copy
/etc/mdadm.conf to the ramdisk, failing if it was non-existant.

13 years agoBump version to 3.4.13 v3.4.13
Sebastian Pipping [Thu, 10 Feb 2011 17:11:37 +0000 (18:11 +0100)]
Bump version to 3.4.13

13 years agoMerge branch 'experimental' using --no-ff
Sebastian Pipping [Thu, 10 Feb 2011 17:13:26 +0000 (18:13 +0100)]
Merge branch 'experimental' using --no-ff

13 years ago.conf: Add SPLASH and SPLASH_THEME (bug #268468)
Sebastian Pipping [Wed, 9 Feb 2011 16:17:24 +0000 (17:17 +0100)]
.conf: Add SPLASH and SPLASH_THEME (bug #268468)

13 years agoMerge branch 'bug-314575' using --no-ff
Sebastian Pipping [Tue, 8 Feb 2011 17:01:11 +0000 (18:01 +0100)]
Merge branch 'bug-314575' using --no-ff

13 years agoExtend change log
Sebastian Pipping [Tue, 8 Feb 2011 16:59:22 +0000 (17:59 +0100)]
Extend change log

13 years agoiBFT: fix iscsi_noibft
craig [Sun, 10 Oct 2010 22:49:12 +0000 (00:49 +0200)]
iBFT: fix iscsi_noibft

13 years agoAdd iBFT support for iSCSI
craig [Sun, 10 Oct 2010 22:21:05 +0000 (00:21 +0200)]
Add iBFT support for iSCSI

13 years agoFix error message
Sebastian Pipping [Mon, 7 Feb 2011 19:20:49 +0000 (20:20 +0100)]
Fix error message

13 years agoExtend change log
Sebastian Pipping [Mon, 7 Feb 2011 19:13:16 +0000 (20:13 +0100)]
Extend change log

13 years agoAdd error message output
Sebastian Pipping [Mon, 7 Feb 2011 18:49:36 +0000 (19:49 +0100)]
Add error message output

13 years agoApply mdev primer of busybox
Sebastian Pipping [Mon, 7 Feb 2011 18:47:10 +0000 (19:47 +0100)]
Apply mdev primer of busybox

13 years agoUse tmpfs if devtmpfs is not available
Peter Hjalmarsson [Mon, 7 Feb 2011 15:02:41 +0000 (16:02 +0100)]
Use tmpfs if devtmpfs is not available

This makes the ramdisk always mount some kind of /dev,
and then try to move it to the new root.
This unbreaks handling of nodes created pre-udev likefor example lvm does.

13 years agoExtend change log
Sebastian Pipping [Mon, 7 Feb 2011 03:20:14 +0000 (04:20 +0100)]
Extend change log

13 years agoRemove "-a" from call to umount
Sebastian Pipping [Mon, 7 Feb 2011 03:09:25 +0000 (04:09 +0100)]
Remove "-a" from call to umount

13 years agoMove dev to chroot
Peter Hjalmarsson [Tue, 1 Feb 2011 18:34:54 +0000 (19:34 +0100)]
Move dev to chroot

This can be considered good practice, likely less chance that nodes
created in the ramdisk disapperes when switching root.
Some applications (mostly debugging/benchmarking) also needs this to
survive the switch_root.

13 years agoUpdate options for devtmpfs
Peter Hjalmarsson [Tue, 1 Feb 2011 18:33:57 +0000 (19:33 +0100)]
Update options for devtmpfs

Options copied from /etc/init.d/udev-mount as that script does not
sanitize or even tuch the options.

13 years agoExtend change log
Sebastian Pipping [Mon, 31 Jan 2011 12:46:23 +0000 (13:46 +0100)]
Extend change log

13 years agoResolve unneeded subshell
Sebastian Pipping [Mon, 31 Jan 2011 12:44:24 +0000 (13:44 +0100)]
Resolve unneeded subshell

13 years agoUse devtpmfs when avaible
Peter Hjalmarsson [Wed, 19 Jan 2011 22:49:24 +0000 (23:49 +0100)]
Use devtpmfs when avaible

13 years agoBump version to 3.4.12.6 v3.4.12.6
Sebastian Pipping [Mon, 31 Jan 2011 12:00:00 +0000 (13:00 +0100)]
Bump version to 3.4.12.6

13 years agoExtend change log
Sebastian Pipping [Mon, 31 Jan 2011 11:47:11 +0000 (12:47 +0100)]
Extend change log

13 years agoReplace "$lvm_commands" by "${lvm_commands}"
Sebastian Pipping [Mon, 31 Jan 2011 11:45:33 +0000 (12:45 +0100)]
Replace "$lvm_commands" by "${lvm_commands}"

13 years agoInsert a few blank lines for readability
Sebastian Pipping [Mon, 31 Jan 2011 11:42:40 +0000 (12:42 +0100)]
Insert a few blank lines for readability

13 years agoSpeed up LVM-activation
Peter Hjalmarsson [Sun, 30 Jan 2011 21:48:54 +0000 (22:48 +0100)]
Speed up LVM-activation

Change vgscan and vgchange so they are done in one go.
Faster since less work for the lvm command.
vgscan is still needed for some cases like dmcrypt where
/etc/lvm/cache is created, but not updated with the unlocked devices.

13 years agoUse vgchange --sysinit
Peter Hjalmarsson [Thu, 20 Jan 2011 00:48:37 +0000 (01:48 +0100)]
Use vgchange --sysinit

Turns off unnecessary stuff, and makes the command look cleaner

13 years agoBump version to 3.4.12.5 v3.4.12.5
Sebastian Pipping [Sun, 30 Jan 2011 22:29:30 +0000 (23:29 +0100)]
Bump version to 3.4.12.5

13 years agoMerge branch 'experimental' using --no-ff
Sebastian Pipping [Sun, 30 Jan 2011 22:28:07 +0000 (23:28 +0100)]
Merge branch 'experimental' using --no-ff

13 years agoExtend change log
Sebastian Pipping [Sun, 30 Jan 2011 22:15:43 +0000 (23:15 +0100)]
Extend change log

13 years agoPut blkid of e2fsprogs into /sbin, not /bin (bug #352746)
Sebastian Pipping [Sun, 30 Jan 2011 18:36:08 +0000 (19:36 +0100)]
Put blkid of e2fsprogs into /sbin, not /bin (bug #352746)

13 years agoMerge branch 'master' into experimental
Sebastian Pipping [Sun, 30 Jan 2011 17:12:33 +0000 (18:12 +0100)]
Merge branch 'master' into experimental

13 years agoBump version to 3.4.12.4 v3.4.12.4
Sebastian Pipping [Sun, 30 Jan 2011 17:10:16 +0000 (18:10 +0100)]
Bump version to 3.4.12.4

13 years agoExtend change log
Sebastian Pipping [Sun, 30 Jan 2011 17:09:41 +0000 (18:09 +0100)]
Extend change log

13 years agoUse shadow on netboot busybox config
Raúl Porcel [Fri, 28 Jan 2011 19:06:57 +0000 (19:06 +0000)]
Use shadow on netboot busybox config

13 years agoEnhance the handling of the console in the netboot linuxrc
Raúl Porcel [Fri, 28 Jan 2011 19:03:06 +0000 (19:03 +0000)]
Enhance the handling of the console in the netboot linuxrc

13 years agoEnable CONFIG_USB_SUSPEND and CONFIG_PM_RUNTIME for x86_64 using "make menuconfig...
Sebastian Pipping [Sun, 30 Jan 2011 01:08:27 +0000 (02:08 +0100)]
Enable CONFIG_USB_SUSPEND and CONFIG_PM_RUNTIME for x86_64 using "make menuconfig" (bug #351376)

13 years agoApply "make oldconfig" of 2.6.36-gentoo-r5 to .config of x86_64
Sebastian Pipping [Sun, 30 Jan 2011 01:03:38 +0000 (02:03 +0100)]
Apply "make oldconfig" of 2.6.36-gentoo-r5 to .config of x86_64

13 years agoRemove unused function kv_replace()
Sebastian Pipping [Thu, 27 Jan 2011 11:55:45 +0000 (12:55 +0100)]
Remove unused function kv_replace()

13 years agoMerge branch 'master' into experimental
Sebastian Pipping [Sat, 29 Jan 2011 14:52:48 +0000 (15:52 +0100)]
Merge branch 'master' into experimental

13 years agoBump version to 3.4.12.3 v3.4.12.3
Sebastian Pipping [Sat, 29 Jan 2011 14:45:17 +0000 (15:45 +0100)]
Bump version to 3.4.12.3

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 agoMerge branch 'master' into experimental
Sebastian Pipping [Thu, 27 Jan 2011 10:46:26 +0000 (11:46 +0100)]
Merge branch 'master' into experimental

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 agodocs: Fix sample call to GnuPG (reported by Fabio Coatti)
Sebastian Pipping [Wed, 26 Jan 2011 08:32:38 +0000 (09:32 +0100)]
docs: Fix sample call to GnuPG (reported by Fabio Coatti)

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)