genkernel.git
13 years agosyntax: drop parse_opt usage and crufty, deprecated subshelling through ``
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

13 years agoFix quoting issue (bug #380729)
Sebastian Pipping [Tue, 30 Aug 2011 15:33:27 +0000 (17:33 +0200)]
Fix quoting issue (bug #380729)

13 years agoEnable patch application for mdadm, add patch to fix compilation (bug #381089)
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)

13 years agoaufs: add basic support to AUFS2, requires kernel with aufs module or built-in
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

13 years agogen_compile: correct MAKEOPTS usage on utils task
Fabio Erculiani [Tue, 16 Aug 2011 20:01:13 +0000 (22:01 +0200)]
gen_compile: correct MAKEOPTS usage on utils task

13 years agogen_compile: always use -j1 with kernel *_install targets, fixes compilation with...
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

13 years agogen_configkernel: canonicalize path to kernel config
Amadeusz Żołnowski [Tue, 9 Aug 2011 14:22:32 +0000 (16:22 +0200)]
gen_configkernel: canonicalize path to kernel config

13 years agoNo longer copy /lib/libsysfs*so* for multipath-tools (bug #300841, bug #377709)
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)

13 years agoEnd support for 4 years old busybox 1.7.4 (bug #377133)
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)

13 years agoImprove doc on filing bugs
Sebastian Pipping [Sun, 31 Jul 2011 03:43:25 +0000 (05:43 +0200)]
Improve doc on filing bugs

13 years agoBump version to 3.4.18 v3.4.18
Sebastian Pipping [Thu, 28 Jul 2011 05:56:49 +0000 (07:56 +0200)]
Bump version to 3.4.18

13 years agoFix display of seconds waiting (bug #376575)
Sebastian Pipping [Wed, 27 Jul 2011 17:38:15 +0000 (19:38 +0200)]
Fix display of seconds waiting (bug #376575)

13 years agoBug #376467: fix kernel version checks for 3.0 kernel.
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>
13 years agoFix permissions of /dev/pts (bug #375947)
Sebastian Pipping [Sat, 23 Jul 2011 09:42:27 +0000 (11:42 +0200)]
Fix permissions of /dev/pts (bug #375947)

13 years agoExtend ChangeLog
Sebastian Pipping [Sat, 23 Jul 2011 09:33:44 +0000 (11:33 +0200)]
Extend ChangeLog

13 years agotrivial update to man page related to --kernel-target=
Fabio Erculiani [Wed, 20 Jul 2011 19:30:13 +0000 (21:30 +0200)]
trivial update to man page related to --kernel-target=

13 years agobetter document new --make-target= option
Fabio Erculiani [Wed, 20 Jul 2011 19:26:12 +0000 (21:26 +0200)]
better document new --make-target= option

13 years agoMake possible to compile XEN based kernels providing --kernel-target= and --kernel...
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

13 years agoSet version to 3.4.17 v3.4.17
Sebastian Pipping [Sun, 3 Jul 2011 22:26:27 +0000 (00:26 +0200)]
Set version to 3.4.17

13 years agoRemove support for sys-fs/evms, as it was removed from Gentoo (bug #372423)
Sebastian Pipping [Sun, 3 Jul 2011 18:56:05 +0000 (20:56 +0200)]
Remove support for sys-fs/evms, as it was removed from Gentoo (bug #372423)

13 years agoMake --arch-override= affect "make menuconfig" (bug #247246)
Sebastian Pipping [Wed, 22 Jun 2011 17:00:35 +0000 (19:00 +0200)]
Make --arch-override= affect "make menuconfig" (bug #247246)

13 years agoRefactoring: Rename mode runtask to kernelruntask
Sebastian Pipping [Wed, 22 Jun 2011 16:57:45 +0000 (18:57 +0200)]
Refactoring: Rename mode runtask to kernelruntask

13 years agoDocs: Add in-code docs on runtask mode of compile_generic()
Sebastian Pipping [Wed, 22 Jun 2011 16:55:40 +0000 (18:55 +0200)]
Docs: Add in-code docs on runtask mode of compile_generic()

13 years agoRefactoring: Turn to if-elifs constructs into case blocks
Sebastian Pipping [Wed, 22 Jun 2011 16:54:09 +0000 (18:54 +0200)]
Refactoring: Turn to if-elifs constructs into case blocks

13 years agoUnset CONFIG_EMBEDDED on arch amd64
Sebastian Pipping [Mon, 13 Jun 2011 20:51:04 +0000 (22:51 +0200)]
Unset CONFIG_EMBEDDED on arch amd64

13 years agoApply CONFIG_USB_HID=y to archs amd64/x86/default (bug #270983)
Sebastian Pipping [Mon, 13 Jun 2011 20:31:18 +0000 (22:31 +0200)]
Apply CONFIG_USB_HID=y to archs amd64/x86/default (bug #270983)

13 years agoUnset CONFIG_IDE on archs amd64/x86/default (bug #357213)
Sebastian Pipping [Mon, 13 Jun 2011 19:50:06 +0000 (21:50 +0200)]
Unset CONFIG_IDE on archs amd64/x86/default (bug #357213)

13 years agoCheck content of $REAL_ROOT/dev after we are done with it
Peter Hjalmarsson [Wed, 8 Jun 2011 15:49:23 +0000 (17:49 +0200)]
Check content of $REAL_ROOT/dev after we are done with it

Removes error message about missing /dev/console and /dev/null

13 years agoBump version to 3.4.16 v3.4.16
Sebastian Pipping [Tue, 7 Jun 2011 22:15:26 +0000 (00:15 +0200)]
Bump version to 3.4.16

13 years agoFix typo expamle/example
Sebastian Pipping [Tue, 7 Jun 2011 19:19:54 +0000 (21:19 +0200)]
Fix typo expamle/example

13 years agoDocument most undocumented boot parameters (bug #370369)
Sebastian Pipping [Tue, 7 Jun 2011 19:13:50 +0000 (21:13 +0200)]
Document most undocumented boot parameters (bug #370369)

13 years agoAdd hpsa to modules_load of amd64/x86 (bug #363369)
Sebastian Pipping [Tue, 7 Jun 2011 17:48:44 +0000 (19:48 +0200)]
Add hpsa to modules_load of amd64/x86 (bug #363369)

13 years agoDocs: Improve docs on boot parameters dodmraid[=...] and scandelay[=...]
Sebastian Pipping [Tue, 7 Jun 2011 01:27:58 +0000 (03:27 +0200)]
Docs: Improve docs on boot parameters dodmraid[=...] and scandelay[=...]

13 years agoDocs: Fix mixup of boot parameters real_init= and init_opts=
Sebastian Pipping [Tue, 7 Jun 2011 00:28:55 +0000 (02:28 +0200)]
Docs: Fix mixup of boot parameters real_init= and init_opts=

13 years agoDocs: Update note on getting in touch
Sebastian Pipping [Sun, 5 Jun 2011 16:06:41 +0000 (18:06 +0200)]
Docs: Update note on getting in touch

13 years agoDocument remaining options inside genkernel.conf, e.g. DOKEYMAPAUTO (bug #367233)
Sebastian Pipping [Sat, 4 Jun 2011 00:44:17 +0000 (02:44 +0200)]
Document remaining options inside genkernel.conf, e.g. DOKEYMAPAUTO (bug #367233)

13 years agoFix regression from renaming DEBUGLEVEL/DEBUGFILE to LOGLEVEL/LOGFILE
Sebastian Pipping [Sat, 4 Jun 2011 01:00:29 +0000 (03:00 +0200)]
Fix regression from renaming DEBUGLEVEL/DEBUGFILE to LOGLEVEL/LOGFILE

13 years agoMake set_config_with_override accept "BOOL"/"STRING" not 1/2
Sebastian Pipping [Sat, 4 Jun 2011 00:29:35 +0000 (02:29 +0200)]
Make set_config_with_override accept "BOOL"/"STRING" not 1/2

13 years agoDocs: Fix for Kernel 3.0.0 support (bug #369481)
Sebastian Pipping [Sat, 4 Jun 2011 01:41:21 +0000 (03:41 +0200)]
Docs: Fix for Kernel 3.0.0 support (bug #369481)

13 years agoDocument option lvmraid= and make it imply dolvm (bug #153502)
Sebastian Pipping [Wed, 1 Jun 2011 01:43:08 +0000 (03:43 +0200)]
Document option lvmraid= and make it imply dolvm (bug #153502)

13 years agoRename internal function whereis to prompt_user
Sebastian Pipping [Tue, 31 May 2011 18:47:42 +0000 (20:47 +0200)]
Rename internal function whereis to prompt_user

.. to avoid confustion with whereis(1) from sys-apps/util-linux

13 years agoExtend ChangeLog
Sebastian Pipping [Tue, 31 May 2011 13:25:58 +0000 (15:25 +0200)]
Extend ChangeLog

13 years agoAdd rootfstype= boot parameter (bug #221245)
Sebastian Pipping [Tue, 31 May 2011 13:03:12 +0000 (15:03 +0200)]
Add rootfstype= boot parameter (bug #221245)

13 years agoAdd Kernel 3.0.0 support (bug #369481)
Nelson Batalha [Tue, 31 May 2011 10:57:09 +0000 (12:57 +0200)]
Add Kernel 3.0.0 support (bug #369481)

13 years agoRe-specify "latest genkernel" as "latest ~arch genkernel"
Sebastian Pipping [Tue, 31 May 2011 01:47:41 +0000 (03:47 +0200)]
Re-specify "latest genkernel" as "latest ~arch genkernel"

13 years agoOutput warning in warning color
Sebastian Pipping [Tue, 31 May 2011 01:44:58 +0000 (03:44 +0200)]
Output warning in warning color

13 years agoDocument boot parameter domdadm (bug #369415)
Sebastian Pipping [Tue, 31 May 2011 01:36:45 +0000 (03:36 +0200)]
Document boot parameter domdadm (bug #369415)

13 years agoRemove patch on -lspl as our --without-slp seems to take another branch in configure...
Sebastian Pipping [Tue, 31 May 2011 00:03:01 +0000 (02:03 +0200)]
Remove patch on -lspl as our --without-slp seems to take another branch in configure, anyway

13 years agoadded hpsa to defaults/modules_load; fixes bug #363369
Amadeusz Żołnowski [Thu, 12 May 2011 14:26:15 +0000 (16:26 +0200)]
added hpsa to defaults/modules_load; fixes bug #363369

13 years agoBump to 3.4.15 v3.4.15
Sebastian Pipping [Mon, 28 Mar 2011 18:18:00 +0000 (20:18 +0200)]
Bump to 3.4.15

13 years agoMerge branch 'stable-next' into stable
Sebastian Pipping [Mon, 28 Mar 2011 18:22:23 +0000 (20:22 +0200)]
Merge branch 'stable-next' into stable

13 years agoExtend change log
Sebastian Pipping [Mon, 28 Mar 2011 17:46:08 +0000 (19:46 +0200)]
Extend change log

13 years agoTry to move /sys and /proc to the newroot first instead of just unmounting.
Peter Hjalmarsson [Thu, 24 Mar 2011 12:36:56 +0000 (13:36 +0100)]
Try to move /sys and /proc to the newroot first instead of just unmounting.

13 years agoUse the same options for proc and sysfs as Gentoo/OpenRC uses
Peter Hjalmarsson [Thu, 24 Mar 2011 12:33:03 +0000 (13:33 +0100)]
Use the same options for proc and sysfs as Gentoo/OpenRC uses

13 years agoRemove "--slowusb" as it is enabled by default. Also document "noslowusb".
Peter Hjalmarsson [Wed, 23 Mar 2011 19:32:45 +0000 (20:32 +0100)]
Remove "--slowusb" as it is enabled by default. Also document "noslowusb".

13 years agoMerge branch 'master' into stable
Sebastian Pipping [Mon, 28 Mar 2011 17:24:06 +0000 (19:24 +0200)]
Merge branch 'master' into stable

13 years agoFix typo "initamfs"
Ian [Thu, 24 Mar 2011 20:05:07 +0000 (21:05 +0100)]
Fix typo "initamfs"

13 years agoiSCSI: open-iscsi patchwork: add -lslp to LDFLAGS, and properly call autoconf
Fabio Erculiani [Tue, 22 Mar 2011 18:23:59 +0000 (19:23 +0100)]
iSCSI: open-iscsi patchwork: add -lslp to LDFLAGS, and properly call autoconf

13 years agoopen-iscsi: fix compilation when openslp is installed.
Fabio Erculiani [Tue, 22 Mar 2011 12:02:05 +0000 (13:02 +0100)]
open-iscsi: fix compilation when openslp is installed.

Two main issues:
1. open-iscsi build system, inside Makefile, user target, calls
   ./configure (which is very bad itself) without letting to choose
   configure options. Fixed in:
   open-iscsi-2.0.872-omg-calling-configure.patch
2. when openslp support is automagically enabled, -lslp didn't get
   added to compiler arguments. Fixed in:
   open-iscsi-2.0.872-slp.patch

Peace.

13 years agoFix handling of doslowusb/noslowusb
Peter Hjalmarsson [Tue, 22 Mar 2011 11:31:19 +0000 (12:31 +0100)]
Fix handling of doslowusb/noslowusb

Set DO_slowusb as default, and make setup_slowusb unset it if it cannot find
a usb-storage attached. This makes genkernel ramdisk adhere to "noslowusb",
makes the ramdisk only wait if there is a usb-storage attached and should fix
gentoo bug #359619.

13 years agodocs: mention keyword InVCS in HACKING
Sebastian Pipping [Wed, 16 Mar 2011 14:55:15 +0000 (15:55 +0100)]
docs: mention keyword InVCS in HACKING

13 years agoBump version to 3.4.14 v3.4.14
Sebastian Pipping [Wed, 16 Mar 2011 13:44:18 +0000 (14:44 +0100)]
Bump version to 3.4.14

13 years agoMerge branch experimental using --no-ff
Sebastian Pipping [Wed, 16 Mar 2011 13:48:20 +0000 (14:48 +0100)]
Merge branch experimental using --no-ff

13 years agoExtend change log
Sebastian Pipping [Wed, 16 Mar 2011 13:42:43 +0000 (14:42 +0100)]
Extend change log

13 years agoFix changelog
Sebastian Pipping [Wed, 16 Mar 2011 13:39:27 +0000 (14:39 +0100)]
Fix changelog

13 years agoadd btrfs to MODULES_FS, load btrfs module if available
Fabio Erculiani [Mon, 14 Mar 2011 17:43:45 +0000 (18:43 +0100)]
add btrfs to MODULES_FS, load btrfs module if available

Grub2 is going to support btrfs someday, so better getting prepared.

13 years agoFix typo
Peter Hjalmarsson [Mon, 7 Mar 2011 08:45:41 +0000 (09:45 +0100)]
Fix typo

By adding the kernelcmd options "dokeymap" to MY_HWOPTS instead of
the HWOPTS version, "keymap" this typo broke the handling of keymaps
if you only had "keymap=<...>" in kernelcmd and did not specify "dokeymap"
too (which according to documentation should not be needed).

13 years agoExtend change log
Sebastian Pipping [Thu, 24 Feb 2011 09:41:32 +0000 (10:41 +0100)]
Extend change log

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)