From 6f0074bc13d8522a0835cb9101d394e16af65032 Mon Sep 17 00:00:00 2001 From: hawk Date: Sat, 19 Sep 2009 20:55:27 +0000 Subject: [PATCH] - R: not S: lvm2-initrd and mdadm-initrd in Titanium Changed files: geninitrd.spec -> 2.158 --- geninitrd.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/geninitrd.spec b/geninitrd.spec index 0949ec5..d1620fc 100644 --- a/geninitrd.spec +++ b/geninitrd.spec @@ -3,7 +3,7 @@ Summary(pl.UTF-8): Narzędzie do tworzenia inicjalnego ramdysku używanego przy Name: geninitrd Version: 10000.18 # leave rel 1 for ac -Release: 7 +Release: 8 License: GPL Group: Applications/System Source0: %{name}-%{version}.tar.gz @@ -26,10 +26,15 @@ Requires: mount Requires: pci-database >= 0.4 Requires: rc-scripts >= 0.2.7 Requires: tar +%if "%{pld_release}" == "ti" +Requires: lvm2-initrd +Requires: mdadm-initrd >= 1.12.0-1 +%else # 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 +%endif Obsoletes: mkinitrd Conflicts: grubby < 6.0.24-3 Conflicts: udev-initrd < 1:104 -- 2.44.0