Skip to content

Commit

Permalink
Add support for Ubuntu 24.04 LTS Noble Numbat
Browse files Browse the repository at this point in the history
  • Loading branch information
soffokl committed Aug 14, 2024
1 parent adb6758 commit a83caff
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ci/release/debian.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func releaseDebianPPA(opts *releaseDebianOpts) error {
return err
}

for _, codename := range []string{"bionic", "focal", "jammy"} {
for _, codename := range []string{"bionic", "focal", "jammy", "noble"} {
err := shell.NewCmdf("bin/release_ppa %s %s %s %s", opts.repository, opts.version, opts.buildNumber, codename).Run()
if err != nil {
return err
Expand Down
34 changes: 34 additions & 0 deletions ci/test/testinstall/Dockerfile.ubuntu-noble
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
FROM ubuntu:24.04

ENV container docker
ENV LC_ALL C
ENV DEBIAN_FRONTEND noninteractive

RUN apt update \
&& apt install -y systemd \
&& apt-get clean

RUN cd /lib/systemd/system/sysinit.target.wants/ \
&& ls | grep -v systemd-tmpfiles-setup | xargs rm -f $1

RUN rm -f /lib/systemd/system/multi-user.target.wants/* \
/etc/systemd/system/*.wants/* \
/lib/systemd/system/local-fs.target.wants/* \
/lib/systemd/system/sockets.target.wants/*udev* \
/lib/systemd/system/sockets.target.wants/*initctl* \
/lib/systemd/system/basic.target.wants/* \
/lib/systemd/system/anaconda.target.wants/* \
/lib/systemd/system/plymouth* \
/lib/systemd/system/systemd-update-utmp*

# https://github.com/moby/moby/issues/1297
RUN echo resolvconf resolvconf/linkify-resolvconf boolean false | debconf-set-selections

RUN apt update \
&& apt install -y \
sudo \
curl

VOLUME ["/sys/fs/cgroup"]

CMD ["/lib/systemd/systemd"]

0 comments on commit a83caff

Please sign in to comment.