Name: geninitrd
Version: 10000.18
# leave rel 1 for ac
-Release: 5
+Release: 7
License: GPL
Group: Applications/System
Source0: %{name}-%{version}.tar.gz
# Source0-md5: b3b0acb344ae8852cf30672370c81888
Patch0: %{name}-romfs.patch
-Patch1: %{name}-lzma.patch
+Patch1: %{name}-gzip-compressor.patch
+Patch2: %{name}-lzma.patch
BuildRequires: xmlto >= 0:0.0.18-1
Requires: awk
-Requires: busybox-initrd >= 1.00-0.rc3.2
+Requires: busybox-initrd > 1.00-4
Requires: coreutils
Requires: cpio
Requires: fileutils
Requires: genromfs
Requires: gzip
Requires: /usr/bin/ldd
-# otherwise lvm subsystem is automaticly disabled in geninitrd
-Requires: lvm2-initrd
-Requires: rc-scripts >= 0.2.7
-# without this softraid installations of PLD fail
-Requires: mdadm-initrd >= 1.12.0-1
Requires: mktemp >= 1.5-8
Requires: module-init-tools >= 3.2.2-6
Requires: mount
Requires: pci-database >= 0.4
+Requires: rc-scripts >= 0.2.7
Requires: tar
+# otherwise LVM subsystem is automatically disabled in geninitrd
+Suggests: lvm2-initrd
+# without this softraid installations of PLD fail
+Suggests: mdadm-initrd >= 1.12.0-1
Obsoletes: mkinitrd
Conflicts: grubby < 6.0.24-3
Conflicts: udev-initrd < 1:104
%setup -q
%if "%{pld_release}" == "ti"
%patch0 -p1
+%patch1 -p1
%endif
-%patch1 -p0
+%patch2 -p0
%build
%{__make}