From: Mike Frysinger Date: Tue, 24 Mar 2015 17:34:44 +0000 (-0400) Subject: installkernel: compress files directly X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=6353f7c701ebb76c45eacc1b6d86e0072e331c75;p=home.git installkernel: compress files directly --- 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