Skip to content

group ezbake builds based on legacy/modern OS - #127

Draft
bastelfreak wants to merge 3 commits into
mainfrom
ezbake4
Draft

group ezbake builds based on legacy/modern OS#127
bastelfreak wants to merge 3 commits into
mainfrom
ezbake4

Conversation

@bastelfreak

@bastelfreak bastelfreak commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

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:

[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

Short description

Checklist

I have:

@bastelfreak
bastelfreak force-pushed the ezbake4 branch 25 times, most recently from 2a808ab to 9c429bd Compare August 15, 2026 18:39
@bastelfreak

Copy link
Copy Markdown
Contributor Author

@bastelfreak
bastelfreak force-pushed the ezbake4 branch 4 times, most recently from 82d0f57 to cc36266 Compare August 20, 2026 17:16
with:
repository: OpenVoxProject/shared-actions
ref: main
ref: ezbake4 # switch to main before merge!

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ezbake-2 is using ezbake4 branch?

with:
repository: OpenVoxProject/shared-actions
ref: main
ref: ezbake4 # rename to main before merge

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ezbake4 in ezbake2 build again?

Comment thread platforms.json
"ubuntu-26.04",
"debian-13"
"ezbake2-deb": [
"ubuntu-22.04"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why only 22 here? in 8.x you also du 24 and 26?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

only ubuntu 22.04 is built with ezbake 2. ubuntu 24.04 and newer are built with ezbake 4 (see the ezbake4-deb key).

@Sharpie

Sharpie commented Sep 4, 2026

Copy link
Copy Markdown
Member

After staring at EZbake long enough, I think I see how to sort this out in fpm.rb so that we can just use 4.x for everything. Going to scratch at that during Happy Hour today.

@bastelfreak

Copy link
Copy Markdown
Contributor Author

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>
Comment thread platforms.json
"amazon-2023",
"el-8",
"ezbake4-rpm": [
"el-9",

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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?)

@Sharpie

Sharpie commented Sep 6, 2026

Copy link
Copy Markdown
Member

Support for older SystemD versions was added to EZbake 4.1.0: OpenVoxProject/ezbake#146

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.

3 participants