Re: mkinitcpio compression

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Sun, Feb 27, 2011 at 10:12 AM, Dimitrios Apostolou <jimis@xxxxxxx> 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.


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux