[packages/geninitrd] up to 12719; fixes initrd generation without lvm2-initrd package
glen
glen at pld-linux.org
Sun Jan 5 18:22:12 CET 2014
commit c6fb106621443a792ea44290e9b70260582c5494
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sun Jan 5 19:21:29 2014 +0200
up to 12719; fixes initrd generation without lvm2-initrd package
geninitrd-svn.patch | 15 ---------------
geninitrd.spec | 14 ++++++--------
2 files changed, 6 insertions(+), 23 deletions(-)
---
diff --git a/geninitrd.spec b/geninitrd.spec
index 6beb8b4..3d6e818 100644
--- a/geninitrd.spec
+++ b/geninitrd.spec
@@ -6,14 +6,12 @@
Summary: Creates an initial ramdisk image for preloading modules
Summary(pl.UTF-8): Narzędzie do tworzenia inicjalnego ramdysku używanego przy starcie systemu
Name: geninitrd
-Version: 12695
-Release: 3
+Version: 12719
+Release: 1
License: GPL
Group: Applications/System
Source0: %{name}-%{version}.tar.gz
-# Source0-md5: c6235c690934c87e5361bcf4a23b25db
-# svn diff http://svn.pld-linux.org/svn/geninitrd/trunk -r 12709:HEAD > geninitrd-svn.patch
-Patch0: %{name}-svn.patch
+# Source0-md5: c8620d7e3988a073d0852f78cb560f06
URL: http://svn.pld-linux.org/trac/svn/wiki/packages/geninitrd
BuildRequires: xmlto >= 0:0.0.18-1
Requires: /usr/bin/ldd
@@ -30,11 +28,11 @@ Requires: pci-database >= 0.4
Requires: rc-scripts >= 0.2.7
Requires: tar
Requires: virtual(module-tools)
+Suggests: genromfs
# otherwise LVM subsystem is not enabled in geninitrd
Suggests: lvm2-initrd
# without this softraid installations of PLD fail
Suggests: mdadm-initrd >= 1.12.0-1
-Suggests: genromfs
Suggests: pciutils
# suggest for blkid
%if "%{pld_release}" != "ac"
@@ -86,8 +84,8 @@ startu z initrd. Skrypt geninitrd generuje obraz ramdysku na podstawie
bieżących informacji zawartych w /etc/modules.conf.
%prep
-%setup -q
-%patch0 -p0
+%setup -qc
+mv %{name}-%{version}*/* .
%build
%{__make}
diff --git a/geninitrd-svn.patch b/geninitrd-svn.patch
deleted file mode 100644
index d4e0c30..0000000
--- a/geninitrd-svn.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-Index: geninitrd
-===================================================================
---- geninitrd (wersja 12709)
-+++ geninitrd (wersja 12711)
-@@ -395,6 +395,10 @@
- # XXX: find a away to autodetect
- smodule=$(basename_module $modpath)
- case "$smodule" in
-+ crc-t10dif)
-+ find_depmod "-crct10dif-pclmul"
-+ find_depmod "-crct10dif"
-+ ;;
- libcrc32c)
- find_depmod "-crc32c-intel"
- find_depmod "-crc32c"
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/geninitrd.git/commitdiff/c6fb106621443a792ea44290e9b70260582c5494
More information about the pld-cvs-commit
mailing list