0

I have the requirement to provide an installation medium based on Rocky minimal, which contains several packages out of the AppStream repo (but not all, due to media size constraints).

To accomplish this, I currently run Rocky minimal, and execute dnf downlad with the required packages. This provides the required packages with their dependencies in the version which is actually compatible to what is inside Rocky minimal at download time.

These rpms are then packaged with createrepo into the iso with the kickstart file. Unfortunately, some of the packages of the dependencies are module packages, so dnf will complain the missing module metadata at installation time.

As a solution to this, we added a call to repo2module which creates one big module out of the extra rpms. This however leads to the issue that the module packages are not part of their original module anymore, and not following AppStream where they originally came from.

Is there a recommended way to accomplish the original requirement? I'm feeling I am doing something fundamentally wrong here.

user39950
  • 101
  • 2

0 Answers0