Andrew Gaffney
4187cff9f1
Split up /dev node checks into console/null and tty1
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@662 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
3bfe8144c0
Remove initrd-specific code from linuxrc
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@661 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
80b3557d0b
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
17 years ago
Andrew Gaffney
3c4236f34b
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
17 years ago
Andrew Gaffney
3128691111
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
17 years ago
Andrew Gaffney
696ea30508
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
17 years ago
Chris Gianelloni
5a08f3bce3
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
17 years ago
Andrew Gaffney
a5165c526b
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
17 years ago
Andrew Gaffney
d52589997e
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
17 years ago
Andrew Gaffney
4304d907ba
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
17 years ago
Chris Gianelloni
c205eaa040
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
17 years ago
Andrew Gaffney
f489b904ad
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
17 years ago
Andrew Gaffney
fb88e10ff6
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
17 years ago
Andrew Gaffney
af3fd101f0
Change sed delimeter
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@649 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
0612894e1b
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
17 years ago
Andrew Gaffney
5fcaaea2f8
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
17 years ago
Andrew Gaffney
7842579a94
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
17 years ago
Andrew Gaffney
72e8e5d04c
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
17 years ago
Andrew Gaffney
d1313f5ecc
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
17 years ago
Andrew Gaffney
2d0c095a79
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
17 years ago
Andrew Gaffney
a5aa9035a3
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
17 years ago
Andrew Gaffney
2b0ce04048
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
17 years ago
Andrew Gaffney
858f4312e5
Spacing cleanups in gen_package.sh
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@640 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
9ef70b96fd
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
17 years ago
Andrew Gaffney
db54f339a4
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
17 years ago
Andrew Gaffney
c1802ecec6
Use echo instead of print
...
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@637 67a159dc-881f-0410-a524-ba9dfbe2cb84
17 years ago
Andrew Gaffney
ecd89a5e6d
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
17 years ago
Andrew Gaffney
f6f97cb650
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
17 years ago
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