Skip to content

Commit 71bcf46

Browse files
committed
Add ubuntu 24.04
1 parent 93874e4 commit 71bcf46

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

.github/workflows/build.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
- '**.md'
88
branches:
99
- master
10+
- ubuntu24
1011
jobs:
1112
prepare:
1213
name: Create Release
@@ -34,6 +35,7 @@ jobs:
3435
strategy:
3536
matrix:
3637
RELEASE:
38+
- 24.04
3739
- 22.04
3840
- 20.04
3941
- 18.04

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Curently the following linuxes are supported
77
* Ubuntu 18.04
88
* Ubuntu 20.04
99
* Ubuntu 22.04
10+
* Ubuntu 24.04
1011
* Debian Buster
1112
* Debian Bullseye
1213
* Devuan Beowulf

ubuntu/helpers/build.sh

+8
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,14 @@ systemctl enable create_hosts_file.service
9191
cp remove_dockerenv_file.service /etc/systemd/system
9292
systemctl enable remove_dockerenv_file.service
9393

94+
# Revert systemd's tcp wrapper for ssh. This really only applies to 24.04,
95+
# but won't cause a failure on earlier versions.
96+
systemctl disable --now ssh.socket
97+
rm -f /etc/systemd/system/ssh.service.d/00-socket.conf
98+
rm -f /etc/systemd/system/ssh.socket.d/addresses.conf
99+
systemctl daemon-reload
100+
systemctl enable --now ssh.service
101+
94102
# Remove the divert that disables services
95103
rm -f /sbin/initctl
96104
dpkg-divert --local --rename --remove /sbin/initctl

0 commit comments

Comments
 (0)