1
1
mirror of https://github.com/OpenVoiceOS/OpenVoiceOS synced 2024-12-29 02:04:05 +01:00
OpenVoiceOS/buildroot-external/package/growdisk-service/growdisk-service.mk
j1nx 6a59dcb1e1 [DONE] Implementation of own growdisk architecture.
This is temporarily till we switch to A/B mirrored rootfs
and data-overlay for all writable mounts.
2021-02-04 09:45:00 +01:00

21 lines
700 B
Makefile

################################################################################
#
# growdisk-service
#
################################################################################
GROWDISK_SERVICE_VERSION = 0.1.0
GROWDISK_SERVICE_SITE = $(BR2_EXTERNAL_OPENVOICEOS_PATH)/package/growdisk-service
GROWDISK_SERVICE_SITE_METHOD = local
GROWDISK_SERVICE_LICENSE = Apache License 2.0
GROWDISK_SERVICE_LICENSE_FILES = LICENSE
define GROWDISK_SERVICE_INSTALL_TARGET_CMDS
$(INSTALL) -m 0755 $(@D)/growdisk $(TARGET_DIR)/usr/sbin/
$(INSTALL) -D -m 644 $(@D)/growdisk.service \
$(TARGET_DIR)/usr/lib/systemd/system/growdisk.service
touch $(TARGET_DIR)/etc/growdisk
endef
$(eval $(generic-package))