Skip to content

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

Draft
bastelfreak wants to merge 2 commits into
mainfrom
ezbake4
Draft

group ezbake builds based on legacy/modern OS#127
bastelfreak wants to merge 2 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 19 times, most recently from eb1337f to 2b6fd01 Compare August 15, 2026 11:22
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>
@bastelfreak
bastelfreak force-pushed the ezbake4 branch 5 times, most recently from 09761b7 to 2a808ab Compare August 15, 2026 18:13
Signed-off-by: Tim Meusel <tim@bastelfreak.de>
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.

1 participant