diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2014-06-23 14:20:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2014-06-23 15:05:18 -0700 |
commit | d4ad031a3a7ecaa0248f2bce19bfdd2ae0247eee (patch) | |
tree | 7b1ee71411d73d7c24eef86a09d4016c822c7716 | |
parent | genkernel: Bump version. (diff) | |
download | genkernel-d4ad031a3a7ecaa0248f2bce19bfdd2ae0247eee.tar.gz genkernel-d4ad031a3a7ecaa0248f2bce19bfdd2ae0247eee.tar.bz2 genkernel-d4ad031a3a7ecaa0248f2bce19bfdd2ae0247eee.zip |
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@gentoo.org>
-rwxr-xr-x | gen_package.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gen_package.sh b/gen_package.sh index 4780b6c1..1a9068a0 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 } |