Commit Graph

278 Commits (77e70344d39f4058a390047054ba48f7d2106f98)

Author SHA1 Message Date
Andrew Gaffney 751d2149d1 Store pre-oldconfig busybox .config for use in bincache comparison
17 years ago
Andrew Gaffney 80fb4b4d11 Add nomodules kernel commandline parameter to disable loading of modules
17 years ago
Andrew Gaffney 1a90fbf8f1 Move distfile cache to /var/cache/genkernel/src and add check to make sure all distfiles are present
17 years ago
Chris Gianelloni e0b7ea5ee7 Added a few SATA and PATA drivers to modules_load.
17 years ago
Chris Gianelloni cf240a1199 Updated the modules_load files.
17 years ago
Chris Gianelloni fd7e13ec87 Enable keymap code when keymap is set on the kernel command line. This is genkernel 3.4.10_pre10 for testing.
17 years ago
Chris Gianelloni afc2688b2a We need to unset keymap if it doesn't match to keep from hitting an infinite loop.
17 years ago
Chris Gianelloni 51c769f243 Updated the keymap-handling code so it will be installed and displayed without using --do-auto-keymap with a patch from Florian Schilhabel <fernsehleo@gmx.net> for bug #215822. Also, added a keymap= command line option to allow setting keymap from the bootloader, also from Florian.
17 years ago
Chris Gianelloni 0c3ba5d628 Change from using a directory check to a file check. This should fix bug #215822.
17 years ago
Chris Gianelloni 4593814da8 Move removable storage like USB and firewire after traditional fixed storage like PATA/SATA/SCSI for bug #217347.
17 years ago
Chris Gianelloni 113af0d25c Updated TODO. This is 3.4.10_pre9 for testing.
17 years ago
Chris Gianelloni a6823c3825 Added scsi to the default list of modules to load.
17 years ago
Andrew Gaffney 2595125846 Set CMD_KEYMAP to default to yes, so it's enabled unless specifically disabled
17 years ago
Chris Gianelloni cc57e07bb8 Added a patch to skip device nodes for devices if at least one partition exists on the device. This aids in LiveUSB usage and is for bug #212794. This is genkernel 3.4.10_pre8.
17 years ago
Andrew Gaffney 4187cff9f1 Split up /dev node checks into console/null and tty1
17 years ago
Andrew Gaffney 3bfe8144c0 Remove initrd-specific code from linuxrc
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
17 years ago
Andrew Gaffney 3c4236f34b Add patch from ebuild in-tree to fix build issue with signals on hppa
17 years ago
Andrew Gaffney 3128691111 Get rid of --initramfs option as it doesn't do anything anymore
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.
17 years ago
Andrew Gaffney a5165c526b Copy the original kconfig with a different name than the one used to build
17 years ago
Andrew Gaffney d52589997e Include original kconfig in kerncache
17 years ago
Andrew Gaffney 4304d907ba Switch back to building kernel first
17 years ago
Chris Gianelloni c205eaa040 Clean up the modules_load files and add qla2xxx. This is genkernel 3.4.10_pre6 for testing.
17 years ago
Andrew Gaffney f489b904ad Stick CONFIG_INITRAMFS_ROOT_GID in the .config, too
17 years ago
Andrew Gaffney fb88e10ff6 Remove existing CONFIG_INITRAMFS_SOURCE line and write new one as well as CONFIG_INITRAMFS_ROOT_UID line
17 years ago
Andrew Gaffney af3fd101f0 Change sed delimeter
17 years ago
Andrew Gaffney 0612894e1b We should edit the copy of the kconfig instead of the source file
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
17 years ago
Andrew Gaffney 7842579a94 Add scsi_wait_scan to sparc64's MODULES_SCSI
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
17 years ago
Andrew Gaffney d1313f5ecc Change the location we copy the intiramfs to for integrated initramfs
17 years ago
Andrew Gaffney 2d0c095a79 Revert last commit as it wasn't a problem
17 years ago
Andrew Gaffney a5aa9035a3 Remove -c "/dev/console" from switch_root command
17 years ago
Andrew Gaffney 2b0ce04048 Add missing $ to {NORMAL} for broken /dev message
17 years ago
Andrew Gaffney 858f4312e5 Spacing cleanups in gen_package.sh
17 years ago
Andrew Gaffney 9ef70b96fd Remove unsetting of ARCH for callback and change set_kernel_arch debug to use print_info
17 years ago
Andrew Gaffney db54f339a4 It helps to actually add the handling for the --integrated-initramfs option
17 years ago
Andrew Gaffney c1802ecec6 Use echo instead of print
17 years ago
Andrew Gaffney ecd89a5e6d Add debug code for set_kernel_arch
17 years ago
Andrew Gaffney f6f97cb650 Add debugging code to show ARCH when running callback
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
17 years ago
Andrew Gaffney 4bda5b0631 Change powerpc switch kernel version to 2.6.16 for if we ever uncomment it
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
17 years ago
Andrew Gaffney d176b8c104 Get rid of the ENABLE_PEGASOS_HACKS hacks
17 years ago
Andrew Gaffney 1664faa9df Argh...Changing the right line helps
17 years ago
Andrew Gaffney ee9a94f313 Change into initramfs-firmware-temp/ instead of initramfs-firmware-temp/lib/firmware/ before doing cpio
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.
17 years ago
Andrew Gaffney 565bb21a48 Change to new temp directory so the firmware gets copied to the right place
17 years ago
Andrew Gaffney b4fd892e57 Copy with -L so we get the file instead of the symlink
17 years ago
Andrew Gaffney 1c9596c37e Fix another quoting malfunction
17 years ago
Andrew Gaffney 520f70fd8d Explicitly enable MDADM and MDSTART in busy-config
17 years ago
Andrew Gaffney 6f9764a330 Update busybox static-error patch to actually work
17 years ago
Chris Gianelloni 96f11b125f Change BUSYBOX_VER to VERSION_BUSYBOX for genkernel-9999 ebuild.
17 years ago
Andrew Gaffney bad7c471f2 Remove the quotes when trying to expand a glob
17 years ago
Andrew Gaffney 182fd5e831 Update mdadm and mdstart patches
17 years ago
Andrew Gaffney 2ed29757ef It helps if we assign the correct value to version
17 years ago
Andrew Gaffney 6a3fb94230 Add busybox patch to remove error about compiling statically
17 years ago
Andrew Gaffney ae01c22edb Update busy-config files for the various arches for busybox 1.7.4
17 years ago
Andrew Gaffney e86db7cf2c Add apply_patches() function to automagically apply patches for a given util
17 years ago
Chris Gianelloni c7a57d7830 Rearrange checks so the return value is read correctly.
17 years ago
Andrew Gaffney bfd3e14a07 Enable CONFIG_HEXDUMP globally for busybox
17 years ago
Andrew Gaffney 7fab7bb1f9 Add support for --firmware-files option to make robbat2 happy
17 years ago
Andrew Gaffney 6ea20790b7 Add support for --firmware and --firmware-dir options to include firmware in the initramfs
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
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.
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.
17 years ago
Andrew Gaffney 063e926d27 Redirect which output to /dev/null and put quotes around var in test
17 years ago
Chris Gianelloni a0766808eb Changed MDRAID to MDADM for bug #211316.
17 years ago
Chris Gianelloni 89f860a323 Added a --no-keymap option for bug #210886.
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.
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.
17 years ago
Andrew Gaffney a8cef1efa5 Add missing space before closing ]
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
17 years ago
Andrew Gaffney 7f20c816c3 Remove quotes from around ${ROOT_TREES} so that the dirs are parsed separately by bash/cp
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.
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.
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.
17 years ago
Chris Gianelloni ad4cd03394 Switch to detection for LOOP and LOOPTYPE when they are not set.
17 years ago
Chris Gianelloni 5b462be907 Performed some minor cleanup.
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.
17 years ago
Chris Gianelloni bf2072c742 Removing 2.4 kernel configs, since we aren't supporting 2.4 from here on out.
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.
17 years ago
Chris Gianelloni a479c34552 This is the long-awaited unionfs code cleanup. All of the unionfs code in genkernel has been removed.
17 years ago
Andrew Gaffney 74ebf6cd74 Fix two calls to set_config_with_override on CMD_KERNCACHE and some indentation weirdness
17 years ago
Andrew Gaffney 4cde424af9 Change &>/dev/null to >/dev/null 2>&1 because busybox ash sucks
17 years ago
Andrew Gaffney c5bcb8d178 Switch to double quotes where we're interpolating variables, because I suck
17 years ago
Andrew Gaffney 23c3235aa1 Add qla2xxx to sparc64's MODULES_SCSI
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
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
17 years ago
Andrew Gaffney 5f3bff37d1 Clean up OLDCONFIG logic and default to OLDCONFIG=yes. This is for bug 207895
17 years ago
Chris Gianelloni 4faaee5d40 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.
17 years ago
Andrew Gaffney b861813ae6 add megaraid module to MODULES_SCSI for bug 206039
17 years ago
Andrew Gaffney 226a52cfeb specify the kernel version when looking for a module for bug 208593
17 years ago
Chris Gianelloni 2df80062d6 Removed runUdev, since we no longer use it.
17 years ago
Chris Gianelloni 37ef3eb473 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.
17 years ago
Andrew Gaffney 07397c6100 don't scan a bunch of extra devices when CDROOT_DEV is defined
17 years ago
Andrew Gaffney 783f92f592 add new cdroot_type=foo kernel commandline parameter to override -t iso9660 for bug 182818
17 years ago
Andrew Gaffney 9710e24c34 put -t auto back to -t iso9660 for mounting a cdrom. this is for bug 162962
17 years ago
Andrew Gaffney a8c95a49f7 fix description of --kernel-config for bug 194752
17 years ago