2 ===================================================================
3 --- geninitrd (wersja 10524)
4 +++ geninitrd (kopia robocza)
7 echo "usage: $PROGRAM [--version] [-v] [-f] [--ifneeded] [--preload <module>]"
8 echo " [--with=<module>] [--image-version] [--fstab=<fstab>] [--nocompress]"
9 - echo " [--compress=yes|lzma|bzip2|gzip]"
10 + echo " [--compress=yes|xz|bzip2|gzip]"
11 echo " [--initrdfs=rom|initramfs|ext2|cram] [--modules-conf=<modules.conf>]"
12 echo " [--with-bootsplash] [--without-bootsplash]"
13 echo " [--with-fbsplash] [--without-fbsplash]"
17 # the best compressor list
18 - local compressors='lzma bzip2 gzip'
19 + local compressors='xz bzip2 gzip'
21 # a specified one, take it
22 if ! is_yes "$mode"; then
24 local c prog map=/boot/System.map-$kernel
25 for c in $compressors; do
36 # TODO: the image name (specified from kernel.spec) already contains
37 # extension, which is .gz most of the time.
40 - lzma -9 < "$IMAGE" > "$tmp"
42 + xz -9 < "$IMAGE" > "$tmp"
45 bzip2 -9 < "$IMAGE" > "$tmp"