Packages provided by the AutoSD repository (e.g, kernel-automotive-devel) are not available in the buildroots for CentOS Automotive SIG tags.
Would it be possible to add the AutoSD repositories to the Automotive SIG buildroots?
Metadata Update from @arrfab: - Issue assigned to arrfab - Issue priority set to: Waiting on Reporter (was: Needs Review) - Issue tagged with: cbs, high-gain, low-trouble
So you mean having all the automotive build tags (automotive9s-packages-experimental and automotive9s-packages-main) inheriting from the autosd9s-packages-main-candidate ? (see https://cbs.centos.org/koji/search?match=glob&type=tag&terms=*auto*)
Once you'll have confirmed for which build tags you want that inheritance (and if it would depend in -candidate, or -testing or -release one) we can easily add it
Hi @arrfab. My apologies for my superficial understanding here :). I would propose automotive9s-packages-main-el9s-build and automotive9s-packages-experimental-el9s-build both inherit autosd9s-packages-main-testing (as per the two-sided arrow in the diagram on https://sigs.centos.org/automotive/contributing/building_packages/#building-packages-for-automotive).
IIUC, that will make packages tagged in autosd9s-packages-main-testing (e.g, recent kernel-automotive-devel) available in the buildroots when running CBS builds under the automotive9s-packages-main-el9s-build tag?
Yes , that would mean that packages tagged into autosd9s-packages-main-testing would be available (but not installed by default) in the other buildroots. So if you have a package that would have a Requires: <pkg_in_autosd9s-packages-main-testing> it would be pulled (like a dnf/yum repository). Is that enough for you or would you like to also have some pkgs to be installed by default in the buildroots ? (so before even trying to build and analyze the .spec for your src.rpm package)
autosd9s-packages-main-testing
Requires: <pkg_in_autosd9s-packages-main-testing>
That should be enough.
The cases that motivated this tickets were BuildRequires to packages in autosd9s-packages-main-testing in the specfile were not found when building automotive9s-packages-main-el9s-build.
BuildRequires
automotive9s-packages-main-el9s-build
Should be done :
cbs taginfo automotive9s-packages-experimental-el9s-build Tag: automotive9s-packages-experimental-el9s-build [2536] Arches: x86_64 aarch64 Groups: build, srpm-build Tag options: mock.new_chroot : 0 mock.package_manager : 'dnf' mock.yum.module_hotfixes : 1 rpm.macro.dist : '.el9iv' This tag is a buildroot for one or more targets Current repo: repo#1180014: 2024-03-27 01:37:59.186784+00:00 Targets that build from this tag: automotive9s-packages-experimental-el9s External repos: 5 centos9s-baseos (http://mirror.stream.centos.org/9-stream/BaseOS/$arch/os/, merge mode: bare), arches: inherited from tag 10 centos9s-appstream (http://mirror.stream.centos.org/9-stream/AppStream/$arch/os/, merge mode: bare), arches: inherited from tag 15 centos9s-crb (http://mirror.stream.centos.org/9-stream/CRB/$arch/os/, merge mode: bare), arches: inherited from tag 20 centos9s-buildroot (https://kojihub.stream.centos.org/kojifiles/repos/c9s-build/latest/$arch/, merge mode: bare), arches: inherited from tag Inheritance: 0 .... autosd9s-packages-main-testing [2607] 5 .... buildsys9s-release [2363] 10 .... automotive9s-packages-experimental-candidate [2533] cbs taginfo automotive9s-packages-main-el9s-build Tag: automotive9s-packages-main-el9s-build [2463] Arches: x86_64 aarch64 Groups: build, srpm-build Tag options: mock.new_chroot : 0 mock.package_manager : 'dnf' mock.yum.module_hotfixes : 1 rpm.macro.dist : '.el9iv' This tag is a buildroot for one or more targets Current repo: repo#1179999: 2024-03-27 01:35:21.928150+00:00 Targets that build from this tag: automotive9s-packages-main-el9s External repos: 5 centos9s-baseos (http://mirror.stream.centos.org/9-stream/BaseOS/$arch/os/, merge mode: bare), arches: inherited from tag 10 centos9s-appstream (http://mirror.stream.centos.org/9-stream/AppStream/$arch/os/, merge mode: bare), arches: inherited from tag 15 centos9s-crb (http://mirror.stream.centos.org/9-stream/CRB/$arch/os/, merge mode: bare), arches: inherited from tag 20 centos9s-buildroot (https://kojihub.stream.centos.org/kojifiles/repos/c9s-build/latest/$arch/, merge mode: bare), arches: inherited from tag Inheritance: 0 .... autosd9s-packages-main-testing [2607] 5 .... buildsys9s-release [2363] 10 .... automotive9s-packages-main-candidate [2460]
Metadata Update from @arrfab: - Issue close_status updated to: Fixed - Issue status updated to: Closed (was: Open)
Log in to comment on this ticket.