diff --git a/package/rauc/rauc.mk b/package/rauc/rauc.mk index a49a580781..f3434e9c9a 100644 --- a/package/rauc/rauc.mk +++ b/package/rauc/rauc.mk @@ -30,6 +30,12 @@ ifeq ($(BR2_PACKAGE_SYSTEMD),y) RAUC_DEPENDENCIES += systemd endif +define RAUC_INSTALL_INIT_SYSTEMD + mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants + ln -sf ../../../../lib/systemd/system/rauc.service \ + $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/rauc.service +endef + HOST_RAUC_DEPENDENCIES = \ host-pkgconf \ host-openssl \