Skip to content

Conversation

@KKoukiou
Copy link
Contributor

Move all motd/issue symlink creation logic and related files from cockpit-ws to the main cockpit package.
This ensures the symlinks and issue service are only present when cockpit is actually installed, preventing the motd message from appearing when cockpit-ws is installed as a dependency for anaconda-webui without the main cockpit package being installed.

Resolves: rhbz#2412241

Move all motd/issue symlink creation logic and related files from
cockpit-ws to the main cockpit package.
This ensures the symlinks and issue service are only present when cockpit
is actually installed, preventing the motd message from appearing when
cockpit-ws is installed as a dependency for anaconda-webui without the
main cockpit package being installed.

Resolves: rhbz#2412241
@martinpitt
Copy link
Member

Thanks @KKoukiou ! That will need some work (not necessarily from you) to complete. The tests need to be adjusted, the same should be applied to debian packaging, and we really need to test upgrades -- normally you have to declare that files move between packages, to cover "bad" upgrade orderings and overwriting files owned by (old) other packages. I.e. in debian/control that needs a Replaces:/Breaks: cockpit-ws (<< 123) where 123 is the version that moved the file. RPM has something similar I think?

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