Building RT-Kernel Module packages for Leap 15.4
Hello, I maintain the science:EtherLab project [1] and we are building packages containing kernel-modules for the EtherCAT master project [2] based on the distribution kernels (using %{kernel_module_package_buildreqs}, %{flavors_to_build} and friends). We have a problem with the openSUSE Leap 15.4 repository: The module ethercat-kmp-rt is built correctly, but for kernel 5.3.18 (the version from the main repo). On a freshly installed Leap 15.4 system there is a repository called "Update repository with updates from SUSE Linux Enterprise 15" [3], that comes with a newer kernel-rt (5.14.21), so if users update the system, they get a newer RT kernel, but no updated EtherCAT modules for the installed kernel. Which repository do I have to add to the OBS project? I tried - SUSE:SLE-15:Update/pool-leap-15.4 - SUSE:SLE-15:Update/standard without luck. Where do I find this information for future distributions? [1] https://build.opensuse.org/project/show/science:EtherLab [2] https://build.opensuse.org/package/show/science:EtherLab/ethercat [3] http://download.opensuse.org/update/leap/15.4/sle
On Mär 07 2023, Florian Pose wrote:
Which repository do I have to add to the OBS project?
I tried - SUSE:SLE-15:Update/pool-leap-15.4 - SUSE:SLE-15:Update/standard
You should build *only* against openSUSE:Leap:15.4:Update/standard. That should always give you the lastest updates for 15.4. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."
Hello, Am Dienstag, dem 07.03.2023 um 15:46 +0100 schrieb Andreas Schwab:
You should build *only* against openSUSE:Leap:15.4:Update/standard. That should always give you the lastest updates for 15.4.
thanks for the quick response. I tried building against openSUSE:Leap:15.4:Update/standard only. The build process succeeded, but the RT kernel module was built against kernel 5.3.18 again: ethercat-kmp-default-1.5.2.285.g0b27207_k5.14.21_150400.24.46-lp154.20.2.x86_64.rpm ethercat-kmp-rt-1.5.2.285.g0b27207_k5.3.18_8.13-lp154.20.2.x86_64.rpm If I look into the repositories on an installed Leap 15.4, I see the following: zypper> lr -u # | Alias | Name | Enabled | GPG Check | Refresh | URI ---+-----------------------------+---------------------------------------------------+---------+-----------+---------+------------------------------------------------------------------------ 1 | repo-backports-debug-update | Update repository with updates for openSUSE Lea-> | No | ---- | ---- | http://download.opensuse.org/update/leap/15.4/backports_debug/ 2 | repo-backports-update | Update repository of openSUSE Backports | Yes | (r ) Yes | Yes | http://download.opensuse.org/update/leap/15.4/backports/ 3 | repo-debug | Debug Repository | No | ---- | ---- | http://download.opensuse.org/debug/distribution/leap/15.4/repo/oss/ 4 | repo-debug-non-oss | Debug Repository (Non-OSS) | No | ---- | ---- | http://download.opensuse.org/debug/distribution/leap/15.4/repo/non-oss/ 5 | repo-debug-update | Update Repository (Debug) | No | ---- | ---- | http://download.opensuse.org/debug/update/leap/15.4/oss/ 6 | repo-debug-update-non-oss | Update Repository (Debug, Non-OSS) | No | ---- | ---- | http://download.opensuse.org/debug/update/leap/15.4/non-oss/ 7 | repo-non-oss | Non-OSS Repository | Yes | (r ) Yes | Yes | http://download.opensuse.org/distribution/leap/15.4/repo/non-oss/ 8 | repo-oss | Main Repository | Yes | (r ) Yes | Yes | http://download.opensuse.org/distribution/leap/15.4/repo/oss/ 9 | repo-sle-debug-update | Update repository with debuginfo for updates fr-> | No | ---- | ---- | http://download.opensuse.org/debug/update/leap/15.4/sle/ 10 | repo-sle-update | Update repository with updates from SUSE Linux -> | Yes | (r ) Yes | Yes | http://download.opensuse.org/update/leap/15.4/sle/ 11 | repo-source | Source Repository | No | ---- | ---- | http://download.opensuse.org/source/distribution/leap/15.4/repo/oss/ 12 | repo-update | Main Update Repository | Yes | (r ) Yes | Yes | http://download.opensuse.org/update/leap/15.4/oss/ 13 | repo-update-non-oss | Update Repository (Non-Oss) | Yes | (r ) Yes | Yes | http://download.opensuse.org/update/leap/15.4/non-oss/ zypper> se -s kernel-rt S | Name | Type | Version | Arch | Repository --+---------------------------------+------------+------------------------+--------+------------------------------------------------------------- | kernel-rt | package | 5.14.21-150400.15.11.1 | x86_64 | Update repository with updates from SUSE Linux Enterprise 15 | kernel-rt | package | 5.14.21-150400.15.8.1 | x86_64 | Update repository with updates from SUSE Linux Enterprise 15 | kernel-rt | package | 5.14.21-150400.15.5.1 | x86_64 | Update repository with updates from SUSE Linux Enterprise 15 | kernel-rt | package | 5.3.18-8.13.1 | x86_64 | Main Repository | kernel-rt | srcpackage | 5.14.21-150400.15.11.1 | noarch | Update repository with updates from SUSE Linux Enterprise 15 | kernel-rt | srcpackage | 5.14.21-150400.15.8.1 | noarch | Update repository with updates from SUSE Linux Enterprise 15 | kernel-rt | srcpackage | 5.14.21-150400.15.5.1 | noarch | Update repository with updates from SUSE Linux Enterprise 15 ... The repository 10 comes with an updated kernel-rt (version 5.14.21). I guess there must be another repository to include in my OBS project, then? -- Thanks and best regards, Florian Pose ---------------------------------------------------------------- Florian Pose Meilerweg 35 D-47533 Kleve Telefon: +49 2821 975334 Mobil: +49 179 7001363 E-Mail: florian@pose.nrw GnuPG-Schlüssel: https://pose.nrw/florian.asc Fingerabdruck: A652 E009 D3FA C91D 566F 99D6 4D20 1D59 EBDA AF9D ----------------------------------------------------------------
On Mär 08 2023, Florian Pose wrote:
Hello,
Am Dienstag, dem 07.03.2023 um 15:46 +0100 schrieb Andreas Schwab:
You should build *only* against openSUSE:Leap:15.4:Update/standard. That should always give you the lastest updates for 15.4.
thanks for the quick response. I tried building against openSUSE:Leap:15.4:Update/standard only.
You still have openSUSE:Leap:15.4/standard in the repository path. It must not be in the last position if you want to get all updates. Only the last entry in the repository path will be expanded recursively. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."
Am Mittwoch, dem 08.03.2023 um 12:30 +0100 schrieb Andreas Schwab:
On Mär 08 2023, Florian Pose wrote:
Hello,
Am Dienstag, dem 07.03.2023 um 15:46 +0100 schrieb Andreas Schwab:
You should build *only* against openSUSE:Leap:15.4:Update/standard. That should always give you the lastest updates for 15.4.
thanks for the quick response. I tried building against openSUSE:Leap:15.4:Update/standard only.
You still have openSUSE:Leap:15.4/standard in the repository path. It must not be in the last position if you want to get all updates. Only the last entry in the repository path will be expanded recursively.
Sorry, I tried in my personal repository: https://build.opensuse.org/package/show/home:florianpose:branches:science:Et... But i also configured the official project now, same behaviour: https://build.opensuse.org/repositories/science:EtherLab -- Danke und viele Grüße, Florian Pose ---------------------------------------------------------------- Florian Pose Meilerweg 35 D-47533 Kleve Telefon: +49 2821 975334 Mobil: +49 179 7001363 E-Mail: florian@pose.nrw GnuPG-Schlüssel: https://pose.nrw/florian.asc Fingerabdruck: A652 E009 D3FA C91D 566F 99D6 4D20 1D59 EBDA AF9D ----------------------------------------------------------------
Am Mittwoch, dem 08.03.2023 um 11:29 +0100 schrieb Florian Pose:
I guess there must be another repository to include in my OBS project, then?
I guess this is a general problem for packages that are concerned by the SLE-Update repository included in 15.4 distributions. What could be a solution for this issue? I guess it must be just another repository that we have to add to our build service project. But which one? -- Viele Grüße, Florian Pose Dipl.-Ing. (FH) Florian Pose fp@igh.de Tel.: +49 201 / 36014-13 Ingenieurgemeinschaft IgH Gesellschaft für Ingenieurleistungen mbH Nordsternstraße 66 D-45329 Essen Amtsgericht Essen HRB 11500 USt-Id.-Nr.: DE 174 626 722 Geschäftsführung: - Dr.-Ing. Siegfried Rotthäuser - Dr. Sven Beermann, Prokurist Tel.: +49 201 / 360-14-0 http://www.igh.de GnuPG key: CCA047CC 2007-12-18 [expires: 2027-03-03] Fingerprint: 0081 4005 FE9F 73FF 4BDA A409 0011 4E20 CCA0 47CC
On Mon, Mar 27, 2023 at 04:45:03PM +0200, Florian Pose wrote:
Am Mittwoch, dem 08.03.2023 um 11:29 +0100 schrieb Florian Pose:
I guess there must be another repository to include in my OBS project, then?
I guess this is a general problem for packages that are concerned by the SLE-Update repository included in 15.4 distributions. What could be a solution for this issue?
I guess it must be just another repository that we have to add to our build service project. But which one?
try to build with this in path: SUSE:SLE-15-SP4:Update:Products:SLERT:Update Ciao, Marcus
Hello Marcus, Am Montag, dem 27.03.2023 um 16:57 +0200 schrieb Marcus Meissner:
try to build with this in path: SUSE:SLE-15-SP4:Update:Products:SLERT:Update
that works, thank you! :-) Is there a place where I get this information without having to ask? I am thinking about the upcoming releases. -- Danke und viele Grüße, Florian Pose
Hi, On Tue, Apr 11, 2023 at 04:50:28PM +0200, Florian Pose wrote:
Hello Marcus,
Am Montag, dem 27.03.2023 um 16:57 +0200 schrieb Marcus Meissner:
try to build with this in path: SUSE:SLE-15-SP4:Update:Products:SLERT:Update
that works, thank you! :-)
Is there a place where I get this information without having to ask? I am thinking about the upcoming releases.
I dont know. :/ Usually we try to make this work easier. For Leap 15.5 the RT kernel will also be directly included, so this specific case will not happen anymore. Ciao, Marcus
participants (3)
-
Andreas Schwab
-
Florian Pose
-
Marcus Meissner