Skip to content

Add obsoletes/provides stanzas for plugins - #3068

Merged
Conan-Kudo merged 1 commit into
mainfrom
obsoletes_provides_for_plugins
Sep 29, 2026
Merged

Conan-Kudo merged 1 commit into
mainfrom
obsoletes_provides_for_plugins

Conversation

@schaefi

@schaefi schaefi commented Sep 28, 2026

Copy link
Copy Markdown
Collaborator

The plugins were provided as extra packages. Now that they are part of the kiwi core, proper obsoletes and provides information is required to update the package.

@schaefi
schaefi requested a review from Conan-Kudo September 28, 2026 13:24
@schaefi schaefi self-assigned this Sep 28, 2026
@schaefi

schaefi commented Sep 28, 2026

Copy link
Copy Markdown
Collaborator Author

I still see one inconsistency. The former plugin packages pulls in the plugin required components e.g. qemu and others for e.g boxbuild. With the move into kiwi core I used the systemdeps concept and provided

  • kiwi-systemdeps-boxbuild
  • kiwi-systemdeps-stackbuild

On upgrade of kiwi, with the obsoletes, the plugin package gets dropped iirc but the systemdeps one is not automatically installed correct ?

@schaefi

schaefi commented Sep 28, 2026 •

Copy link
Copy Markdown
Collaborator Author

@Conan-Kudo and don't we need a Conflicts too ?

Comment thread package/python-kiwi-spec-template Outdated
@schaefi schaefi removed the Question label Sep 29, 2026
@Conan-Kudo

Copy link
Copy Markdown
Member

Yes, we need conflicts as well.

@schaefi

schaefi commented Sep 29, 2026

Copy link
Copy Markdown
Collaborator Author

@Conan-Kudo ok, thanks. I added them

Can you double check if this makes sense. Thanks much

@Conan-Kudo

Copy link
Copy Markdown
Member

Do we have systemdeps packages we need to add?

Comment thread package/python-kiwi-spec-template Outdated
@schaefi

schaefi commented Sep 29, 2026

Copy link
Copy Markdown
Collaborator Author

Do we have systemdeps packages we need to add?

@Conan-Kudo yes we have kiwi-systemdeps-boxbuild and kiwi-systemdeps-stackbuild. I don't know how to modify the spec such that those gets automatically installed if there was a former plugin package installed.

@schaefi

schaefi commented Sep 29, 2026

Copy link
Copy Markdown
Collaborator Author

Ah I think moving the obsoletes and provides into the systemdeps packages should do the trick

@schaefi
schaefi force-pushed the obsoletes_provides_for_plugins branch from b19272d to 2291027 Compare September 29, 2026 11:03
The plugins were provided as extra packages. Now that they
are part of the kiwi core, proper obsoletes/provides and
conflict information is required to update the package.

Co-authored-by: Neal Gompa (ニール・ゴンパ) <neal@gompa.dev>
@schaefi
schaefi force-pushed the obsoletes_provides_for_plugins branch from 2291027 to 0c09158 Compare September 29, 2026 11:05
@schaefi

schaefi commented Sep 29, 2026

Copy link
Copy Markdown
Collaborator Author

@Conan-Kudo how about it now ?

@Conan-Kudo
Conan-Kudo merged commit 48e54a2 into main Sep 29, 2026
12 checks passed
@Conan-Kudo
Conan-Kudo deleted the obsoletes_provides_for_plugins branch September 29, 2026 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants