Re: [osinfo-db PATCH v2 14/29] ubuntu, jeos: Tune extra installed softwares

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2/19/19 11:27 AM, Fabiano Fidêncio wrote:
> Seems that although openssh-server is present in all ubuntu servers,
> python-software-properties is not.
> 
> For newer versions of ubuntu, let's just install
> python3-software-properties.
> 
> For 12.04, let's install python-software-properties.
> 
> For 12.10, let's avoid installing as it'd raise an error during
> installation.
> 
> Signed-off-by: Fabiano Fidêncio <fidencio@xxxxxxxxxx>
> ---
>  .../ubuntu.com/ubuntu-preseed-jeos.xml.in            | 12 +++++++++++-
>  1 file changed, 11 insertions(+), 1 deletion(-)
>

I think the deliberate omission of 12.10 could use a comment in the XML

Reviewed-by: Cole Robinson <crobinso@xxxxxxxxxx>

> diff --git a/data/install-script/ubuntu.com/ubuntu-preseed-jeos.xml.in b/data/install-script/ubuntu.com/ubuntu-preseed-jeos.xml.in
> index 1e61754..79cdb8d 100644
> --- a/data/install-script/ubuntu.com/ubuntu-preseed-jeos.xml.in
> +++ b/data/install-script/ubuntu.com/ubuntu-preseed-jeos.xml.in
> @@ -82,7 +82,17 @@ d-i passwd/root-password-again password <xsl:value-of select="config/admin-passw
>  
>  tasksel tasksel/first multiselect standard
>  d-i pkgsel/include/install-recommends boolean true
> -d-i pkgsel/include string openssh-server python-software-properties
> +d-i pkgsel/include string openssh-server
> +<xsl:choose>
> +    <xsl:when test="os/version &lt; 13.10">
> +      <xsl:if test="os/version = 12.04">
> +d-i pkgsel/include string python-software-properties
> +      </xsl:if>
> +  </xsl:when>
> +  <xsl:otherwise>
> +d-i pkgsel/include string python3-software-properties
> +  </xsl:otherwise>
> +</xsl:choose>
>  
>  d-i grub-installer/only_debian boolean true
>  d-i grub-installer/with_other_os boolean true
> 


- Cole

_______________________________________________
Libosinfo mailing list
Libosinfo@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libosinfo




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux