Andrew Gaffney
d117f014dd
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
17 years ago
Andrew Gaffney
4bda5b0631
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
17 years ago
Andrew Gaffney
18407fa3ed
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
17 years ago
Andrew Gaffney
d176b8c104
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
17 years ago
Andrew Gaffney
1664faa9df
Argh...Changing the right line helps
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@630 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
ee9a94f313
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
17 years ago
Chris Gianelloni
583d25030b
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
17 years ago
Andrew Gaffney
565bb21a48
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
17 years ago
Andrew Gaffney
b4fd892e57
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
17 years ago
Andrew Gaffney
1c9596c37e
Fix another quoting malfunction
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@625 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
520f70fd8d
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
17 years ago
Andrew Gaffney
6f9764a330
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
17 years ago
Chris Gianelloni
96f11b125f
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
17 years ago
Andrew Gaffney
bad7c471f2
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
17 years ago
Andrew Gaffney
182fd5e831
Update mdadm and mdstart patches
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@620 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
2ed29757ef
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
17 years ago
Andrew Gaffney
6a3fb94230
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
17 years ago
Andrew Gaffney
ae01c22edb
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
17 years ago
Andrew Gaffney
e86db7cf2c
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
17 years ago
Chris Gianelloni
c7a57d7830
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
17 years ago
Andrew Gaffney
bfd3e14a07
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
17 years ago
Andrew Gaffney
7fab7bb1f9
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
17 years ago
Andrew Gaffney
6ea20790b7
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
17 years ago
Andrew Gaffney
c1c0655dbb
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
17 years ago
Chris Gianelloni
f62aa7b1c9
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
17 years ago
Chris Gianelloni
39f1ad891b
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
17 years ago
Andrew Gaffney
063e926d27
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
17 years ago
Chris Gianelloni
a0766808eb
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
17 years ago
Chris Gianelloni
89f860a323
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
17 years ago
Chris Gianelloni
ee2c236875
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
17 years ago
Chris Gianelloni
35fffff3a5
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
17 years ago
Andrew Gaffney
a8cef1efa5
Add missing space before closing ]
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@603 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
2c41576da4
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
17 years ago
Andrew Gaffney
7f20c816c3
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
17 years ago
Chris Gianelloni
58c13464ec
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
17 years ago
Chris Gianelloni
a98d5330f0
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
17 years ago
Chris Gianelloni
df4dd021ab
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
17 years ago
Chris Gianelloni
ad4cd03394
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
17 years ago
Chris Gianelloni
5b462be907
Performed some minor cleanup.
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@596 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Chris Gianelloni
239e46b186
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
17 years ago
Chris Gianelloni
bf2072c742
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
17 years ago
Chris Gianelloni
957c60e41d
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
17 years ago
Chris Gianelloni
a479c34552
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
17 years ago
Andrew Gaffney
74ebf6cd74
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
17 years ago
Andrew Gaffney
4cde424af9
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
17 years ago
Andrew Gaffney
c5bcb8d178
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
17 years ago
Andrew Gaffney
23c3235aa1
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
17 years ago
Andrew Gaffney
050a1da1d2
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
17 years ago
Andrew Gaffney
6c98ac18d3
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
17 years ago
Andrew Gaffney
5f3bff37d1
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
17 years ago