From 5b158ad3a9d858b9046cbe8822ce970a7c638266 Mon Sep 17 00:00:00 2001 From: Victor Lowther Date: Sat, 14 Aug 2010 14:23:25 -0500 Subject: Add support for bzip2 and xz compressed initramfs images. Current kernels know how to uncompress bzip2 and xz, so use them for compressing the initramfs if asked. The more compression the merrier. Also add support for generating uncompressed images, although they are usually not what you want. --- mkinitrd-dracut.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mkinitrd-dracut.sh') diff --git a/mkinitrd-dracut.sh b/mkinitrd-dracut.sh index 64b3069d..59333a75 100644 --- a/mkinitrd-dracut.sh +++ b/mkinitrd-dracut.sh @@ -96,7 +96,7 @@ while [ $# -gt 0 ]; do --without*) ;; --without-usb) ;; --fstab*) ;; - --nocompress) ;; + --nocompress) dracut_args="$dracut_args --no-compress";; --ifneeded) ;; --omit-scsi-modules) ;; --omit-ide-modules) ;; -- cgit v1.2.3