Commit Graph

322 Commits (3c53bb79e62e6e499c27d4d7bf72301eaef551e5)

Author SHA1 Message Date
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
Chris Gianelloni 69500d6738 This is 3.4.9_pre12 for testing.
17 years ago
Andrew Gaffney 8ac539106b apply LUKS key patch from bug 162962 from Nelson Batalha <nelson_batalha@hotmail.com>
17 years ago
Andrew Gaffney ccc3c9c78f fix text bolding on serial console for bug 202266 thanks to Michael Hordijk <hoffbrinkle@hotmail.com>
17 years ago
Andrew Gaffney 5ea7a1432f apply patch from John R. Graham <john_r_graham@mindspring.com> for bug 201482
17 years ago
Andrew Gaffney f86c24efb6 s/KERNELDIR/KERNEL_DIR/ for bug 201159
17 years ago
Andrew Gaffney 0e8907e131 fix typo for bug 201442. thanks to Michael Hordijk <hoffbrinkle@hotmail.com>
17 years ago
Chris Gianelloni 9e3f3a4292 This is genkernel 3.4.9_pre11 for testing.
17 years ago
Andrew Gaffney 20d54c9c00 s/elsif/elif/ because I use too many languages and random bash tutorials online can't be trusted
17 years ago
Chris Gianelloni 0815924a54 Added a patch line for busybox for bug #198892. This is 3.4.9_pre10 for testing.
17 years ago
Chris Gianelloni 9980cfc539 Added a small patch from John R. Graham <john_r_graham@mindspring.com> to fix arguments with spaces for bug #200161.
17 years ago
Andrew Gaffney f59adb569b use 'read' to get a line at a time to account for directories with spaces in the name. this fixes bug 199701
17 years ago
Andrew Gaffney cce65ad98c look for cryptsetup in /bin and /sbin
17 years ago
Andrew Gaffney 9f3580937c Force dmraid to be built with -j1 for bug #188273
17 years ago
Chris Gianelloni ed0fccb682 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.
17 years ago
Chris Gianelloni 626db701e2 ChangeLog fix/version fix.
17 years ago
Chris Gianelloni dfdb2b91ae Added config defaulting for --mdadm for bug #198694. Thanks to John R. Graham <john_r_graham@mindspring.com> for providing the patch. This is 3.4.9_pre9 for testing.
17 years ago
Andrew Gaffney cb5712f1f6 revert patch from bug 190327
17 years ago
Chris Gianelloni fba39b8f11 Added a nice patch from John R. Graham <john_r_graham@mindspring.com> to allow all command line options to be configurable from within the genkernel.conf file. This is for bug #182616. This is genkernel 3.4.9_pre8 for testing.
17 years ago
Chris Gianelloni dcb5af3f6f Fixed the noload module code. Thanks to Mijail Fedorovich <mfedorovich@gmail.com> for pointing it out in bug #198187.
17 years ago
Chris Gianelloni ae13885cdf Added an update patch from Alon Bar-Lev <alonbl@gentoo.org> in bug #197244 to clean up the suspend2 code and rename the functions to tuxonice to match the upstream rename.
17 years ago
Chris Gianelloni d0667a6beb Added a patch from Joshua Kinard <kumba@gentoo.org> to clean up the Pegasos hacks in genkernel. This is from bug #193826. This is genkernel 3.4.9_pre7 for testing.
17 years ago
Chris Gianelloni 77598a72d7 Added a simple patch from Andrew Gaffney <agaffney@gentoo.org> to ensure that we export ARCH before running menuconfig. This is from bug #190327.
17 years ago
Chris Gianelloni a935750c44 Make sure we still allow dolvm2/doevms2 on the kernel command line and give a warning. I've also added a 2 second delay between vgscan and vgchange. Thanks to Robin H. Johnson <robbat2@gentoo.org> for suggesting the changes and testing.
17 years ago
Chris Gianelloni d9cffe7d03 Reverting the removal of generic/modprobe for bug #197730. This is genkernel 3.4.9_pre6 for testing.
17 years ago
Chris Gianelloni 943ce2047b Fixed device-mapper/man removal for bug #196087, fixed mdadm.conf copying, and fixed syntax error for bug #197582. This is genkernel-3.4.9_pre5.
17 years ago
Chris Gianelloni c239493fcd Added a patch from Alan Hourihane <alanh@fairlite.demon.co.uk> for mdadm support in busybox from bug #172128. This is genkernel 3.4.9_pre4 for testing.
17 years ago
Chris Gianelloni 76b0593f47 Made a few minor cleanups here and there.
17 years ago
Andrew Gaffney b536430a15 update description for --initramfs-overlay in man page to match --help
18 years ago
Andrew Gaffney f29f8e3282 remove generic/modprobe and all supporting code, since busybox has modprobe
18 years ago
Andrew Gaffney b1f27004bb cd out of directory to be deleted for bug 194695. Thanks to Asmund Grammeltvedt <asmundg@big-oil.org> for pointing this out
18 years ago
Andrew Gaffney 2dd522a1ed we don't ever want devfs in an initramfs
18 years ago
Chris Gianelloni 62b6035d2a Rename DEBUGLEVEL/DEBUGFILE to LOGLEVEL/LOGFILE to help reduce confusion.
18 years ago
Chris Gianelloni 4005d85692 Some more generalcleanup and adding support for using a config file other than /etc/genkernel.conf to add flexibility.
18 years ago
Chris Gianelloni 2716ac4dc2 Removing klibc/modutils/module-init-tools files, since we don't need any of them, anymore.
18 years ago
Chris Gianelloni 2de4a9cd8f It helps if I use 'g' when doing a sed.
18 years ago
Chris Gianelloni 2ab02c410b Removed the use of GK_BIN variable, since it isn't necessary.
18 years ago
Chris Gianelloni 3c0bcf90c9 Updated TODO and cleaning up genkernel.conf a bit.
18 years ago
Chris Gianelloni 9e69a8a871 Remove some unnecessary copyright dates from a few files so we don't keep forgetting to update them when we modify the files.
18 years ago
Chris Gianelloni 208a983055 Renamed gensplash to splash and marked gensplash as deprecated. This is 3.4.9_pre3 for testing.
18 years ago
Chris Gianelloni 10990c2210 Changed all instances of EVMS2/LVM2 to EVMS/LVM, respectively. This will keep everything simplified if a newer EVMS/LVM version set appears.
18 years ago
Chris Gianelloni 364336c8dc Removing bootsplash support since it hasn't been in a kernel we've supported for years now, causes confusion amongst users, and really wasn't being used and caused issues with 2.6/initrd creation in some corner cases.
18 years ago
Chris Gianelloni 0f60973912 Removing the reversal patch for the suspend removal, since it will no longer apply.
18 years ago
Chris Gianelloni 497d9f9297 Performed some general cleanup on a few files and removed devfs/udev selection code, since we force devfs on 2.4 and mdev on 2.6 kernels.
18 years ago
Chris Gianelloni c24a91d307 Removing the suspend support that was added for bug #156445 until suspend is added to the tree and we can determine the proper way to support it. For more information, see bug #156431.
18 years ago
Chris Gianelloni 7e8148c27c Removed CONFIG_PHYSICAL_START from the x86/amd64 kernel configs for bug #186378. This is genkernel 3.4.9_pre1 for testing.
18 years ago
Chris Gianelloni 17f9f93afa Changing to use console=tty1 instead of CONSOLE=/dev/tty1 with a patch from Matthias Schwarzott <zzam@gentoo.org> for bug #188954.
18 years ago
Chris Gianelloni bfec77e7d2 Added arcmsr to MODULES_SCSI for bug #185827.
18 years ago
Chris Gianelloni 24dc832d0b Added suspend-0.5-Makefile.patch to pkg directory for suspend capabilities, bringing it into the repository, from the tree.
18 years ago
Chris Gianelloni 739fc53353 Added a small patch from Tais M. Hansen <tais.hansen@osd.dk> to add doscsi to the genkernel man page for bug #183406.
18 years ago
Chris Gianelloni 91b2ac41fb Added another patch from John R. Graham <john_r_graham@mindspring.com> for bug #180161.
18 years ago
Robin H. Johnson 0257b72785 Cleanup of bogus error output.
18 years ago
Robin H. Johnson 43b1f3aa7e Fixup for bugs from patch in bug 174294.
18 years ago
Andrew Gaffney 94e9ac1630 enhanced netboot linuxrc from gustavoz
18 years ago
Andrew Gaffney 1bdb11467f enable CONFIG_INSMOD in all arch busy-config files
18 years ago
Andrew Gaffney 8befa2ea18 Patch to compare new config instead of the one left laying around in the kerncache dir. Thanks to Pat Double <gentoo@patdouble.com> in bug #179739
18 years ago
Andrew Gaffney f10cd4ee6a Patch to actually use busybox bincache. Thanks to Pat Double
18 years ago