Add problematic laptop
[tails-test.git] / config / chroot_local-hooks / 12-initramfs-compress
blob8fd5bebc34cfb881ea408170a7376b4e2e325f4e
1 #!/bin/sh
3 set -e
5 echo "Configuring compression of the initramfs"
7 # Compress the initramfs using a more size-wise efficient algorithm.
9 OPTS_FILE='/etc/initramfs-tools/initramfs.conf'
11 [ -f "${OPTS_FILE}" ] || exit 11
13 sed -i'' 's,^COMPRESS=.*,COMPRESS=xz,' "${OPTS_FILE}"