]> git.pld-linux.org Git - packages/geninitrd.git/commitdiff
- dropped PLD Ti patches and %ifs
authorMarcin Krol <hawk@tld-linux.org>
Thu, 18 Apr 2013 10:14:30 +0000 (10:14 +0000)
committerMarcin Krol <hawk@tld-linux.org>
Thu, 18 Apr 2013 10:14:30 +0000 (10:14 +0000)
geninitrd-gzip-compressor.patch [deleted file]
geninitrd-romfs.patch [deleted file]
geninitrd.spec

diff --git a/geninitrd-gzip-compressor.patch b/geninitrd-gzip-compressor.patch
deleted file mode 100644 (file)
index 72e13f7..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-diff -ur geninitrd-10000.18.orig/geninitrd geninitrd-10000.18/geninitrd
---- geninitrd-10000.18.orig/geninitrd  2009-08-31 21:31:46.000000000 +0200
-+++ geninitrd-10000.18/geninitrd       2009-09-19 22:40:21.932301167 +0200
-@@ -795,6 +795,8 @@
-       # a specified one, take it
-       if ! is_yes "$mode"; then
-               compressors="$mode"
-+      else
-+              compressors="gzip"
-       fi
-       debug "finding compressor: $compressors (via $mode)"
-diff -ur geninitrd-10000.18.orig/geninitrd.sysconfig geninitrd-10000.18/geninitrd.sysconfig
---- geninitrd-10000.18.orig/geninitrd.sysconfig        2009-08-31 21:31:46.000000000 +0200
-+++ geninitrd-10000.18/geninitrd.sysconfig     2009-09-19 22:41:49.252501100 +0200
-@@ -9,7 +9,7 @@
- ## Compression for the initrd.
- ## xz / lzma / bzip2 / gzip / lzo.
--## yes (default) = the 'best' available is chosen.
-+## yes = gzip (for backward compatibility)
- #COMPRESS=yes
- ## What filesystem to use (rom or ext2)?
diff --git a/geninitrd-romfs.patch b/geninitrd-romfs.patch
deleted file mode 100644 (file)
index 42435c0..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
---- geninitrd-10000.10/geninitrd~      2009-04-06 18:12:27.000000000 +0300
-+++ geninitrd-10000.10/geninitrd       2009-04-06 18:13:33.882133693 +0300
-@@ -948,11 +948,7 @@
-       fi
-       # default value
--      if [ "$kernel_version" -ge "002005" ]; then
--              INITRDFS="initramfs"
--      else
--              INITRDFS="rom"
--      fi
-+      INITRDFS="rom"
- fi
- case "$INITRDFS" in
index 75f1d783e129f4bd1d92cf80200db3559cd8bcdc..04052310d359c282334c85cee10c58761070655a 100644 (file)
@@ -12,10 +12,8 @@ License:     GPL
 Group:         Applications/System
 Source0:       %{name}-%{version}.tar.gz
 # Source0-md5: bd47ea3ca6dbeea39af6bc5eb1d12e5a
-Patch0:                %{name}-romfs.patch
-Patch1:                %{name}-gzip-compressor.patch
-# svn diff http://svn.pld-linux.org/svn/geninitrd/trunk -r 12585:HEAD > geninitrd-svn.patch
-Patch2:                %{name}-svn.patch
+# svn diff http://svn.pld-linux.org/svn/geninitrd/trunk -r 12639:HEAD > geninitrd-svn.patch
+Patch0:                %{name}-svn.patch
 URL:           http://svn.pld-linux.org/trac/svn/wiki/packages/geninitrd
 BuildRequires: xmlto >= 0:0.0.18-1
 Requires:      /usr/bin/ldd
@@ -32,15 +30,10 @@ Requires:   pci-database >= 0.4
 Requires:      rc-scripts >= 0.2.7
 Requires:      tar
 Requires:      virtual(module-tools)
-%if "%{pld_release}" == "ti"
-Requires:      lvm2-initrd
-Requires:      mdadm-initrd >= 1.12.0-1
-%else
 # 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
-%endif
 Suggests:      genromfs
 Suggests:      pciutils
 # suggest for blkid
@@ -94,11 +87,7 @@ bieżących informacji zawartych w /etc/modules.conf.
 
 %prep
 %setup -q
-%if "%{pld_release}" == "ti"
-%patch0 -p1
-%patch1 -p1
-%endif
-#%patch2 -p0
+#%patch0 -p0
 
 %build
 %{__make}
This page took 0.041215 seconds and 4 git commands to generate.