cd out of directory to be deleted for bug 194695. Thanks to Asmund Grammeltvedt <asmundg@big-oil.org> for pointing this out

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@545 67a159dc-881f-0410-a524-ba9dfbe2cb84
cleanup-cruft
Andrew Gaffney 18 years ago
parent 2dd522a1ed
commit b1f27004bb

@ -2,6 +2,10 @@
# Copyright 2006-2007 Gentoo Foundation; Distributed under the GPL v2 # Copyright 2006-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: $ # $Header: $
04 Oct 2007; Andrew Gaffney <agaffney@gentoo.org> gen_initramfs.sh:
cd out of directory to be deleted for bug 194695. Thanks to Asmund
Grammeltvedt <asmundg@big-oil.org> for pointing this out
18 Sep 2007; Andrew Gaffney <agaffney@gentoo.org> gen_initramfs.sh, 18 Sep 2007; Andrew Gaffney <agaffney@gentoo.org> gen_initramfs.sh,
gen_initrd.sh: gen_initrd.sh:
we don't ever want devfs in an initramfs we don't ever want devfs in an initramfs

@ -405,6 +405,7 @@ append_auxilary() {
chmod +x "${TEMP}/initramfs-aux-temp/sbin/modprobe" chmod +x "${TEMP}/initramfs-aux-temp/sbin/modprobe"
cd "${TEMP}/initramfs-aux-temp/" cd "${TEMP}/initramfs-aux-temp/"
find . -print | cpio ${CPIO_ARGS} --append -F "${CPIO}" find . -print | cpio ${CPIO_ARGS} --append -F "${CPIO}"
cd "${TEMP}"
rm -r "${TEMP}/initramfs-aux-temp/" rm -r "${TEMP}/initramfs-aux-temp/"
} }

Loading…
Cancel
Save