diff --git a/src/bci_build/package.py b/src/bci_build/package.py index 16e6d658b..24cd70c22 100755 --- a/src/bci_build/package.py +++ b/src/bci_build/package.py @@ -923,7 +923,11 @@ def _get_openjdk_kwargs(sp_version: int, devel: bool): name="init", pretty_name="Init", package_list=["systemd", "gzip"], - entrypoint="/usr/lib/systemd/systemd", + cmd=( + '["/usr/lib/systemd/systemd"]' + if build_recipe_type == BuildType.DOCKER + else "/usr/lib/systemd/systemd" + ), extra_labels={ "usage": "This container should only be used to build containers for daemons. Add your packages and enable services using systemctl." },