# Customizing SMT Product/Repository assignment

**URL:** <https://forums.suse.com/t/customizing-smt-product-repository-assignment/24164>\
**Category:** SLES Updates\
**Created:** [July 16, 2013, 2:34pm UTC](https://forums.suse.com/t/customizing-smt-product-repository-assignment/24164 "2013-07-16T14:34:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![chrbusse](https://avatars.discourse-cdn.com/v4/letter/c/85f322/32.png) [@chrbusse](https://forums.suse.com/u/chrbusse)\
**Post date:** [July 16, 2013, 2:34pm UTC](https://forums.suse.com/t/customizing-smt-product-repository-assignment/24164/1 "2013-07-16T14:34:09Z")

</div>

Hello together,

i have a question/problem with my SMT:

My fresh installed “SLES 11 SP3 for VMWare”-Machine, received its repositories (SLES11SP3Pool + SLES11SP3Updates) through suse\_register, but the normal (non explicit VMWare-) SDK-Pool/Updates-Repos were missing. These SDK-Repos are already mirrored by SMT.

I have analysed the Product/Repository-Assignment with the command “smt-repos -m -o -v” and notice that the SDK-Repositories has no “SLES-for-VMware”-Productassignment within the SDK-Cataloge.

Actual:

`[*] [34] SLE11-SDK-SP3-Pool sle-11-x86_64
          (SLE11-SDK-SP3-Pool for sle-11-x86_64)
          https://nu.novell.com/repo/$RCE/SLE11-SDK-SP3-Pool/sle-11-x86_64/
          $RCE/SLE11-SDK-SP3-Pool/sle-11-x86_64
          Repository ID: 79c841ecd628209e8e70d3a8e86845057791f22e
          Staging : N
[B] Assigned to product: sle-sdk 11.3
          Assigned to product: sle-sdk-SP3-migration 11.2[/B]`

Missing:

`[*] [34] SLE11-SDK-SP3-Pool sle-11-x86_64
          (SLE11-SDK-SP3-Pool for sle-11-x86_64)
          https://nu.novell.com/repo/$RCE/SLE11-SDK-SP3-Pool/sle-11-x86_64/
          $RCE/SLE11-SDK-SP3-Pool/sle-11-x86_64
          Repository ID: 79c841ecd628209e8e70d3a8e86845057791f22e
          Staging : N
          Assigned to product: sle-sdk 11.3
          Assigned to product: sle-sdk-SP3-migration 11.2
[B][COLOR="#FF0000"] Assigned to product: SLES-for-VMware 11.3
          Assigned to product: SLES-for-VMware-SP3-migration 11.2 x86_64[/COLOR][/B]
`

When i delete this catalog-entry and manual add this as “custom-repo” then the “LOCALPATH” (2nd Path below the Repo-Path [http://.](http://.)…) changed to “RPMMD/…”, because than it is no longer a default-Repo.

Is there any chance to add the missing product-assignment without handling with custom-repos?!

It would be nice, if you have a solution/tipp for me.  
Thanks!

---

<div class="post-metadata">

**Author:** ![Jens-U](https://avatars.discourse-cdn.com/v4/letter/j/d78d45/32.png) [@Jens-U](https://forums.suse.com/u/Jens-U)\
**Post date:** [July 16, 2013, 4:01pm UTC](https://forums.suse.com/t/customizing-smt-product-repository-assignment/24164/2 "2013-07-16T16:01:07Z")

</div>

Hi chrbusse,

do you have the SDK installed on that VM? Usually, you’ll receive updates to the SDK (via registration to those repositories) once you’ve installed the SDK “add-on product”.

Regards,  
Jens

---

<div class="post-metadata">

**Author:** ![chrbusse](https://avatars.discourse-cdn.com/v4/letter/c/85f322/32.png) [@chrbusse](https://forums.suse.com/u/chrbusse)\
**Post date:** [July 18, 2013, 5:19pm UTC](https://forums.suse.com/t/customizing-smt-product-repository-assignment/24164/3 "2013-07-18T17:19:18Z")

</div>

Hi Jens,

i haven’t installed the SDK-Product before.  
You’re right! After i have installed the SDK-AddOn-Product my SLES11SP3 was registered as “sle-sdk\_sp3” on my SMT and therefore it get the SDK-Repofiles through SMT.  
Thanks for this hint, but is this the only way to add those Repository-Assignments?!

Thanks anyway! 😉

---

<div class="post-metadata">

**Author:** ![Jens-U](https://avatars.discourse-cdn.com/v4/letter/j/d78d45/32.png) [@Jens-U](https://forums.suse.com/u/Jens-U)\
**Post date:** [July 18, 2013, 5:45pm UTC](https://forums.suse.com/t/customizing-smt-product-repository-assignment/24164/4 "2013-07-18T17:45:23Z")

</div>

Hi chrbusse,

> is this the only way to add those Repository-Assignments?!

you should be able to add the repository i.e. via “zypper”, too - have a look at how it is currently added (“zypper lr -d”) and use that information to add the repositories manually. I do not recommend this, as the actual repositories may change (i.e. with new service packs) and it is the responsibility of the SDK installer to know and add the proper entries.

Regards,  
Jens
