Skip to content

Commit

Permalink
Add ubuntu 24.04
Browse files Browse the repository at this point in the history
  • Loading branch information
bahamat committed Jul 19, 2024
1 parent 93874e4 commit 71bcf46
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
- '**.md'
branches:
- master
- ubuntu24
jobs:
prepare:
name: Create Release
Expand Down Expand Up @@ -34,6 +35,7 @@ jobs:
strategy:
matrix:
RELEASE:
- 24.04
- 22.04
- 20.04
- 18.04
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Curently the following linuxes are supported
* Ubuntu 18.04
* Ubuntu 20.04
* Ubuntu 22.04
* Ubuntu 24.04
* Debian Buster
* Debian Bullseye
* Devuan Beowulf
Expand Down
8 changes: 8 additions & 0 deletions ubuntu/helpers/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,14 @@ systemctl enable create_hosts_file.service
cp remove_dockerenv_file.service /etc/systemd/system
systemctl enable remove_dockerenv_file.service

# Revert systemd's tcp wrapper for ssh. This really only applies to 24.04,
# but won't cause a failure on earlier versions.
systemctl disable --now ssh.socket
rm -f /etc/systemd/system/ssh.service.d/00-socket.conf
rm -f /etc/systemd/system/ssh.socket.d/addresses.conf
systemctl daemon-reload
systemctl enable --now ssh.service

# Remove the divert that disables services
rm -f /sbin/initctl
dpkg-divert --local --rename --remove /sbin/initctl
Expand Down

0 comments on commit 71bcf46

Please sign in to comment.