package/rauc: add systemd service file hook
Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
9ae86ebece
commit
61d35fb727
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user