# ChangeLog for genkernel
-# Copyright 2006-2007 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 2006-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 13 Mar 2008; Andrew Gaffney <agaffney@gentoo.org> gen_package.sh:
+ Spacing cleanups in gen_package.sh
+
+ 13 Mar 2008; Andrew Gaffney <agaffney@gentoo.org> gen_arch.sh, genkernel:
+ Remove unsetting of ARCH for callback and change set_kernel_arch debug to
+ use print_info
+
+ 13 Mar 2008; Andrew Gaffney <agaffney@gentoo.org> gen_cmdline.sh:
+ It helps to actually add the handling for the --integrated-initramfs option
+
+ 13 Mar 2008; Andrew Gaffney <agaffney@gentoo.org> gen_arch.sh:
+ Use echo instead of print
+
+ 13 Mar 2008; Andrew Gaffney <agaffney@gentoo.org> gen_arch.sh:
+ Add debug code for set_kernel_arch
+
+ 13 Mar 2008; Andrew Gaffney <agaffney@gentoo.org> genkernel:
+ Add debugging code to show ARCH when running callback
+ Unset ARCH when running callback and restore afterwards
+
+ 13 Mar 2008; Andrew Gaffney <agaffney@gentoo.org> genkernel:
+ Move set_kernel_arch() call to after determine_real_args() so that get_KV()
+ has populated the vars we need
+
+ 13 Mar 2008; Andrew Gaffney <agaffney@gentoo.org> gen_arch.sh:
+ Change powerpc switch kernel version to 2.6.16 for if we ever uncomment it
+
+ 13 Mar 2008; Andrew Gaffney <agaffney@gentoo.org> gen_arch.sh,
+ gen_compile.sh, genkernel:
+ Add set_kernel_arch(), which maps the genkernel arch to the arch that the
+ kernel expects based on the version of the kernel
+
+ 13 Mar 2008; Andrew Gaffney <agaffney@gentoo.org> gen_cmdline.sh,
+ gen_compile.sh, gen_determineargs.sh, gen_initramfs.sh, gen_initrd.sh,
+ gen_package.sh, genkernel:
+ 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
+
+ 13 Mar 2008; Andrew Gaffney <agaffney@gentoo.org> gen_initramfs.sh:
+ Argh...Changing the right line helps
+
+ 13 Mar 2008; Andrew Gaffney <agaffney@gentoo.org> gen_initramfs.sh:
+ Change into initramfs-firmware-temp/ instead of
+ initramfs-firmware-temp/lib/firmware/ before doing cpio
+
+ 12 Mar 2008; Chris Gianelloni <wolf31o2@gentoo.org> generic/linuxrc,
+ genkernel:
+ 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.
+
+ 12 Mar 2008; Andrew Gaffney <agaffney@gentoo.org> gen_initramfs.sh:
+ Change to new temp directory so the firmware gets copied to the right place
+
+ 12 Mar 2008; Andrew Gaffney <agaffney@gentoo.org> gen_initramfs.sh:
+ Copy firmware file with -L so we get the file instead of the symlink
+
+ 12 Mar 2008; Andrew Gaffney <agaffney@gentoo.org> gen_initramfs.sh:
+ Fix another quoting malfunction
+
+ 12 Mar 2008; Andrew Gaffney <agaffney@gentoo.org> alpha/busy-config,
+ ia64/busy-config, mips/busy-config, parisc/busy-config,
+ parisc64/busy-config, ppc/busy-config, ppc64/busy-config,
+ sparc/busy-config, sparc64/busy-config, x86/busy-config,
+ x86_64/busy-config:
+ Explicitly enable MDADM and MDSTART in busy-config
+
+ 12 Mar 2008; Andrew Gaffney <agaffney@gentoo.org>
+ patches/busybox/1.7.4/1.7.4-static-error.diff:
+ Update busybox static-error patch to actually work
+
+ 12 Mar 2008; Chris Gianelloni <wolf31o2@gentoo.org> genkernel.conf:
+ Change BUSYBOX_VER to VERSION_BUSYBOX for genkernel-9999 ebuild.
+
+ 11 Mar 2008; Andrew Gaffney <agaffney@gentoo.org> gen_compile.sh:
+ Remove the quotes when trying to expand a glob
+
+ 11 Mar 2008; Andrew Gaffney <agaffney@gentoo.org>
+ patches/busybox/1.7.4/1.7.4-mdadm.diff,
+ patches/busybox/1.7.4/1.7.4-mdstart.diff:
+ Update mdadm and mdstart patches
+
+ 11 Mar 2008; Andrew Gaffney <agaffney@gentoo.org> gen_compile.sh:
+ 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
+
+ 11 Mar 2008; Andrew Gaffney <agaffney@gentoo.org>
+ +patches/busybox/1.7.4/1.7.4-static-error.diff:
+ Add busybox patch to remove error about compiling statically
+
+ 11 Mar 2008; Andrew Gaffney <agaffney@gentoo.org> alpha/busy-config,
+ gen_compile.sh, ia64/busy-config, mips/busy-config, parisc/busy-config,
+ parisc64/busy-config, ppc/busy-config, ppc64/busy-config,
+ sparc/busy-config, sparc64/busy-config, x86/busy-config,
+ x86_64/busy-config:
+ Update busy-config files for the various arches for busybox 1.7.4
+
+ 11 Mar 2008; Andrew Gaffney <agaffney@gentoo.org> gen_compile.sh,
+ genkernel.conf, +patches/busybox/1.7.4/1.7.4-ash-timeout.diff,
+ +patches/busybox/1.7.4/1.7.4-mdadm.diff,
+ +patches/busybox/1.7.4/1.7.4-mdstart.diff,
+ +patches/busybox/1.7.4/1.7.4-openvt.diff:
+ 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
+
+ 11 Mar 2008; Chris Gianelloni <wolf31o2@gentoo.org>
+ generic/initrd.scripts:
+ Rearrange checks so the return value is read correctly.
+
+ 10 Mar 2008; Andrew Gaffney <agaffney@gentoo.org> alpha/busy-config,
+ gen_initrd.sh, generic/initrd.scripts, generic/linuxrc, ia64/busy-config,
+ mips/busy-config, parisc/busy-config, parisc64/busy-config,
+ ppc/busy-config, ppc64/busy-config, sparc/busy-config,
+ sparc64/busy-config, um/busy-config, x86/busy-config, x86_64/busy-config:
+ Enable CONFIG_HEXDUMP globally for busybox
+ Add getdvhoff replacement function from vapier
+ Remove copying of getdvhoff from system
+
+ 10 Mar 2008; Andrew Gaffney <agaffney@gentoo.org> gen_cmdline.sh,
+ gen_determineargs.sh, gen_initramfs.sh, genkernel.conf:
+ Add support for --firmware-files option to make robbat2 happy
+
+ 10 Mar 2008; Andrew Gaffney <agaffney@gentoo.org> gen_cmdline.sh,
+ gen_determineargs.sh, gen_initramfs.sh, genkernel.conf:
+ Add support for --firmware and --firmware-dir options to include firmware in
+ the initramfs
+
+ 09 Mar 2008; Andrew Gaffney <agaffney@gentoo.org> generic/linuxrc:
+ 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
+
+ 04 Mar 2008; Chris Gianelloni <wolf31o2@gentoo.org> gen_initramfs.sh:
+ 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.
+
+ 04 Mar 2008; Chris Gianelloni <wolf31o2@gentoo.org> sparc64/kernel-config,
+ alpha/kernel-config-2.6, ia64/kernel-config-2.6, x86/kernel-config-2.6,
+ x86_64/kernel-config-2.6:
+ Updated the kernel configs for arches which have given us their 2008.0
+ configs. This is 3.4.10_pre4 for testing.
+
+ 29 Feb 2008; Andrew Gaffney <agaffney@gentoo.org> gen_initramfs.sh:
+ Redirect which output to /dev/null and put quotes around var in test
+
+ 29 Feb 2008; Chris Gianelloni <wolf31o2@gentoo.org> alpha/modules_load,
+ ia64/modules_load, ppc/modules_load, ppc64/modules_load, um/modules_load,
+ x86_64/modules_load:
+ Changed MDRAID to MDADM for bug #211316.
+
+ 28 Feb 2008; Chris Gianelloni <wolf31o2@gentoo.org> gen_cmdline.sh,
+ gen_initramfs.sh, gen_initrd.sh, generic/initrd.scripts:
+ Added a --no-keymap option for bug #210886.
+
+ 28 Feb 2008; Chris Gianelloni <wolf31o2@gentoo.org> gen_initramfs.sh,
+ generic/linuxrc:
+ 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.
+
+ 20 Feb 2008; Chris Gianelloni <wolf31o2@gentoo.org>
+ -xenU/kernel-config-2.6, -xen0/kernel-config-2.6, genkernel,
+ -xen0/busy-config, -xen0/config.sh, -xen0/modules_load, -xenU/busy-config,
+ -xenU/config.sh, -xenU/modules_load:
+ Removing the xen0 and xenU arches, since they didn't work, anyway. This is
+ genkernel 3.4.10_pre3 for testing.
+
+ 20 Feb 2008; Andrew Gaffney <agaffney@gentoo.org> gen_package.sh:
+ Add missing space before closing ]
+
+ 19 Feb 2008; Andrew Gaffney <agaffney@gentoo.org> generic/initrd.scripts:
+ Apply patch from bug 210457 to fix variable substitution. Thanks to Paul
+ Taylor <birder@ozemail.com.au> for reporting
+
+ 19 Feb 2008; Andrew Gaffney <agaffney@gentoo.org> generic/linuxrc:
+ Remove quotes from around ${ROOT_TREES} so that the dirs are parsed
+ separately by bash/cp
+
+ 14 Feb 2008; Chris Gianelloni <wolf31o2@gentoo.org> gen_compile.sh,
+ gen_determineargs.sh, gen_funcs.sh, gen_initramfs.sh, gen_initrd.sh,
+ generic/initrd.defaults, generic/initrd.scripts, generic/linuxrc,
+ genkernel, genkernel.8, genkernel.conf:
+ Removing DEVFS support from genkernel since we don't support 2.4 kernels
+ anymore. This is 3.4.10_pre2.
+
+ 14 Feb 2008; Chris Gianelloni <wolf31o2@gentoo.org>
+ generic/initrd.scripts:
+ Added a line to make sure we remove image.squashfs as well as the other loop
+ names used by catalyst.
+
+ 14 Feb 2008; Chris Gianelloni <wolf31o2@gentoo.org> gen_compile.sh:
+ Added another patch from Javier Miqueleiz <javier@miqueleiz.com> in bug
+ #198892 for mdadm 1.1 and 1.2 metadata support.
+
+ 14 Feb 2008; Chris Gianelloni <wolf31o2@gentoo.org>
+ generic/initrd.defaults, generic/initrd.scripts, generic/linuxrc:
+ Switch to detection for LOOP and LOOPTYPE when they are not set.
+
+ 14 Feb 2008; Chris Gianelloni <wolf31o2@gentoo.org>
+ generic/initrd.scripts, generic/linuxrc:
+ Performed some minor cleanup.
+
+ 14 Feb 2008; Chris Gianelloni <wolf31o2@gentoo.org> generic/linuxrc:
+ 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.
+
+ 14 Feb 2008; Chris Gianelloni <wolf31o2@gentoo.org> -um/kernel-config-2.4,
+ -alpha/kernel-config-2.4, -parisc64/kernel-config-2.4,
+ -xenU/kernel-config-2.4, -parisc/kernel-config-2.4,
+ -x86/kernel-config-2.4, -xen0/kernel-config-2.4:
+ Removing 2.4 kernel configs, since we aren't supporting 2.4 from here on out.
+
+ 14 Feb 2008; Chris Gianelloni <wolf31o2@gentoo.org> genkernel:
+ 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.
+
+ 14 Feb 2008; Chris Gianelloni <wolf31o2@gentoo.org> gen_cmdline.sh,
+ gen_compile.sh, gen_determineargs.sh, gen_initramfs.sh, gen_initrd.sh,
+ generic/initrd.scripts, generic/linuxrc, genkernel, genkernel.conf,
+ mips/config.sh:
+ This is the long-awaited unionfs code cleanup. All of the unionfs code in
+ genkernel has been removed.
+
+ 07 Feb 2008; Andrew Gaffney <agaffney@gentoo.org> gen_determineargs.sh:
+ Fix two calls to set_config_with_override on CMD_KERNCACHE and some
+ indentation weirdness
+
+ 04 Feb 2008; Andrew Gaffney <agaffney@gentoo.org> generic/initrd.scripts:
+ Change &>/dev/null to >/dev/null 2>&1 because busybox ash sucks
+
+ 04 Feb 2008; Andrew Gaffney <agaffney@gentoo.org> generic/initrd.scripts,
+ generic/linuxrc:
+ Switch to double quotes where we're interpolating variables, because I suck
+
+ 03 Feb 2008; Andrew Gaffney <agaffney@gentoo.org> sparc64/modules_load:
+ Add qla2xxx to sparc64's MODULES_SCSI
+
+ 03 Feb 2008; Andrew Gaffney <agaffney@gentoo.org> gen_cmdline.sh,
+ gen_determineargs.sh, gen_moddeps.sh:
+ Add --all-initrd-modules option to copy all kernel modules into
+ initrd/ramfs. This is useful for netboot images
+
+ 03 Feb 2008; Andrew Gaffney <agaffney@gentoo.org> generic/initrd.scripts,
+ generic/linuxrc:
+ 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
+
+ 03 Feb 2008; Andrew Gaffney <agaffney@gentoo.org> gen_configkernel.sh,
+ genkernel.conf:
+ Clean up OLDCONFIG logic and default to OLDCONFIG=yes. This is for bug 207895
+
+ 02 Feb 2008; Chris Gianelloni <wolf31o2@gentoo.org> generic/linuxrc:
+ 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.
+
+ 02 Feb 2008; Andrew Gaffney <agaffney@gentoo.org> alpha/modules_load,
+ ia64/modules_load, ppc/modules_load, ppc64/modules_load, um/modules_load,
+ x86/modules_load, x86_64/modules_load, xen0/modules_load,
+ xenU/modules_load:
+ add megaraid module to MODULES_SCSI for bug 206039
+
+ 02 Feb 2008; Andrew Gaffney <agaffney@gentoo.org> generic/modprobe:
+ specify the kernel version when looking for a module for bug 208593
+
+ 02 Feb 2008; Chris Gianelloni <wolf31o2@gentoo.org>
+ generic/initrd.defaults, generic/initrd.scripts:
+ Removed runUdev, since we no longer use it.
+
+ 11 Jan 2008; Chris Gianelloni <wolf31o2@gentoo.org> gen_initramfs.sh,
+ gen_initrd.sh, genkernel:
+ 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.
+
+ 28 Dec 2007; Andrew Gaffney <agaffney@gentoo.org> generic/initrd.defaults,
+ generic/initrd.scripts, generic/linuxrc:
+ Don't scan a bunch of extra devices when CDROOT_DEV is defined.
+
+ 28 Dec 2007; Andrew Gaffney <agaffney@gentoo.org> generic/initrd.scripts,
+ generic/linuxrc:
+ Add new cdroot_type=foo kernel commandline parameter to override -t iso9660
+ for bug #182818.
+
+ 28 Dec 2007; Andrew Gaffney <agaffney@gentoo.org> generic/initrd.scripts:
+ Put -t auto back to -t iso9660 for mounting a cdrom. This is for bug #162962.
+
+ 27 Dec 2007; Andrew Gaffney <agaffney@gentoo.org> genkernel.8:
+ Fix description of --kernel-config for bug #194752.
+
+ 27 Dec 2007; Chris Gianelloni <wolf31o2@gentoo.org> genkernel:
+ This is 3.4.9_pre12 for testing.
+
+ 23 Dec 2007; Andrew Gaffney <agaffney@gentoo.org> generic/initrd.scripts,
+ generic/linuxrc, genkernel.8:
+ Apply LUKS key patch from bug #162962 from Nelson Batalha
+ <nelson_batalha@hotmail.com>
+
+ 14 Dec 2007; Andrew Gaffney <agaffney@gentoo.org> generic/linuxrc:
+ Fix text bolding on serial console for bug #202266 thanks to Michael Hordijk
+ <hoffbrinkle@hotmail.com>.
+
+ 13 Dec 2007; Andrew Gaffney <agaffney@gentoo.org> gen_determineargs.sh:
+ Apply a patch from John R. Graham <john_r_graham@mindspring.com> for bug
+ #201482.
+
+ 06 Dec 2007; Andrew Gaffney <agaffney@gentoo.org> gen_cmdline.sh:
+ Do s/KERNELDIR/KERNEL_DIR/ for bug #201159.
+
+ 06 Dec 2007; Andrew Gaffney <agaffney@gentoo.org> generic/initrd.scripts:
+ Fix typo for bug #201442. Thanks to Michael Hordijk <hoffbrinkle@hotmail.com>.
+
+ 03 Dec 2007; Chris Gianelloni <wolf31o2@gentoo.org> genkernel:
+ This is genkernel 3.4.9_pre11 for testing.
+
+ 29 Nov 2007; Andrew Gaffney <agaffney@gentoo.org> gen_initramfs.sh,
+ gen_initrd.sh:
+ Do s/elsif/elif/ because I use too many languages and random bash tutorials
+ online can't be trusted.
+
+ 28 Nov 2007; Chris Gianelloni <wolf31o2@gentoo.org> gen_compile.sh,
+ genkernel:
+ Added a patch line for busybox for bug #198892. This is 3.4.9_pre10 for
+ testing.
+
+ 24 Nov 2007; Chris Gianelloni <wolf31o2@gentoo.org> gen_funcs.sh:
+ Added a small patch from John R. Graham <john_r_graham@mindspring.com> to
+ fix arguments with spaces for bug #200161.
+
+ 24 Nov 2007; Andrew Gaffney <agaffney@gentoo.org> generic/linuxrc:
+ Use 'read' to get a line at a time to account for directories with spaces in
+ the name. This fixes bug 199701.
+
+ 23 Nov 2007; Andrew Gaffney <agaffney@gentoo.org> gen_initramfs.sh,
+ gen_initrd.sh:
+ Look for cryptsetup in /bin and /sbin.
+
+ 17 Nov 2007; Andrew Gaffney <agaffney@gentoo.org> gen_compile.sh:
+ Force dmraid to be built with -j1 for bug #188273.
+
+ 16 Nov 2007; Chris Gianelloni <wolf31o2@gentoo.org> genkernel.conf:
+ 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.
+
+ 13 Nov 2007; Chris Gianelloni <wolf31o2@gentoo.org> gen_determineargs.sh,
+ genkernel.conf, genkernel:
+ 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.
+
+ 08 Nov 2007; Andrew Gaffney <agaffney@gentoo.org> gen_arch.sh:
+ Revert patch from bug #190327 as it breaks well more than it fixed.
+
+ 07 Nov 2007; Chris Gianelloni <wolf31o2@gentoo.org> alpha/config.sh,
+ gen_cmdline.sh, gen_determineargs.sh, gen_funcs.sh, gen_initramfs.sh,
+ gen_initrd.sh, gen_package.sh, genkernel, genkernel.conf, ia64/config.sh,
+ mips/config.sh, parisc/config.sh, parisc64/config.sh, ppc/config.sh,
+ ppc64/config.sh, sparc/config.sh, sparc64/config.sh, um/config.sh,
+ x86/config.sh, x86_64/config.sh, xen0/config.sh, xenU/config.sh:
+ 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.
+
07 Nov 2007; Chris Gianelloni <wolf31o2@gentoo.org>
generic/initrd.scripts:
Fixed the noload module code. Thanks to Mijail Fedorovich
Fix #100637.
05 Dec 2005; Tim Yamin <plasmaroo@gentoo.org> generic/linuxrc:
- Back out suspend2 support temporarily as per #114266c10.
+ Back out suspend2 support temporarily as per #114266 comment 10.
05 Dec 2005; Tim Yamin <plasmaroo@gentoo.org> generic/linuxrc:
Fix #113634, #114266.