group ezbake builds based on legacy/modern OS - #127
Conversation
2a808ab to
9c429bd
Compare
|
Related PRs:
|
82d0f57 to
cc36266
Compare
| with: | ||
| repository: OpenVoxProject/shared-actions | ||
| ref: main | ||
| ref: ezbake4 # switch to main before merge! |
There was a problem hiding this comment.
ezbake-2 is using ezbake4 branch?
| with: | ||
| repository: OpenVoxProject/shared-actions | ||
| ref: main | ||
| ref: ezbake4 # rename to main before merge |
There was a problem hiding this comment.
ezbake4 in ezbake2 build again?
| "ubuntu-26.04", | ||
| "debian-13" | ||
| "ezbake2-deb": [ | ||
| "ubuntu-22.04" |
There was a problem hiding this comment.
why only 22 here? in 8.x you also du 24 and 26?
There was a problem hiding this comment.
only ubuntu 22.04 is built with ezbake 2. ubuntu 24.04 and newer are built with ezbake 4 (see the ezbake4-deb key).
|
After staring at EZbake long enough, I think I see how to sort this out in |
|
Keep in mind that all the wrapper scripts that are used in the ezbake 2 systemd units got ripped out of ezbake 4. I considered fixing this in ezbake 4, but getting all the files back seemed too much work. In the end I don't care how we fix this, and this split CI workflow is kinda hacky. If you want to invest the time and fix it directly in ezbake 4, that's great, I just don't know if it's worth the effort. |
ezbake 4 uses a proper systemd setup with Type=notify-reload, but that requires systemd 253 (https://github.com/systemd/systemd/releases/tag/v253). For older OSes, we need to stick to ezbake 2. We don't talk about ezbake 3. new enough distros: ``` [root@ ~]# dnf info systemd | awk -F: '/Version/ {print $2}' 257 [root@ ~]# . /etc/os-release && echo $PRETTY_NAME Rocky Linux 10.2 (Red Quartz) [root@ ~]# ``` ``` root@:~# dpkg-query -W -f='${Version}\n' systemd 259.5-0ubuntu3.4 root@:~# . /etc/os-release && echo $PRETTY_NAME Ubuntu 26.04 LTS root@:~# ``` ``` root@:~# dpkg-query -W -f='${Version}\n' systemd 255.4-1ubuntu8.17 root@:~# . /etc/os-release && echo $PRETTY_NAME Ubuntu 24.04.4 LTS root@:~# ``` ``` root@:~# dpkg-query -W -f='${Version}\n' systemd 257.13-1~deb13u1 root@:~# . /etc/os-release && echo $PRETTY_NAME Debian GNU/Linux 13 (trixie) root@:~# ``` ``` :~ # rpm -q --qf '%{VERSION}-%{RELEASE}\n' systemd 257.13-160000.3.1 :~ # . /etc/os-release && echo $PRETTY_NAME openSUSE Leap 16.0 :~ # ``` ``` [root@ab39cabf7c08 /]# dnf update -qq Nothing to do. [root@ab39cabf7c08 /]# dnf repoquery --latest-limit=1 --qf '%{evr}\n' systemd.x86_64 Updating and loading repositories: Repositories loaded. 261.2-1.fc45 [root@ab39cabf7c08 /]# . /etc/os-release && echo $PRETTY_NAME Fedora Linux 45 (Container Image Prerelease) [root@ab39cabf7c08 /]# ``` ``` [root@c2b641037f08 /]# dnf update -qq Nothing to do. [root@c2b641037f08 /]# dnf repoquery --latest-limit=1 --qf '%{evr}\n' systemd.x86_64 Updating and loading repositories: Repositories loaded. 259.8-1.fc44 [root@c2b641037f08 /]# . /etc/os-release && echo $PRETTY_NAME Fedora Linux 44 (Container Image) [root@c2b641037f08 /]# ``` ``` [root@7efb7c6d6f19 /]# dnf update -qq Nothing to do. [root@7efb7c6d6f19 /]# dnf repoquery --latest-limit=1 --qf '%{evr}\n' systemd.x86_64 Updating and loading repositories: Repositories loaded. 258.10-1.fc43 [root@7efb7c6d6f19 /]# . /etc/os-release && echo $PRETTY_NAME Fedora Linux 43 (Container Image) [root@7efb7c6d6f19 /]# ``` too old: ``` [root@ ~]# dnf update --quiet; dnf info --installed systemd | awk -F: '/Version/ {print $2}' 252 [root@ ~]# . /etc/os-release && echo $PRETTY_NAME Rocky Linux 9.8 (Blue Onyx) [root@ ~]# ``` ``` root@:~# dpkg-query -W -f='${Version}\n' systemd 249.11-0ubuntu3.22 root@:~# . /etc/os-release && echo $PRETTY_NAME Ubuntu 22.04.5 LTS root@:~# ``` ``` 95e17cdb5eb8:/ # zypper search -s --match-exact systemd Refreshing service 'container-suseconnect-zypp'. Loading repository data... Reading installed packages... S | Name | Type | Version | Arch | Repository ---+---------+---------+----------------------+--------+----------- | systemd | package | 249.17-150400.8.49.2 | x86_64 | SLE_BCI 95e17cdb5eb8:/ # . /etc/os-release && echo $PRETTY_NAME SUSE Linux Enterprise Server 15 SP5 95e17cdb5eb8:/ # ``` ``` bash-5.2# dnf repoquery --latest-limit=1 --qf '%{evr}' systemd.x86_64 Last metadata expiration check: 0:00:27 ago on Sat Aug 15 10:24:53 2026. 252.23-12.amzn2023 bash-5.2# . /etc/os-release && echo $PRETTY_NAME Amazon Linux 2023.12.20260803 bash-5.2# ``` Signed-off-by: Tim Meusel <tim@bastelfreak.de>
Signed-off-by: Tim Meusel <tim@bastelfreak.de>
Signed-off-by: Tim Meusel <tim@bastelfreak.de>
| "amazon-2023", | ||
| "el-8", | ||
| "ezbake4-rpm": [ | ||
| "el-9", |
There was a problem hiding this comment.
I added el-9 here. systemd 252 in EL9 too old, but it was backported: https://redhat.atlassian.net/browse/RHEL-6090 . We need to verify this for the various EL9 distros (and amazon 2023?)
|
Support for older SystemD versions was added to EZbake 4.1.0: OpenVoxProject/ezbake#146 |
ezbake 4 uses a proper systemd setup with Type=notify-reload, but that requires systemd 253
(https://github.com/systemd/systemd/releases/tag/v253). For older OSes, we need to stick to ezbake 2. We don't talk about ezbake 3.
ezbake 4 uses a proper systemd setup with Type=notify-reload, but that
requires systemd 253
(https://github.com/systemd/systemd/releases/tag/v253). For older OSes,
we need to stick to ezbake 2. We don't talk about ezbake 3.
new enough distros:
too old:
Signed-off-by: Tim Meusel tim@bastelfreak.de
Short description
Checklist
I have:
Signed-off-byannotation to each of my commitsGenerated-byorAssisted-byannotations to each of my commits created with the help of an AI agent