From 6353f7c701ebb76c45eacc1b6d86e0072e331c75 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 24 Mar 2015 13:34:44 -0400 Subject: [PATCH] installkernel: compress files directly --- .bin/installkernel | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.bin/installkernel b/.bin/installkernel index 6180eb6..ec6ceb6 100755 --- a/.bin/installkernel +++ b/.bin/installkernel @@ -29,11 +29,9 @@ case ${img} in done popd >/dev/null - rm -f ${dir}/{config,System.map}-${ver}.xz cp ${img} ${dir}/image-${ver} - cp ${map} ${dir}/System.map-${ver} - cp .config ${dir}/config-${ver} - xz -9f ${dir}/{config,System.map}-${ver} + xz -9c ${map} > ${dir}/System.map-${ver}.xz + xz -9c .config > ${dir}/config-${ver}.xz ln -sf image-${ver} ${dir}/image zipl exit 0 -- 2.39.5