]> TLD Linux GIT Repositories - packages/dracut.git/blob - xz_compressor.patch
- don't link udevd as systemd-udevd
[packages/dracut.git] / xz_compressor.patch
1 diff -ur dracut-040.orig/dracut.sh dracut-040/dracut.sh
2 --- dracut-040.orig/dracut.sh   2014-11-21 14:04:57.000000000 +0000
3 +++ dracut-040/dracut.sh        2014-11-22 13:19:07.066000000 +0000
4 @@ -163,8 +163,6 @@
5    --install-optional [LIST]  Install the space separated list of files into the
6                           initramfs, if they exist.
7    --gzip                Compress the generated initramfs using gzip.
8 -                         This will be done by default, unless another
9 -                         compression option or --no-compress is passed.
10    --bzip2               Compress the generated initramfs using bzip2.
11                           Make sure your kernel has bzip2 decompression support
12                           compiled in, otherwise you will not be able to boot.
13 @@ -172,6 +170,8 @@
14                           Make sure your kernel has lzma support compiled in,
15                           otherwise you will not be able to boot.
16    --xz                  Compress the generated initramfs using xz.
17 +                         This will be done by default, unless another
18 +                         compression option or --no-compress is passed.
19                           Make sure that your kernel has xz support compiled
20                           in, otherwise you will not be able to boot.
21    --lzo                 Compress the generated initramfs using lzop.
22 @@ -817,7 +817,7 @@
23  fw_dir=${fw_dir//:/ }
24  
25  # handle compression options.
26 -[[ $compress ]] || compress="gzip"
27 +[[ $compress ]] || compress="xz"
28  case $compress in
29      bzip2) compress="bzip2 -9";;
30      lzma)  compress="lzma -9 -T0";;