From: Chris Gianelloni Date: Fri, 11 Jan 2008 23:43:53 +0000 (+0000) Subject: Fixing a problem where we were copying the busybox binary cache into the busybox... X-Git-Tag: v3.4.10.902~172 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=37ef3eb4739aad801f45b6f41092115d5c46af0c;p=genkernel.git 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 for pointing it out in bug #204087. This is genkernel 3.4.9 FINAL. Enjoy. git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@580 67a159dc-881f-0410-a524-ba9dfbe2cb84 --- diff --git a/ChangeLog b/ChangeLog index 597475a..1ce810c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,21 +1,29 @@ # ChangeLog for genkernel -# Copyright 2006-2007 Gentoo Foundation; Distributed under the GPL v2 +# Copyright 2006-2008 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 11 Jan 2008; Chris Gianelloni 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 for pointing it out in bug #204087. This + is genkernel 3.4.9 FINAL. Enjoy. + 28 Dec 2007; Andrew Gaffney generic/initrd.defaults, generic/initrd.scripts, generic/linuxrc: - don't scan a bunch of extra devices when CDROOT_DEV is defined + Don't scan a bunch of extra devices when CDROOT_DEV is defined. 28 Dec 2007; Andrew Gaffney generic/initrd.scripts, generic/linuxrc: - add new cdroot_type=foo kernel commandline parameter to override -t iso9660 - for bug 182818 + Add new cdroot_type=foo kernel commandline parameter to override -t iso9660 + for bug #182818. 28 Dec 2007; Andrew Gaffney generic/initrd.scripts: - put -t auto back to -t iso9660 for mounting a cdrom. this is for bug 162962 + Put -t auto back to -t iso9660 for mounting a cdrom. This is for bug #162962. 27 Dec 2007; Andrew Gaffney genkernel.8: - fix description of --kernel-config for bug 194752 + Fix description of --kernel-config for bug #194752. 27 Dec 2007; Chris Gianelloni genkernel: This is 3.4.9_pre12 for testing. diff --git a/gen_initramfs.sh b/gen_initramfs.sh index ca7c2b5..1833f82 100644 --- a/gen_initramfs.sh +++ b/gen_initramfs.sh @@ -42,9 +42,7 @@ append_busybox() { cp "${GK_SHARE}/generic/udhcpc.scripts" ${TEMP}/initramfs-busybox-temp/bin/ chmod +x "${TEMP}/initramfs-busybox-temp/bin/udhcpc.scripts" - cp "${BUSYBOX_BINCACHE}" "${TEMP}/initramfs-busybox-temp/bin/busybox.tar.bz2" || - gen_die 'Could not copy busybox from bincache!' - tar -xjf "${TEMP}/initramfs-busybox-temp/bin/busybox.tar.bz2" -C "${TEMP}/initramfs-busybox-temp/bin" busybox || + tar -xjf "${BUSYBOX_BINCACHE}" -C "${TEMP}/initramfs-busybox-temp/bin" busybox || gen_die 'Could not extract busybox bincache!' chmod +x "${TEMP}/initramfs-busybox-temp/bin/busybox" diff --git a/gen_initrd.sh b/gen_initrd.sh index 59df7dc..fc42f93 100644 --- a/gen_initrd.sh +++ b/gen_initrd.sh @@ -78,9 +78,7 @@ create_base_initrd_sys() { chmod +x "${TEMP}/initrd-temp/bin/blkid" fi - cp "${BUSYBOX_BINCACHE}" "${TEMP}/initrd-temp/bin/busybox.tar.bz2" || - gen_die 'Could not copy busybox from bincache!' - tar -xjf "${TEMP}/initrd-temp/bin/busybox.tar.bz2" -C "${TEMP}/initrd-temp/bin" busybox || + tar -xjf "${BUSYBOX_BINCACHE}" -C "${TEMP}/initrd-temp/bin" busybox || gen_die 'Could not extract busybox bincache!' chmod +x "${TEMP}/initrd-temp/bin/busybox" diff --git a/genkernel b/genkernel index aa09939..578492f 100755 --- a/genkernel +++ b/genkernel @@ -1,7 +1,7 @@ #!/bin/bash PATH="/bin:/usr/bin:/sbin:/usr/sbin" -GK_V='3.4.9_pre12' +GK_V='3.4.9' # Set the default for TMPDIR. May be modified by genkernel.conf or the # --tempdir command line option.