From 8abfb0c934d5d73af753e6025ec15ba83a822830 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 8 Mar 2012 23:58:39 +0100 Subject: [PATCH] initramfs-tools: do not compress with -9, simply use defaults (takes a lot of memory otherwise). --- srcpkgs/initramfs-tools/files/mkinitramfs | 3 +-- srcpkgs/initramfs-tools/template | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/srcpkgs/initramfs-tools/files/mkinitramfs b/srcpkgs/initramfs-tools/files/mkinitramfs index c9df3d947a7..2d0acdd7bf2 100755 --- a/srcpkgs/initramfs-tools/files/mkinitramfs +++ b/srcpkgs/initramfs-tools/files/mkinitramfs @@ -144,9 +144,8 @@ if ! `grep -q -i ^config_rd_${COMPRESS%p} /boot/config-${version}` ; then echo "linux-2.6 misses ${COMPRESS} support, using gzip" fi -# Always compress with best compression mode to save space. [ "$compress" = xz ] && compress="xz --check=crc32" -compress="$compress -9" +compress="$compress" if [ -d "${outfile}" ]; then echo "${outfile} is a directory" >&2 diff --git a/srcpkgs/initramfs-tools/template b/srcpkgs/initramfs-tools/template index 03febfcd72f..05e66fdd20e 100644 --- a/srcpkgs/initramfs-tools/template +++ b/srcpkgs/initramfs-tools/template @@ -1,6 +1,6 @@ # Template file for 'initramfs-tools' pkgname=initramfs-tools -_localver=117 # This is the XBPS version +_localver=118 # This is the XBPS version _distver=0.99 # This should match debian version version=${_distver}.${_localver} short_desc="Tools for generating an initramfs"