[virt-tools-list] [libosinfo] fedora, installer: Fix against Fedora 18

Zeeshan Ali (Khattak) zeeshanak at gnome.org
Wed Nov 28 15:44:25 UTC 2012


From: "Zeeshan Ali (Khattak)" <zeeshanak at gnome.org>

'base' package group has been replaced by 'standard'. For jeos profile,
we now use the right name of the group depending on the OS version. For
desktop profile, we can simply drop this group from the list as its
pulled-in by other groups anyways.
---
 data/install-scripts/fedora.xml | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/data/install-scripts/fedora.xml b/data/install-scripts/fedora.xml
index fcb1143..e76f5dd 100644
--- a/data/install-scripts/fedora.xml
+++ b/data/install-scripts/fedora.xml
@@ -94,7 +94,14 @@ logvol / --fstype <xsl:call-template name="rootfs"/> --name=LogVol00 --vgname=Vo
 reboot
 
 %packages
+<xsl:choose>
+  <xsl:when test="os/version < 18">
 @base
+  </xsl:when>
+  <xsl:otherwise>
+ at standard
+  </xsl:otherwise>
+</xsl:choose>
 @core
 <xsl:if test="os/version > 6">
 @hardware-support
@@ -200,7 +207,6 @@ logvol / --fstype <xsl:call-template name="rootfs"/> --name=LogVol00 --vgname=Vo
 reboot
 
 %packages
- at base
 @core
 @hardware-support
 @base-x
-- 
1.8.0




More information about the virt-tools-list mailing list