summaryrefslogtreecommitdiff
path: root/mkinitrd-dracut.sh
diff options
context:
space:
mode:
authorVictor Lowther <victor.lowther@gmail.com>2010-08-14 14:23:25 -0500
committerHarald Hoyer <harald@redhat.com>2010-08-23 11:51:34 +0200
commit5b158ad3a9d858b9046cbe8822ce970a7c638266 (patch)
tree63f1e57746274e457b3ef9cd2da3a510cb08760b /mkinitrd-dracut.sh
parentafbeadb9daa3b1d44c77007f241f24c7e593252b (diff)
downloaddracut-5b158ad3a9d858b9046cbe8822ce970a7c638266.tar.gz
dracut-5b158ad3a9d858b9046cbe8822ce970a7c638266.tar.bz2
dracut-5b158ad3a9d858b9046cbe8822ce970a7c638266.zip
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.
Diffstat (limited to 'mkinitrd-dracut.sh')
-rw-r--r--mkinitrd-dracut.sh2
1 files changed, 1 insertions, 1 deletions
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) ;;