-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow additional module registration during package resolution #591
Comments
As a workaround in the meantime:
The packages should be in the
Then add those packages to the EIB definition file. (perhaps the register can be done on the temporary shell as well, didn't tested it) |
We discussed this in voice, but to capture the outcome: The fact that the repo URL contains the version number causes a headache. If it was as simple as saying "SL-Micro-Extras", or even with the arch, we could easily add this into the template. The problem comes with the fact that the SL Micro version is in the string. We don't have any way inside of EIB to either detect or have the user specify the version of Micro. The initial plan for 1.2 (with a backport to 1.1) was going to be to hardcode the 6.0 string in the RPM resolution and then revisit in the future when we had more time to think of a clean solution. Now it sounds like 6.1 is a requirement for EIB 1.2, which means we need to figure out a more robust solution than we had hoped. |
A possible option instead of adding the version to the definition is to auto-detect it. I worry about the reliability of it, but for the interm (6.0, 6.1, plus the near future), we can probably use 6.0
6.1 Beta 2
Obviously the Beta2 is a beta, but |
Another option would be to make the user responsible for putting those correctly. At the end of the day it is similar to the repository string that has also a version. |
It's an option, but IMO the last one. Once we put something into the API (i.e. image definition), it's much more difficult to remove. Until we see how many of these separate repos 6.x introduces, I'd rather not pollute the definition and have to deal with the longstanding backward compatibility headaches. |
Update: The EIB 1.2 release will only support 6.0 and not 6.1, which means for this bug the solution is simple. Once it's resolved I'll open another to pursue the approach of deriving the URL programmatically. |
Currently we only register the default SLE Micro product during package resolution when SCC code is specified. This is not enough to fetch RPMs under additional product modules e.g.
SL-Micro-Extras/6.0/x86_64
.To achieve this, specifying the following parameter of SUSEConnect should be set:
The text was updated successfully, but these errors were encountered: