<?xml version="1.0" encoding="UTF-8"?>
<productdefinition xmlns:xi="http://www.w3.org/2001/XInclude">
  <products>
    <product>
      <vendor>SUSE</vendor>
      <name>SLE-Micro-Rancher</name>
      <version>5.5</version>
      <release>1</release>

      <endoflife>2027-04-30</endoflife>
      <codestream>
        <name>SUSE Linux Enterprise Micro for Rancher 5.5</name>
        <endoflife>2026-10-31</endoflife>
      </codestream>


      <productline>SLE-Micro-Rancher</productline>

      <register>
        <pool>
	  <repository project="SUSE:Products:Elemental:5.5:x86_64" name="images" medium="product" arch="x86_64" >
            <zypp name="Elemental-5.5-Pool" alias="Elemental-5.5-Pool"/>
          </repository>
        <!-- Debug Pool -->
	<repository project="SUSE:Products:Elemental:5.5:x86_64" name="images" medium="product_debug" arch="x86_64">
            <zypp name="Elemental-5.5-Debuginfo-Pool" alias="Elemental-5.5-Debuginfo-Pool"/>
          </repository>

        <!-- Source Pool -->
	<repository project="SUSE:Products:Elemental:5.5:x86_64" name="images" medium="product_source" arch="x86_64">
            <zypp name="Elemental-5.5-Source-Pool" alias="Elemental-5.5-Source-Pool"/>
          </repository>
        </pool>
        <updates>
          <distrotarget arch="x86_64">sle-15-x86_64</distrotarget>
	  <!-- we need a product specific channel to provide System roles and release-package updates -->
          <repository project="SUSE:Updates:Elemental:5.5:x86_64" name="update" arch="x86_64" >
             <zypp name="Elemental-5.5-Updates" alias="Elemental-5.5-Updates"/>
          </repository>
          <repository project="SUSE:Updates:Elemental:5.5:x86_64" name="update_debug" arch="x86_64" >
             <zypp name="Elemental-5.5-Debuginfo-Updates" alias="Elemental-5.5-Debuginfo-Updates"/>
          </repository>
<!-- No installer udpates planned as of now
          <repository project="SUSE:Updates:SLE-INSTALLER:15-SP2:x86_64" name="update" arch="x86_64">
            <zypp name="SLE15-SP2-Installer-Updates" alias="SLE15-SP2-Installer-Updates"/>
          </repository>
          <repository project="SUSE:Updates:SLE-INSTALLER:15-SP2:aarch64" name="update" arch="aarch64">
                <zypp name="SLE15-SP2-Installer-Updates" alias="SLE15-SP2-Installer-Updates"/>
	  </repository> -->
        </updates>
      </register>
      

      <summary>SUSE Linux Enterprise Micro for Rancher 5.5</summary> <!-- one line only -->
      <shortsummary>SUSE Linux Enterprise Micro for Rancher</shortsummary>
      <description>SUSE Linux Enterprise Micro for Rancher 5.5</description>

      <!-- Available languages for collecting packages and during installation and runtime -->
      <linguas>
        <language>en</language>
      </linguas>

      <urls>
        <url name="releasenotes">https://www.suse.com/releasenotes/%{_target_cpu}/SLE-Micro/5.5/release-notes-sle-micro.rpm</url>
      </urls>

      <buildconfig>
        <!-- This section is needed to generate the installation media -->
	<producttheme>SLE-Micro-Rancher</producttheme>
	<!-- <betaversion>Beta1</betaversion> -->
      </buildconfig>

      <installconfig>
          <!-- All flags needed during installation -->
          <defaultlang>en_US</defaultlang>
          <distribution>SUSE</distribution>
      </installconfig>

      <!-- All Flags needed in the running system -->
      <runtimeconfig/>
    </product>
  </products>

  <!-- Default conditionals, repositories and archsets get imported -->
  <xi:include href="defaults-conditionals.include"/>
  <xi:include href="defaults-archsets.include"/>
  <xi:include href="defaults-repositories.include"/>

  <mediasets>
    <!-- BEWARE: do not touch the naming here without adapting ftp upload scripts ! -->
    <media type="ftp"
      flavor="POOL"
      sourcemedia="2" 
      debugmedia="3" 
      mediastyle="suse-sle15"
      create_pattern="false" 
      repo_only="true" 
      run_make_listings="true" 
      use_required="true" 
      use_recommended="true" 
      use_suggested="false"
      use_undecided="false">

      <use group="sle_micro_rancher" create_pattern="false" />
      <archsets>
	<archset ref="x86_64" />
      </archsets>
      <metadata>
      	<package name="skelcd-installer-SMO" />
	<package name="skelcd-control-SMO" />
	<package name="skelcd-SMO" />
	<package name="skelcd-EULA-SMO" />
      </metadata>
    </media>
  </mediasets>

  <xi:include href="sle_micro_rancher.group"/>

</productdefinition>
