Customizing SMT Product/Repository assignment

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://.…) 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!

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

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! :wink:

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