X-Git-Url: https://git.tld-linux.org/?p=packages%2Fdracut.git;a=blobdiff_plain;f=compressors.patch;h=0a5aa0f6af983bac2a9b1808835deec5145931b9;hp=2a997b0c972b3151a94954f900c07afd75de62a1;hb=6e9542887007f5af61d385af9a048f7cdb86c4e4;hpb=74bd56f370f53edcac8a6bf01b86865648069331 diff --git a/compressors.patch b/compressors.patch index 2a997b0..0a5aa0f 100644 --- a/compressors.patch +++ b/compressors.patch @@ -1,7 +1,7 @@ -diff -ur dracut-044.orig/dracut.sh dracut-044/dracut.sh ---- dracut-044.orig/dracut.sh 2015-11-30 12:50:20.000000000 +0000 -+++ dracut-044/dracut.sh 2015-11-30 12:59:15.110305000 +0000 -@@ -173,8 +173,6 @@ +diff -urpa dracut-047.orig/dracut.sh dracut-047/dracut.sh +--- dracut-047.orig/dracut.sh 2018-03-15 12:07:49.000000000 +0000 ++++ dracut-047/dracut.sh 2018-03-15 12:10:37.580977945 +0000 +@@ -180,8 +180,6 @@ Creates initial ramdisk images for prelo --install-optional [LIST] Install the space separated list of files into the initramfs, if they exist. --gzip Compress the generated initramfs using gzip. @@ -10,7 +10,7 @@ diff -ur dracut-044.orig/dracut.sh dracut-044/dracut.sh --bzip2 Compress the generated initramfs using bzip2. Make sure your kernel has bzip2 decompression support compiled in, otherwise you will not be able to boot. -@@ -182,6 +180,8 @@ +@@ -189,6 +187,8 @@ Creates initial ramdisk images for prelo Make sure your kernel has lzma support compiled in, otherwise you will not be able to boot. --xz Compress the generated initramfs using xz. @@ -19,12 +19,11 @@ diff -ur dracut-044.orig/dracut.sh dracut-044/dracut.sh Make sure that your kernel has xz support compiled in, otherwise you will not be able to boot. --lzo Compress the generated initramfs using lzop. -@@ -769,7 +769,7 @@ - +@@ -809,6 +809,7 @@ fi if ! [[ $compress ]]; then # check all known compressors, if none specified -- for i in pigz gzip lz4 lzop lzma xz lbzip2 bzip2 cat; do -+ for i in xz lzma bzip2 lbzip2 gzip pigz lz4 lzop cat; do + for i in pigz gzip lz4 lzop zstd lzma xz lbzip2 bzip2 cat; do ++ for i in xz lzma bzip2 lbzip2 gzip pigz lz4 lzop zstd cat; do command -v "$i" &>/dev/null || continue compress="$i" break