From 0257b72785e144ec5fa5ada2b02800963abdc3b3 Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Fri, 27 Jul 2007 06:24:28 +0000 Subject: [PATCH] Cleanup of bogus error output. Clean up a bogus and cosmetic error introduced by the symlink patch: ${GK_SHARE}/gen_funcs.sh: line 431: popd: /var/tmp/genkernel/3996.6301.23048.13838/initramfs-modules-${KV}-temp: No such file or directory git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@524 67a159dc-881f-0410-a524-ba9dfbe2cb84 --- ChangeLog | 6 ++++++ gen_initramfs.sh | 1 + 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index cfe9ccf..149fe9d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,12 @@ # Copyright 2006-2007 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 26 Jul 2007; Robin H. Johnson gen_initramfs.sh: + Clean up a cosmetic error introduced by the symlink patch: + ${GK_SHARE}/gen_funcs.sh: line 431: popd: + /var/tmp/genkernel/3996.6301.23048.13838/initramfs-modules-${KV}-temp: No + such file or directory + 26 Jul 2007; Robin H. Johnson generic/initrd.scripts, generic/linuxrc: The previous patch from bug #174294 still contained some bugs in the linuxrc diff --git a/gen_initramfs.sh b/gen_initramfs.sh index 84d7e25..11376da 100644 --- a/gen_initramfs.sh +++ b/gen_initramfs.sh @@ -351,6 +351,7 @@ append_modules() { done cd "${TEMP}/initramfs-modules-${KV}-temp/" find . | cpio ${CPIO_ARGS} --append -F "${CPIO}" + cd "${TEMP}" rm -r "${TEMP}/initramfs-modules-${KV}-temp/" } -- 2.26.2