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.
 
 
 
 

31 lines
901 B

SYSTEMD_MAIN_UNIT_NAMES := var-lib-virtiofs-data.mount
SYSTEMD_MAIN_UNIT_NAMES += rpm-ostree-install-qemu-guest-agent.service
SYSTEMD_MAIN_UNIT_NAMES += install-tools.service
TARGET_FILES += $(TARGET_CHROOT)/etc/quadlets/base/install-tools.d
# Include common Makefile
include ../../scripts/common.mk
$(TARGET_CHROOT)/etc/quadlets/base/install-tools.d:
install -d -m 0755 -o root -g root -D $@
pre-requisites::
@set -Eeuo pipefail; \
for tool in rpm-ostree; do \
if ! which $$tool &>/dev/null ; then \
echo "$$tool is not installed. Please install it first." >&2; \
exit 1; \
fi ; \
done
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