From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 6D1F31392EF for ; Mon, 23 Jun 2014 22:06:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8EBA1E09C3; Mon, 23 Jun 2014 22:06:45 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id ADC60E09C3 for ; Mon, 23 Jun 2014 22:06:44 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DC31A33FF57 for ; Mon, 23 Jun 2014 22:06:43 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id A868119063 for ; Mon, 23 Jun 2014 22:06:42 +0000 (UTC) From: "Robin H. Johnson" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Robin H. Johnson" Message-ID: <1403561118.d4ad031a3a7ecaa0248f2bce19bfdd2ae0247eee.robbat2@gentoo> Subject: [gentoo-commits] proj/genkernel:master commit in: / X-VCS-Repository: proj/genkernel X-VCS-Files: gen_package.sh X-VCS-Directories: / X-VCS-Committer: robbat2 X-VCS-Committer-Name: Robin H. Johnson X-VCS-Revision: d4ad031a3a7ecaa0248f2bce19bfdd2ae0247eee X-VCS-Branch: master Date: Mon, 23 Jun 2014 22:06:42 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: e52e4567-6b4f-4260-b1fe-70fb2b0d0d36 X-Archives-Hash: 40116a5a12fa038e0758456d5d6ad478 commit: d4ad031a3a7ecaa0248f2bce19bfdd2ae0247eee Author: Robin H. Johnson gentoo org> AuthorDate: Mon Jun 23 21:20:04 2014 +0000 Commit: Robin H. Johnson gentoo org> CommitDate: Mon Jun 23 22:05:18 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/genkernel.git;a=commit;h=d4ad031a gen_package: print full paths to pkgs/cache output The files are not created in the PWD when genkernel run without specifying absolute paths for those arguments and I need to debug where they are actually going. Signed-off-by: Robin H. Johnson gentoo.org> --- gen_package.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gen_package.sh b/gen_package.sh index 4780b6c..1a9068a 100755 --- a/gen_package.sh +++ b/gen_package.sh @@ -43,7 +43,7 @@ gen_minkernpackage() { cd "${TEMP}/minkernpackage" /bin/tar -jcpf ${MINKERNPACKAGE} * || gen_die 'Could not compress the kernel package!' - print_info 3 "Created minimal kernel package: ${MINKERNPACKAGE}" + print_info 3 "Created minimal kernel package: $(readlink -f ${MINKERNPACKAGE})" cd "${TEMP}" && rm -rf "${TEMP}/minkernpackage" > /dev/null 2>&1 } @@ -61,7 +61,7 @@ gen_modulespackage() { else print_info 1 "Could not create a modules package ${INSTALL_MOD_PATH}/lib/modules/${KV} was not found" fi - print_info 3 "Created modules package: ${MODULESPACKAGE}" + print_info 3 "Created modules package: $(readlink -f ${MODULESPACKAGE})" cd "${TEMP}" && rm -rf "${TEMP}/modulespackage" > /dev/null 2>&1 } gen_kerncache() @@ -107,7 +107,7 @@ gen_kerncache() cd "${TEMP}/kerncache" /bin/tar -jcpf ${KERNCACHE} * || gen_die 'Could not compress the kernel package!' - print_info 3 "Created kernel cache: ${KERNCACHE}" + print_info 3 "Created kernel cache: $(readlink -f ${KERNCACHE})" cd "${TEMP}" && rm -rf "${TEMP}/kerncache" > /dev/null 2>&1 }