genkernel.git
16 years agoUncomment ppc/ppc64->powerpc code in set_kernel_arch, since it appears to actually...
Andrew Gaffney [Sun, 30 Mar 2008 23:27:03 +0000 (23:27 +0000)]
Uncomment ppc/ppc64->powerpc code in set_kernel_arch, since it appears to actually be necessary as of 2.6.24-gentoo-r4

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@660 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoAdd patch from ebuild in-tree to fix build issue with signals on hppa
Andrew Gaffney [Sat, 29 Mar 2008 19:27:57 +0000 (19:27 +0000)]
Add patch from ebuild in-tree to fix build issue with signals on hppa

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@659 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoGet rid of --initramfs option as it doesn't do anything anymore
Andrew Gaffney [Fri, 14 Mar 2008 16:19:20 +0000 (16:19 +0000)]
Get rid of --initramfs option as it doesn't do anything anymore

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@658 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoChange the opts passed to udhcpc when using nfsroot
Andrew Gaffney [Fri, 14 Mar 2008 16:11:48 +0000 (16:11 +0000)]
Change the opts passed to udhcpc when using nfsroot

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@657 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoRemoving pkg directory, since it is no longer necessary. From now on, we'll just...
Chris Gianelloni [Fri, 14 Mar 2008 15:07:19 +0000 (15:07 +0000)]
Removing pkg directory, since it is no longer necessary.  From now on, we'll just pull the tarballs from DISTDIR directly, and we've already moved our caches to /var/tmp/genkernel, so there's nothing left to keep here.  This is genkernel 3.4.10_pre7 for testing.

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@656 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoCopy the original kconfig with a different name than the one used to build
Andrew Gaffney [Fri, 14 Mar 2008 04:25:34 +0000 (04:25 +0000)]
Copy the original kconfig with a different name than the one used to build

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@655 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoInclude original kconfig in kerncache
Andrew Gaffney [Fri, 14 Mar 2008 03:14:46 +0000 (03:14 +0000)]
Include original kconfig in kerncache
If original kconfig exists in the kerncache, use that for comparison to the current kconfig

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@654 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoSwitch back to building kernel first
Andrew Gaffney [Fri, 14 Mar 2008 02:21:43 +0000 (02:21 +0000)]
Switch back to building kernel first
Optionally build the kernel a second time if we're integrating the initramfs

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@653 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoClean up the modules_load files and add qla2xxx. This is genkernel 3.4.10_pre6 for...
Chris Gianelloni [Fri, 14 Mar 2008 00:40:15 +0000 (00:40 +0000)]
Clean up the modules_load files and add qla2xxx.  This is genkernel 3.4.10_pre6 for testing.

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@652 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoStick CONFIG_INITRAMFS_ROOT_GID in the .config, too
Andrew Gaffney [Thu, 13 Mar 2008 23:02:29 +0000 (23:02 +0000)]
Stick CONFIG_INITRAMFS_ROOT_GID in the .config, too

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@651 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoRemove existing CONFIG_INITRAMFS_SOURCE line and write new one as well as CONFIG_INIT...
Andrew Gaffney [Thu, 13 Mar 2008 22:52:25 +0000 (22:52 +0000)]
Remove existing CONFIG_INITRAMFS_SOURCE line and write new one as well as CONFIG_INITRAMFS_ROOT_UID line

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@650 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoChange sed delimeter
Andrew Gaffney [Thu, 13 Mar 2008 22:34:38 +0000 (22:34 +0000)]
Change sed delimeter

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@649 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoWe should edit the copy of the kconfig instead of the source file
Andrew Gaffney [Thu, 13 Mar 2008 21:25:18 +0000 (21:25 +0000)]
We should edit the copy of the kconfig instead of the source file

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@648 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoInstead of copying the initramfs into the kernel tree, we now sed the kconfig to...
Andrew Gaffney [Thu, 13 Mar 2008 21:11:24 +0000 (21:11 +0000)]
Instead of copying the initramfs into the kernel tree, we now sed the kconfig to point CONFIG_INITRAMFS_SOURCE to the generated image

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@647 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoAdd scsi_wait_scan to sparc64's MODULES_SCSI
Andrew Gaffney [Thu, 13 Mar 2008 19:13:30 +0000 (19:13 +0000)]
Add scsi_wait_scan to sparc64's MODULES_SCSI

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@646 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoAdd a check after mounting NEW_ROOT to see if /dev exists and /sbin/init is executabl...
Andrew Gaffney [Thu, 13 Mar 2008 17:10:30 +0000 (17:10 +0000)]
Add a check after mounting NEW_ROOT to see if /dev exists and /sbin/init is executable before moving on

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@645 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoChange the location we copy the intiramfs to for integrated initramfs
Andrew Gaffney [Thu, 13 Mar 2008 17:04:53 +0000 (17:04 +0000)]
Change the location we copy the intiramfs to for integrated initramfs

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@644 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoRevert last commit as it wasn't a problem
Andrew Gaffney [Thu, 13 Mar 2008 16:46:54 +0000 (16:46 +0000)]
Revert last commit as it wasn't a problem

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@643 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoRemove -c "/dev/console" from switch_root command
Andrew Gaffney [Thu, 13 Mar 2008 16:28:25 +0000 (16:28 +0000)]
Remove -c "/dev/console" from switch_root command

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@642 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoAdd missing $ to {NORMAL} for broken /dev message
Andrew Gaffney [Thu, 13 Mar 2008 15:29:26 +0000 (15:29 +0000)]
Add missing $ to {NORMAL} for broken /dev message

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@641 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoSpacing cleanups in gen_package.sh
Andrew Gaffney [Thu, 13 Mar 2008 12:08:38 +0000 (12:08 +0000)]
Spacing cleanups in gen_package.sh

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@640 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoRemove unsetting of ARCH for callback and change set_kernel_arch debug to use print_info
Andrew Gaffney [Thu, 13 Mar 2008 11:59:08 +0000 (11:59 +0000)]
Remove unsetting of ARCH for callback and change set_kernel_arch debug to use print_info

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@639 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoIt helps to actually add the handling for the --integrated-initramfs option
Andrew Gaffney [Thu, 13 Mar 2008 11:57:02 +0000 (11:57 +0000)]
It helps to actually add the handling for the --integrated-initramfs option

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@638 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoUse echo instead of print
Andrew Gaffney [Thu, 13 Mar 2008 04:57:18 +0000 (04:57 +0000)]
Use echo instead of print

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@637 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoAdd debug code for set_kernel_arch
Andrew Gaffney [Thu, 13 Mar 2008 04:50:15 +0000 (04:50 +0000)]
Add debug code for set_kernel_arch

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@636 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoAdd debugging code to show ARCH when running callback
Andrew Gaffney [Thu, 13 Mar 2008 04:40:37 +0000 (04:40 +0000)]
Add debugging code to show ARCH when running callback
Unset ARCH when running callback and restore afterwards

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@635 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoMove set_kernel_arch() call to after determine_real_args() so that get_KV() has popul...
Andrew Gaffney [Thu, 13 Mar 2008 04:11:00 +0000 (04:11 +0000)]
Move set_kernel_arch() call to after determine_real_args() so that get_KV() has populated the vars we need

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@634 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoChange powerpc switch kernel version to 2.6.16 for if we ever uncomment it
Andrew Gaffney [Thu, 13 Mar 2008 03:30:38 +0000 (03:30 +0000)]
Change powerpc switch kernel version to 2.6.16 for if we ever uncomment it

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@633 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoAdd set_kernel_arch(), which maps the genkernel arch to the arch that the kernel...
Andrew Gaffney [Thu, 13 Mar 2008 03:28:56 +0000 (03:28 +0000)]
Add set_kernel_arch(), which maps the genkernel arch to the arch that the kernel expects based on the version of the kernel

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@632 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoGet rid of the ENABLE_PEGASOS_HACKS hacks
Andrew Gaffney [Thu, 13 Mar 2008 01:33:15 +0000 (01:33 +0000)]
Get rid of the ENABLE_PEGASOS_HACKS hacks
Add INTEGRATED_INITRAMFS option to optionally insert the generated initramfs directly into the kernel image
Change default build order to build the kernel last to facilitate the INTEGRATED_INITRAMFS option
Add GENZIMAGE option and change various checks from ENABLE_PEGASOS_HACKS to GENZIMAGE

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@631 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoArgh...Changing the right line helps
Andrew Gaffney [Thu, 13 Mar 2008 00:36:08 +0000 (00:36 +0000)]
Argh...Changing the right line helps

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@630 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoChange into initramfs-firmware-temp/ instead of initramfs-firmware-temp/lib/firmware...
Andrew Gaffney [Thu, 13 Mar 2008 00:35:11 +0000 (00:35 +0000)]
Change into initramfs-firmware-temp/ instead of initramfs-firmware-temp/lib/firmware/ before doing cpio

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@629 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoAdded a small debug statement to generic/linuxrc so we know when we're hitting the...
Chris Gianelloni [Wed, 12 Mar 2008 22:42:24 +0000 (22:42 +0000)]
Added a small debug statement to generic/linuxrc so we know when we're hitting the initrd code path.  This is genkernel 3.4.10_pre5 for testing.

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@628 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoChange to new temp directory so the firmware gets copied to the right place
Andrew Gaffney [Wed, 12 Mar 2008 20:33:50 +0000 (20:33 +0000)]
Change to new temp directory so the firmware gets copied to the right place

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@627 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoCopy with -L so we get the file instead of the symlink
Andrew Gaffney [Wed, 12 Mar 2008 20:01:49 +0000 (20:01 +0000)]
Copy with -L so we get the file instead of the symlink

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@626 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoFix another quoting malfunction
Andrew Gaffney [Wed, 12 Mar 2008 19:48:46 +0000 (19:48 +0000)]
Fix another quoting malfunction

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@625 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoExplicitly enable MDADM and MDSTART in busy-config
Andrew Gaffney [Wed, 12 Mar 2008 12:34:44 +0000 (12:34 +0000)]
Explicitly enable MDADM and MDSTART in busy-config

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@624 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoUpdate busybox static-error patch to actually work
Andrew Gaffney [Wed, 12 Mar 2008 11:41:14 +0000 (11:41 +0000)]
Update busybox static-error patch to actually work

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@623 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoChange BUSYBOX_VER to VERSION_BUSYBOX for genkernel-9999 ebuild.
Chris Gianelloni [Wed, 12 Mar 2008 03:13:28 +0000 (03:13 +0000)]
Change BUSYBOX_VER to VERSION_BUSYBOX for genkernel-9999 ebuild.

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@622 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoRemove the quotes when trying to expand a glob
Andrew Gaffney [Tue, 11 Mar 2008 23:18:42 +0000 (23:18 +0000)]
Remove the quotes when trying to expand a glob

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@621 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoUpdate mdadm and mdstart patches
Andrew Gaffney [Tue, 11 Mar 2008 19:35:23 +0000 (19:35 +0000)]
Update mdadm and mdstart patches

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@620 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoIt helps if we assign the correct value to version
Andrew Gaffney [Tue, 11 Mar 2008 19:06:58 +0000 (19:06 +0000)]
It helps if we assign the correct value to version
Send output of patch command to /dev/null
Show a message saying we're patching if there are patches for the util

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@619 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoAdd busybox patch to remove error about compiling statically
Andrew Gaffney [Tue, 11 Mar 2008 18:54:57 +0000 (18:54 +0000)]
Add busybox patch to remove error about compiling statically

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@618 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoUpdate busy-config files for the various arches for busybox 1.7.4
Andrew Gaffney [Tue, 11 Mar 2008 18:35:09 +0000 (18:35 +0000)]
Update busy-config files for the various arches for busybox 1.7.4

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@617 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoAdd apply_patches() function to automagically apply patches for a given util
Andrew Gaffney [Tue, 11 Mar 2008 18:07:17 +0000 (18:07 +0000)]
Add apply_patches() function to automagically apply patches for a given util
Add updated busybox patches for 1.7.4 from robbat2
Change BUSYBOX_VER to 1.7.4

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@616 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoRearrange checks so the return value is read correctly.
Chris Gianelloni [Tue, 11 Mar 2008 05:59:13 +0000 (05:59 +0000)]
Rearrange checks so the return value is read correctly.

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@615 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoEnable CONFIG_HEXDUMP globally for busybox
Andrew Gaffney [Mon, 10 Mar 2008 17:40:50 +0000 (17:40 +0000)]
Enable CONFIG_HEXDUMP globally for busybox
Add getdvhoff replacement function from vapier
Remove copying of getdvhoff from system

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@614 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoAdd support for --firmware-files option to make robbat2 happy
Andrew Gaffney [Mon, 10 Mar 2008 17:24:48 +0000 (17:24 +0000)]
Add support for --firmware-files option to make robbat2 happy

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@613 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoAdd support for --firmware and --firmware-dir options to include firmware in the...
Andrew Gaffney [Mon, 10 Mar 2008 00:38:49 +0000 (00:38 +0000)]
Add support for --firmware and --firmware-dir options to include firmware in the initramfs

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@612 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoApply patch from Vince C <v_cadet@yahoo.fr> to mount sysfs prior to loading modules...
Andrew Gaffney [Sun, 9 Mar 2008 17:54:44 +0000 (17:54 +0000)]
Apply patch from  Vince C <v_cadet@yahoo.fr> to mount sysfs prior to loading modules, so that the mdev firmware loading can actually work

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@611 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoIf we have a raid456.ko module, we need to create a raid45.ko symlink since dmraid...
Chris Gianelloni [Tue, 4 Mar 2008 00:41:37 +0000 (00:41 +0000)]
If we have a raid456.ko module, we need to create a raid45.ko symlink since dmraid can be rather stupid.  This should resolve bug #195804.

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@610 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoUpdated the kernel configs for arches which have given us their 2008.0 configs. ...
Chris Gianelloni [Tue, 4 Mar 2008 00:32:39 +0000 (00:32 +0000)]
Updated the kernel configs for arches which have given us their 2008.0 configs.  This is 3.4.10_pre4 for testing.

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@609 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoRedirect which output to /dev/null and put quotes around var in test
Andrew Gaffney [Fri, 29 Feb 2008 01:54:29 +0000 (01:54 +0000)]
Redirect which output to /dev/null and put quotes around var in test

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@608 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoChanged MDRAID to MDADM for bug #211316.
Chris Gianelloni [Fri, 29 Feb 2008 01:06:15 +0000 (01:06 +0000)]
Changed MDRAID to MDADM for bug #211316.

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@607 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoAdded a --no-keymap option for bug #210886.
Chris Gianelloni [Thu, 28 Feb 2008 21:33:51 +0000 (21:33 +0000)]
Added a --no-keymap option for bug #210886.

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@606 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoUse which to determine the location of splash_geninitramfs, rather than having an...
Chris Gianelloni [Thu, 28 Feb 2008 21:25:31 +0000 (21:25 +0000)]
Use which to determine the location of splash_geninitramfs, rather than having an endless number of conditional checks for the location.  This fixes bug #211521.  Thanks to Uriy Zhuravlev <stalkerg@gmail.com> for finding the problem and suggesting a solution.

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@605 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoRemoving the xen0 and xenU arches, since they didn't work, anyway. This is genkernel...
Chris Gianelloni [Wed, 20 Feb 2008 19:50:49 +0000 (19:50 +0000)]
Removing the xen0 and xenU arches, since they didn't work, anyway.  This is genkernel 3.4.10_pre3 for testing.

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@604 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoAdd missing space before closing ]
Andrew Gaffney [Wed, 20 Feb 2008 15:37:41 +0000 (15:37 +0000)]
Add missing space before closing ]

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@603 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoApply patch from bug 210457 to fix variable substitution. Thanks to Paul Taylor ...
Andrew Gaffney [Tue, 19 Feb 2008 19:38:52 +0000 (19:38 +0000)]
Apply patch from bug 210457 to fix variable substitution. Thanks to Paul Taylor <birder@ozemail.com.au> for reporting

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@602 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoRemove quotes from around ${ROOT_TREES} so that the dirs are parsed separately by...
Andrew Gaffney [Tue, 19 Feb 2008 19:31:25 +0000 (19:31 +0000)]
Remove quotes from around ${ROOT_TREES} so that the dirs are parsed separately by bash/cp

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@601 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoRemoving DEVFS support from genkernel since we don't support 2.4 kernels anymore...
Chris Gianelloni [Thu, 14 Feb 2008 06:48:33 +0000 (06:48 +0000)]
Removing DEVFS support from genkernel since we don't support 2.4 kernels anymore.  This is 3.4.10_pre2.

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@600 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoAdded a line to make sure we remove image.squashfs as well as the other loop names...
Chris Gianelloni [Thu, 14 Feb 2008 06:12:58 +0000 (06:12 +0000)]
Added a line to make sure we remove image.squashfs as well as the other loop names used by catalyst.

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@599 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoAdded another patch from Javier Miqueleiz <javier@miqueleiz.com> in bug #198892 for...
Chris Gianelloni [Thu, 14 Feb 2008 06:10:11 +0000 (06:10 +0000)]
Added another patch from Javier Miqueleiz <javier@miqueleiz.com> in bug #198892 for mdadm 1.1 and 1.2 metadata support.

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@598 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoSwitch to detection for LOOP and LOOPTYPE when they are not set.
Chris Gianelloni [Thu, 14 Feb 2008 06:01:03 +0000 (06:01 +0000)]
Switch to detection for LOOP and LOOPTYPE when they are not set.

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@597 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoPerformed some minor cleanup.
Chris Gianelloni [Thu, 14 Feb 2008 05:40:58 +0000 (05:40 +0000)]
Performed some minor cleanup.

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@596 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoMove busybox --install -s to outside the /init check. Fix problems with running...
Chris Gianelloni [Thu, 14 Feb 2008 04:34:44 +0000 (04:34 +0000)]
Move busybox --install -s to outside the /init check.  Fix problems with running mknod on a non-CD root filesystem, which will be read-only, for bug #208266.

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@595 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoRemoving 2.4 kernel configs, since we aren't supporting 2.4 from here on out.
Chris Gianelloni [Thu, 14 Feb 2008 03:51:48 +0000 (03:51 +0000)]
Removing 2.4 kernel configs, since we aren't supporting 2.4 from here on out.

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@594 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoWe only need to make sure that we have /sbin and /usr/sbin in our PATH for bug #97378...
Chris Gianelloni [Thu, 14 Feb 2008 01:40:26 +0000 (01:40 +0000)]
We only need to make sure that we have /sbin and /usr/sbin in our PATH for bug #97378, not reset it.  Thanks to Justin Bronder <jsbronder@gentoo.org> in bug #209182 for pointing it out.  This is genkernel 3.4.10_pre1 for testing.

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@593 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoThis is the long-awaited unionfs code cleanup. All of the unionfs code in genkernel...
Chris Gianelloni [Thu, 14 Feb 2008 01:07:14 +0000 (01:07 +0000)]
This is the long-awaited unionfs code cleanup.  All of the unionfs code in genkernel has been removed.

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@592 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoFix two calls to set_config_with_override on CMD_KERNCACHE and some indentation weirdness
Andrew Gaffney [Thu, 7 Feb 2008 02:18:27 +0000 (02:18 +0000)]
Fix two calls to set_config_with_override on CMD_KERNCACHE and some indentation weirdness

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@591 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoChange &>/dev/null to >/dev/null 2>&1 because busybox ash sucks
Andrew Gaffney [Mon, 4 Feb 2008 19:32:51 +0000 (19:32 +0000)]
Change &>/dev/null to >/dev/null 2>&1 because busybox ash sucks

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@590 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoSwitch to double quotes where we're interpolating variables, because I suck
Andrew Gaffney [Mon, 4 Feb 2008 18:15:57 +0000 (18:15 +0000)]
Switch to double quotes where we're interpolating variables, because I suck

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@589 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoAdd qla2xxx to sparc64's MODULES_SCSI
Andrew Gaffney [Sun, 3 Feb 2008 19:48:05 +0000 (19:48 +0000)]
Add qla2xxx to sparc64's MODULES_SCSI

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@588 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoAdd --all-initrd-modules option to copy all kernel modules into initrd/ramfs. This...
Andrew Gaffney [Sun, 3 Feb 2008 19:41:08 +0000 (19:41 +0000)]
Add --all-initrd-modules option to copy all kernel modules into initrd/ramfs. This is useful for netboot images

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@587 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoAdd setup_hotplug() function that runs before the modules are loaded to setup mdev...
Andrew Gaffney [Sun, 3 Feb 2008 15:35:39 +0000 (15:35 +0000)]
Add setup_hotplug() function that runs before the modules are loaded to setup mdev as the hotplug event handler
Add $KV to /lib/modules anywhere it occurs to allow for an initramfs with multiple sets of modules

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@586 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoClean up OLDCONFIG logic and default to OLDCONFIG=yes. This is for bug 207895
Andrew Gaffney [Sun, 3 Feb 2008 06:12:13 +0000 (06:12 +0000)]
Clean up OLDCONFIG logic and default to OLDCONFIG=yes. This is for bug 207895

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@585 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoMoving the code to start resume operations so it doesn't run when booting from CD...
Chris Gianelloni [Sat, 2 Feb 2008 18:07:46 +0000 (18:07 +0000)]
Moving the code to start resume operations so it doesn't run when booting from CD.  We also don't execute the code if there's no real_resume set on the command line, since it will fail, anyway, without it.

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@584 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoadd megaraid module to MODULES_SCSI for bug 206039
Andrew Gaffney [Sat, 2 Feb 2008 17:45:16 +0000 (17:45 +0000)]
add megaraid module to MODULES_SCSI for bug 206039

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@583 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agospecify the kernel version when looking for a module for bug 208593
Andrew Gaffney [Sat, 2 Feb 2008 17:34:13 +0000 (17:34 +0000)]
specify the kernel version when looking for a module for bug 208593

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@582 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoRemoved runUdev, since we no longer use it.
Chris Gianelloni [Sat, 2 Feb 2008 17:21:23 +0000 (17:21 +0000)]
Removed runUdev, since we no longer use it.

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@581 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoFixing a problem where we were copying the busybox binary cache into the busybox...
Chris Gianelloni [Fri, 11 Jan 2008 23:43:53 +0000 (23:43 +0000)]
Fixing a problem where we were copying the busybox binary cache into the busybox temporary directory.  I am assuming that this was a result of all of the changes we've been doing, and it simply just got everlooked.  Thanks to Marek Szuba <cyberman@if.pw.edu.pl> for pointing it out in bug #204087.  This is genkernel 3.4.9 FINAL.  Enjoy.

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@580 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agodefault to auto for CDROOT_TYPE
Andrew Gaffney [Thu, 10 Jan 2008 01:55:56 +0000 (01:55 +0000)]
default to auto for CDROOT_TYPE

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@579 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agodon't scan a bunch of extra devices when CDROOT_DEV is defined
Andrew Gaffney [Fri, 28 Dec 2007 03:35:36 +0000 (03:35 +0000)]
don't scan a bunch of extra devices when CDROOT_DEV is defined

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@578 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoadd new cdroot_type=foo kernel commandline parameter to override -t iso9660 for bug...
Andrew Gaffney [Fri, 28 Dec 2007 02:44:20 +0000 (02:44 +0000)]
add new cdroot_type=foo kernel commandline parameter to override -t iso9660 for bug 182818

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@577 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoput -t auto back to -t iso9660 for mounting a cdrom. this is for bug 162962
Andrew Gaffney [Fri, 28 Dec 2007 01:24:58 +0000 (01:24 +0000)]
put -t auto back to -t iso9660 for mounting a cdrom. this is for bug 162962

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@576 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agofix description of --kernel-config for bug 194752
Andrew Gaffney [Thu, 27 Dec 2007 22:39:30 +0000 (22:39 +0000)]
fix description of --kernel-config for bug 194752

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@575 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoThis is 3.4.9_pre12 for testing.
Chris Gianelloni [Thu, 27 Dec 2007 19:04:10 +0000 (19:04 +0000)]
This is 3.4.9_pre12 for testing.

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@574 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoapply LUKS key patch from bug 162962 from Nelson Batalha <nelson_batalha@hotmail...
Andrew Gaffney [Sun, 23 Dec 2007 22:44:50 +0000 (22:44 +0000)]
apply LUKS key patch from bug 162962 from Nelson Batalha <nelson_batalha@hotmail.com>

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@573 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agofix text bolding on serial console for bug 202266 thanks to Michael Hordijk <hoffbrin...
Andrew Gaffney [Fri, 14 Dec 2007 16:28:05 +0000 (16:28 +0000)]
fix text bolding on serial console for bug 202266 thanks to Michael Hordijk <hoffbrinkle@hotmail.com>

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@572 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoapply patch from John R. Graham <john_r_graham@mindspring.com> for bug 201482
Andrew Gaffney [Thu, 13 Dec 2007 22:14:06 +0000 (22:14 +0000)]
apply patch from John R. Graham <john_r_graham@mindspring.com> for bug 201482

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@571 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agos/KERNELDIR/KERNEL_DIR/ for bug 201159
Andrew Gaffney [Thu, 6 Dec 2007 04:04:00 +0000 (04:04 +0000)]
s/KERNELDIR/KERNEL_DIR/ for bug 201159

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@570 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agofix typo for bug 201442. thanks to Michael Hordijk <hoffbrinkle@hotmail.com>
Andrew Gaffney [Thu, 6 Dec 2007 04:00:40 +0000 (04:00 +0000)]
fix typo for bug 201442. thanks to Michael Hordijk <hoffbrinkle@hotmail.com>

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@569 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoThis is genkernel 3.4.9_pre11 for testing.
Chris Gianelloni [Mon, 3 Dec 2007 23:18:32 +0000 (23:18 +0000)]
This is genkernel 3.4.9_pre11 for testing.

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@568 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agos/elsif/elif/ because I use too many languages and random bash tutorials online can...
Andrew Gaffney [Thu, 29 Nov 2007 12:52:52 +0000 (12:52 +0000)]
s/elsif/elif/ because I use too many languages and random bash tutorials online can't be trusted

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@567 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoAdded a patch line for busybox for bug #198892. This is 3.4.9_pre10 for testing.
Chris Gianelloni [Wed, 28 Nov 2007 21:42:30 +0000 (21:42 +0000)]
Added a patch line for busybox for bug #198892.  This is 3.4.9_pre10 for testing.

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@566 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoAdded a small patch from John R. Graham <john_r_graham@mindspring.com> to fix argumen...
Chris Gianelloni [Sat, 24 Nov 2007 21:48:35 +0000 (21:48 +0000)]
Added a small patch from John R. Graham <john_r_graham@mindspring.com> to fix arguments with spaces for bug #200161.

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@565 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agouse 'read' to get a line at a time to account for directories with spaces in the...
Andrew Gaffney [Sat, 24 Nov 2007 05:35:07 +0000 (05:35 +0000)]
use 'read' to get a line at a time to account for directories with spaces in the name. this fixes bug 199701

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@564 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agolook for cryptsetup in /bin and /sbin
Andrew Gaffney [Fri, 23 Nov 2007 20:45:30 +0000 (20:45 +0000)]
look for cryptsetup in /bin and /sbin

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@563 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoForce dmraid to be built with -j1 for bug #188273
Andrew Gaffney [Sat, 17 Nov 2007 02:47:22 +0000 (02:47 +0000)]
Force dmraid to be built with -j1 for bug #188273

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@562 67a159dc-881f-0410-a524-ba9dfbe2cb84

16 years agoMy original sed of LVM2->LVM caught a few too many things. Thanks to Robin Johnson...
Chris Gianelloni [Fri, 16 Nov 2007 22:09:57 +0000 (22:09 +0000)]
My original sed of LVM2->LVM caught a few too many things.  Thanks to Robin Johnson <robbat2@gentoo.org> for pointing them out and providing the fix in bug #198546.

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@561 67a159dc-881f-0410-a524-ba9dfbe2cb84