- added geninitrd-tuxonice_on_dm.patch, moving tuxonice script down in hierarchy, to allow tuxonice snapshot device be device mapper device(LUKS, LVM, dmraid)
Changed files:
geninitrd-tuxonice_on_dm.patch -> 2.1
geninitrd.spec -> 2.167
--- /dev/null
+--- geninitrd-10000.20/geninitrd.old 2010-03-29 22:12:27.115199528 +0200
++++ geninitrd-10000.20/geninitrd 2010-03-29 22:14:49.765210074 +0200
+@@ -1218,10 +1218,6 @@
+ initrd_gen_udev
+ fi
+
+-if is_yes "$USE_TUXONICE"; then
+- initrd_gen_tuxonice
+-fi
+-
+ find_modules_uvesafb
+ initrd_gen_uvesafb
+
+@@ -1256,6 +1252,10 @@
+ initrd_gen_setrootdev
+ fi
+
++if is_yes "$USE_TUXONICE"; then
++ initrd_gen_tuxonice
++fi
++
+ if is_yes "$USE_SUSPEND"; then
+ initrd_gen_suspend
+ fi
Name: geninitrd
Version: 10000.20
# leave rel 1 for ac
Name: geninitrd
Version: 10000.20
# leave rel 1 for ac
License: GPL
Group: Applications/System
Source0: %{name}-%{version}.tar.gz
License: GPL
Group: Applications/System
Source0: %{name}-%{version}.tar.gz
Patch0: %{name}-romfs.patch
Patch1: %{name}-gzip-compressor.patch
Patch2: %{name}-scsi_sync_scan.patch
Patch0: %{name}-romfs.patch
Patch1: %{name}-gzip-compressor.patch
Patch2: %{name}-scsi_sync_scan.patch
+Patch3: %{name}-tuxonice_on_dm.patch
BuildRequires: xmlto >= 0:0.0.18-1
Requires: /usr/bin/ldd
Requires: awk
BuildRequires: xmlto >= 0:0.0.18-1
Requires: /usr/bin/ldd
Requires: awk
# otherwise LVM subsystem is automatically disabled in geninitrd
Suggests: lvm2-initrd
# without this softraid installations of PLD fail
# 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
Suggests: mdadm >= 1.12.0-1
Suggests: mdadm >= 1.12.0-1
+Suggests: mdadm-initrd >= 1.12.0-1
%endif
Obsoletes: mkinitrd
%if "%{pld_release}" == "ac"
%endif
Obsoletes: mkinitrd
%if "%{pld_release}" == "ac"
%patch1 -p1
%endif
%patch2 -p0
%patch1 -p1
%endif
%patch2 -p0