#508 fedora-common-ostree: exclude `noopenh264`
Closed by siosm. Opened by jlebon.
jlebon/workstation-ostree-config pr/nonoopenh264  into  main

Download 508.patch

I think the way that package is supposed to work on traditional systems
is that it's part of the initial install but then on first upgrade it
gets swapped out for openh264 via Obsoletes.

However, that logic doesn't work on rpm-ostree because composes happen
server-side, so we always ship the install set.

Instead, just exclude the package from the compose. Users will have to
keep manually layering openh264 if they want it, which is already how
it is in f39 and older.

Fixes: https://github.com/fedora-silverblue/issue-tracker/issues/536

/cc @kalev FYI

I guess another approach is to have noopenh264 ship a systemd unit that does the swap on first boot. As is, at least for now it seems cleaner to just no ship this.

Note I didn't test this.

LGTM. I'll trigger test builds.

Build succeeded.
https://fedora.softwarefactory-project.io/zuul/buildset/5b5bd719e7bb4fadabbcc87b51a5f9e1

Test builds for Rawhide: https://gitlab.com/fedora/ostree/ci-test/-/pipelines/1263078250/builds

Will be pushed to https://quay.io/organization/fedora-ostree-desktops

From a recent Rawhide Kinoite build with this PR applied:

error: Installing packages: Could not depsolve transaction; 6 problems detected:
 Problem 1: package kaccounts-providers-24.02.2-1.fc41.x86_64 from fedora-rawhide requires libQt6WebEngineCore.so.6()(64bit), but none of the providers can be installed
  - package kaccounts-providers-24.02.2-1.fc41.x86_64 from fedora-rawhide requires libQt6WebEngineCore.so.6(Qt_6)(64bit), but none of the providers can be installed
  - package kaccounts-providers-24.02.2-1.fc41.x86_64 from fedora-rawhide requires libQt6WebEngineQuick.so.6()(64bit), but none of the providers can be installed
  - package kaccounts-providers-24.02.2-1.fc41.x86_64 from fedora-rawhide requires libQt6WebEngineQuick.so.6(Qt_6)(64bit), but none of the providers can be installed
  - package qt6-qtwebengine-6.7.0-2.fc41.x86_64 from fedora-rawhide requires libopenh264.so.7()(64bit), but none of the providers can be installed
  - conflicting requests

Thus I'm afraid that we are not going to be able to do that.

https://gitlab.com/fedora/ostree/ci-test/-/jobs/6721447054

Thanks for the PR.

Unfortunately, it looks like it's unlikely that we'll be able to remove this package from the images so I'll close this PR.

Pull-Request has been closed by siosm

Metadata