patch to not use gzip with --rsyncable missing option [release 040-3mamba;Sat Nov 15 2014]

This commit is contained in:
Silvan Calarco 2024-01-05 21:56:16 +01:00
parent 89473df6b9
commit 2ae5feb70a
2 changed files with 22 additions and 1 deletions

View File

@ -0,0 +1,11 @@
--- dracut-040/dracut.sh.orig 2014-11-15 19:25:44.508996499 +0100
+++ dracut-040/dracut.sh 2014-11-15 19:26:34.259000458 +0100
@@ -822,7 +822,7 @@
bzip2) compress="bzip2 -9";;
lzma) compress="lzma -9 -T0";;
xz) compress="xz --check=crc32 --lzma2=dict=1MiB -T0";;
- gzip) compress="gzip -n -9 --rsyncable"; command -v pigz > /dev/null 2>&1 && compress="pigz -9 -n -T -R";;
+ gzip) compress="gzip -n -9"; command -v pigz > /dev/null 2>&1 && compress="pigz -9 -n -T -R";;
lzo) compress="lzop -9";;
lz4) compress="lz4 -l -9";;
esac

View File

@ -1,6 +1,6 @@
Name: dracut
Version: 040
Release: 1mamba
Release: 3mamba
Summary: Generic, modular initramfs generation tool that can be used across various distributions
Group: System/Kernel and Hardware
Vendor: openmamba
@ -28,6 +28,7 @@ Patch15: dracut-027-find-systemdutildir.patch
Patch16: dracut-032-nfs-var-statd-sm.patch
Patch17: dracut-032-fix-libdirs.patch
Patch18: dracut-040-fix-udevdir-detection.patch
Patch19: dracut-040-no-gzip-rsyncable.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
@ -78,6 +79,8 @@ Requires: nbd
Requires: lvm2
Requires: dmraid
Requires: cryptsetup
Requires: kmod
Requires: gnupg
Provides: mkinitramfs
Obsoletes: mkinitramfs
BuildRoot: %{_tmppath}/%{name}-%{version}-root
@ -119,6 +122,7 @@ This package conatins extra optional modules for dracut.
%patch16 -p1
#%patch17 -p1
%patch18 -p1
%patch19 -p1
chmod +x modules.d/99squash-live/*
# remove *.orig files created by patched to prevent from being installed
@ -346,6 +350,12 @@ ln -s ../bin/mkinitrd %{buildroot}%{_sbindir}/mkinitrd
#%doc NEWS README README.generic README.kernel README.modules TODO
%changelog
* Sat Nov 15 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 040-3mamba
- patch to not use gzip with --rsyncable missing option
* Sat Nov 15 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 040-2mamba
- require kmod and gnupg
* Tue Nov 11 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 040-1mamba
- update to 040
- added patch to fix udevdir detection causing all udev rules to be skipped