Summary: Creates an initial ramdisk image for preloading modules
Summary(pl): Narzêdzie do tworzenia inicjalnego ramdysku u¿ywanego przy starcie systemu
Name: geninitrd
-Version: 4242
-Release: 2
+Version: 7339
+Release: 1
License: GPL
Group: Applications/System
-Source0: ftp://ftp.pld-linux.org/people/arekm/software/%{name}-%{version}.tar.gz
-# Source0-md5: 79240801d4048e18b328682817be5cfa
-PreReq: rc-scripts >= 0.2.7
+Source0: ftp://ftp1.pld-linux.org/people/arekm/software/%{name}-%{version}.tar.gz
+# Source0-md5: af9d65487166fef68917e90849521342
+BuildRequires: xmlto >= 0:0.0.18-1
Requires: awk
-Requires: busybox-initrd >= 1.00-0.pre5.0
+Requires: busybox-initrd >= 1.00-0.rc3.2
Requires: fileutils
Requires: genromfs
Requires: gzip
+Requires: rc-scripts >= 0.2.7
# without this softraid installations of PLD fail
-Requires: mdadm-initrd >= 1.4.0-3
+Requires: mdadm-initrd >= 1.12.0-1
Requires: mktemp >= 1.5-8
Requires: mount
Requires: pci-database >= 0.4
Requires: sh-utils
Requires: tar
Obsoletes: mkinitrd
-#Conflicts: mdadm-initrd < 1.4.0-3
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-Geninitrd creates filesystem images for use as initial ramdisk (initrd)
-images. These ramdisk images are often used to preload the block
-device modules (SCSI or RAID) needed to access the root filesystem.
+Geninitrd creates filesystem images for use as initial ramdisk
+(initrd) images. These ramdisk images are often used to preload the
+block device modules (SCSI or RAID) needed to access the root
+filesystem.
In other words, generic kernels can be built without drivers for any
SCSI adapters which load the SCSI driver as a module. Since the kernel
%prep
%setup -q
+%build
+rm geninitrd.8
+%{__make} geninitrd.8
+
%install
rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%doc ChangeLog
%attr(755,root,root) /sbin/geninitrd
-%config(noreplace) %verify(not md5 size mtime) /etc/sysconfig/geninitrd
+%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/geninitrd
%{_mandir}/man8/*