Skip to content

Commit

Permalink
dbld: change devshell to use ubuntu-noble as base
Browse files Browse the repository at this point in the history
Ubuntu has -fno-omit-frame-pointer in CFLAGS which Debian testing does
not have, making profiling a lot more difficult on Debian.

Signed-off-by: Balazs Scheidler <[email protected]>
  • Loading branch information
bazsi committed Dec 28, 2024
1 parent 7c7ef1f commit fc81226
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion dbld/images/devshell.dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG CONTAINER_REGISTRY
FROM $CONTAINER_REGISTRY/axosyslog-dbld-tarball:latest
FROM $CONTAINER_REGISTRY/axosyslog-dbld-ubuntu-noble:latest

ARG ARG_IMAGE_PLATFORM
ARG COMMIT
Expand Down
14 changes: 9 additions & 5 deletions dbld/packages.manifest
Original file line number Diff line number Diff line change
Expand Up @@ -42,16 +42,19 @@ which [fedora]
#############################################################################
# eBPF related tools
#############################################################################
clang [tarball]
libbpf-dev [tarball]
bpftool [tarball]
clang [tarball, devshell]
libbpf-dev [tarball, devshell]
bpftool [tarball, devshell]
# as long as devshell is based on ubuntu and not tarball
linux-tools-common [devshell]
linux-tools-generic [devshell]

#############################################################################
# Tarball related tools
#############################################################################

# docbook to generate man pages
docbook-xsl [tarball]
docbook-xsl [tarball, devshell]
docbook-style-xsl [fedora]

#############################################################################
Expand Down Expand Up @@ -128,7 +131,8 @@ libglib2.0-0t64-dbgsym [devshell]
libjemalloc-dev [devshell]
libjemalloc2-dbgsym [devshell]
libssl3t64-dbgsym [devshell]
linux-perf [devshell]
libjson-c5-dbgsym [devshell]
libpcre2-8-0-dbgsym [devshell]
locales [devshell]
lsof [devshell]
netcat-openbsd [devshell]
Expand Down
2 changes: 1 addition & 1 deletion dbld/rules
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ shell-%: setup

images: $(foreach image,$(IMAGES), image-$(image))
image: image-$(DEFAULT_IMAGE)
image-devshell: image-tarball
image-devshell: image-ubuntu-noble
image-tarball: image-debian-testing
image-%:
$(DBLD_DIR)/prepare-image-build $* && \
Expand Down

0 comments on commit fc81226

Please sign in to comment.