Skip to content

Commit

Permalink
pack cgroups with debian image
Browse files Browse the repository at this point in the history
  • Loading branch information
rawalexe committed Feb 7, 2025
1 parent 169e3c4 commit cb13dd0
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,8 @@ set(CPACK_PACKAGE_CONTACT

set(CPACK_DEBIAN_PACKAGE_SHLIBDEPS ON)

set(CPACK_DEBIAN_PACKAGE_DEPENDS "cgroup-tools (>= 2.0)")

set(CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA
${CMAKE_CURRENT_SOURCE_DIR}/debian/postinst
${CMAKE_CURRENT_SOURCE_DIR}/debian/postrm
Expand Down
2 changes: 1 addition & 1 deletion debian/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ mkdir -p "${gg_workingdir}"

chown "${gg_user}":"${gg_group}" "${gg_workingdir}"

systemd-tmpfiles --create
systemctl restart systemd-tmpfiles-clean.service

systemctl enable greengrass-lite.target
systemctl enable ggl.aws_iot_tes.socket
Expand Down
2 changes: 1 addition & 1 deletion misc/buildtestcontainer/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ RUN apt-get update \
systemd systemd-sysv dbus ca-certificates sudo nano bash-completion \
build-essential pkg-config cmake git curl file gdb python3 \
libssl-dev libcurl4-openssl-dev libsqlite3-dev sqlite3 libyaml-dev \
libsystemd-dev liburiparser-dev uuid-dev libevent-dev libzip-dev \
libsystemd-dev liburiparser-dev uuid-dev libevent-dev cgroup-tools libzip-dev \
&& apt-get clean

COPY ./getty-override.conf \
Expand Down
1 change: 1 addition & 0 deletions misc/staticbuildtestcontainer/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ RUN apt-get update && apt-get -y install --no-install-recommends \
libevent-dev \
libsqlite3-dev \
libsystemd-dev \
cgroup-tools \
liburiparser-dev \
libyaml-dev \
sqlite3 \
Expand Down

0 comments on commit cb13dd0

Please sign in to comment.