2019-09-27 09:12:17 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# firstboot-service
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
FIRSTBOOT_SERVICE_VERSION = 0.1.0
|
2020-10-06 21:23:38 +02:00
|
|
|
FIRSTBOOT_SERVICE_SITE = $(BR2_EXTERNAL_OPENVOICEOS_PATH)/package/firstboot-service
|
2019-09-27 09:12:17 +02:00
|
|
|
FIRSTBOOT_SERVICE_SITE_METHOD = local
|
|
|
|
FIRSTBOOT_SERVICE_LICENSE = Apache License 2.0
|
|
|
|
FIRSTBOOT_SERVICE_LICENSE_FILES = LICENSE
|
|
|
|
|
|
|
|
define FIRSTBOOT_SERVICE_INSTALL_TARGET_CMDS
|
|
|
|
$(INSTALL) -m 0755 $(@D)/resizeSD $(TARGET_DIR)/usr/sbin/
|
|
|
|
$(INSTALL) -m 0755 $(@D)/firstboot $(TARGET_DIR)/usr/sbin/
|
2021-01-06 18:07:01 +01:00
|
|
|
$(INSTALL) -m 0755 $(@D)/gitstash $(TARGET_DIR)/usr/sbin/
|
2019-09-27 09:12:17 +02:00
|
|
|
$(INSTALL) -D -m 644 $(@D)/firstboot.service \
|
|
|
|
$(TARGET_DIR)/usr/lib/systemd/system/firstboot.service
|
|
|
|
touch $(TARGET_DIR)/etc/firstboot
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(generic-package))
|