From: Andrew Gaffney Date: Thu, 4 Oct 2007 11:55:42 +0000 (+0000) Subject: cd out of directory to be deleted for bug 194695. Thanks to Asmund Grammeltvedt ... X-Git-Tag: v3.4.10.902~207 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b1f27004bbcac7c527b285a81fd07ab464fc2f5c;p=genkernel.git cd out of directory to be deleted for bug 194695. Thanks to Asmund Grammeltvedt for pointing this out git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@545 67a159dc-881f-0410-a524-ba9dfbe2cb84 --- diff --git a/ChangeLog b/ChangeLog index 89649e1..4674ee9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,10 @@ # Copyright 2006-2007 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 04 Oct 2007; Andrew Gaffney gen_initramfs.sh: + cd out of directory to be deleted for bug 194695. Thanks to Asmund + Grammeltvedt for pointing this out + 18 Sep 2007; Andrew Gaffney gen_initramfs.sh, gen_initrd.sh: we don't ever want devfs in an initramfs diff --git a/gen_initramfs.sh b/gen_initramfs.sh index 2d04504..49d44ea 100644 --- a/gen_initramfs.sh +++ b/gen_initramfs.sh @@ -405,6 +405,7 @@ append_auxilary() { chmod +x "${TEMP}/initramfs-aux-temp/sbin/modprobe" cd "${TEMP}/initramfs-aux-temp/" find . -print | cpio ${CPIO_ARGS} --append -F "${CPIO}" + cd "${TEMP}" rm -r "${TEMP}/initramfs-aux-temp/" }