-
1. Re: SUSE build to exclude specific packages from minimal group
asharpe May 11, 2012 12:17 PM (in response to gxc422)1 person found this helpfulgxc422 wrote:
Would it be possible to remove certain packages from the minimal pattern group in SUSE?
In /opt/vmware/etc/build/templates/suse/11/1_x86_64/build_profile.xml, I see the following:
<vadk:OSPackages>
<vadk:PackageGroup vadk:value="Minimal"/>
<vadk:Package vadk:name="bind-utils"/>
<vadk:Package vadk:name="libxml2-python"/>
<vadk:Package vadk:name="python-xml"/>
<vadk:Package vadk:name="wget"/>
<vadk:Package vadk:name="libgmodule-2_0-0"/>
<vadk:Package vadk:name="gettext-runtime"/>
</vadk:OSPackages>If I did this task manually thru the installer, I can remove it under the "Details" section to refine the list further. Is there some way to exclude certain packages from that group?
Not that I know of (and not though the Studio build profile), but possibly in the autoyast file, since that governs the installation. You may end up with problems, though, as most distributions are rather lazy about the package dependencies, thinking that, of course, you want a Windows-like system that has everything in it, and you don't care about disk space. You can also remove the packages you don't want later, as well.
-
2. Re: SUSE build to exclude specific packages from minimal group
gxc422 May 14, 2012 9:29 AM (in response to asharpe)Thanks for the direction and the following seems to work when applying to the suse.xsl.
<pattern><xsl:value-of select="@vadk:value"/></pattern>
</xsl:for-each>
</patterns>
+ <remove-packages config:type="list">
+ <package>Mesa</package>
+ </remove-packages>
</software>
<timezone>
<hwclock>UTC</hwclock>If each product build profile varies, I assume I can simply use the xsl:for-each to populate the remove-packages?
-
3. Re: SUSE build to exclude specific packages from minimal group
asharpe May 14, 2012 11:30 AM (in response to gxc422)gxc422 wrote:
If each product build profile varies, I assume I can simply use the xsl:for-each to populate the remove-packages?
I think so.