OSInside / kiwi

KIWI - Appliance Builder Next Generation
https://osinside.github.io/kiwi
GNU General Public License v3.0
300 stars 152 forks source link

Drop rpm-dir from allowed repository type #2505

Closed schaefi closed 6 months ago

schaefi commented 6 months ago

Using an arbitrary list of rpm packages as repository is a zypper only feature, barely tested and from our pov not really needed as a simple createrepo call turns any custom list of packages into a clean rpm-md repo including metadata. This commit drops rpm-dir from the list of allowed repository types and auto converts those image descriptions which makes use of it. Please note this does not prevent users from using flat package directories with zypper, because the type argument in the repository section is an optional attribute. In case there is no type specification zypper auto-detects and handles the data as it handles it. This Fixes #1926

Conan-Kudo commented 6 months ago

@schaefi You need to bump the schema version in the spec file.

schaefi commented 6 months ago

yeah, thanks I forgot about that provides completely