Collection of cookbooks for Podman Quadlets
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

25 lines
916 B

SYSTEMD_MAIN_UNIT_NAMES += install-tools.service
# .path units are not picked up by common.mk's wildcard (only .service/.target/
# .timer/.mount), so install and enable/start it explicitly. It triggers the
# path-scoped podman-resolv-conf-sync.service oneshot.
SYSTEMD_MAIN_UNIT_NAMES += podman-resolv-conf-sync.path
TARGET_FILES += $(TARGET_CHROOT)/etc/quadlets/base/install-tools.d
TARGET_FILES += $(TARGET_CHROOT)/etc/systemd/system/podman-resolv-conf-sync.path
# Include common Makefile
include ../../scripts/common.mk
$(TARGET_CHROOT)/etc/quadlets/base/install-tools.d:
install -d -m 0755 -o root -g root -D $@
install-actions-pre::
@set -Eeuo pipefail; \
run() { echo $$*; "$$@"; }; \
if ! getent group 10000 >/dev/null; then \
run groupadd -g 10000 itix-svc; \
fi ; \
if ! getent passwd 10000 >/dev/null; then \
run useradd -u 10000 -g 10000 -M -d /tmp -c "ITIX Misc. Services" itix-svc; \
fi