[arch-general] mkinitcpio compression
Auguste Pop
auguste at gmail.com
Sat Feb 26 21:18:53 EST 2011
On Sun, Feb 27, 2011 at 10:12 AM, Dimitrios Apostolou <jimis at gmx.net> wrote:
> --- /sbin/mkinitcpio.orig 2010-10-06 03:23:00.966415649 +0300
> +++ /sbin/mkinitcpio 2011-02-26 19:11:36.309682053 +0200
> @@ -277,7 +277,7 @@
> status=0
> if [ -n "${GENIMG}" ]; then
> echo -n ":: Generating image '${GENIMG}'..."
> - if ! /sbin/gen_init_cpio ${FILELIST} | ${COMPRESSION} -9 > "${GENIMG}";
> then
> + if ! /sbin/gen_init_cpio ${FILELIST} | ${COMPRESSION} > "${GENIMG}";
> then
> echo "FAILED"
> status=1
> else
i think making it something like ${COMPRESSIONLEVEL:--9} is more appropriate.
More information about the arch-general
mailing list