commit: d4ad031a3a7ecaa0248f2bce19bfdd2ae0247eee
Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 23 21:20:04 2014 +0000
Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> 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 <robbat2 <AT> 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
}