initial commit
This commit is contained in:
21
package/swupdate-scripts/swupdate-scripts.mk
Normal file
21
package/swupdate-scripts/swupdate-scripts.mk
Normal file
@@ -0,0 +1,21 @@
|
||||
################################################################################
|
||||
#
|
||||
# swupdate-scripts
|
||||
#
|
||||
################################################################################
|
||||
|
||||
SWUPDATE_SCRIPTS_VERSION = 1.0
|
||||
SWUPDATE_SCRIPTS_SITE = $(BR2_EXTERNAL_AURACASTER_SYSTEM_PATH)/package/swupdate-scripts/files
|
||||
SWUPDATE_SCRIPTS_SITE_METHOD = local
|
||||
|
||||
define SWUPDATE_SCRIPTS_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -D -m 0755 $(@D)/swupdate-progress.sh $(TARGET_DIR)/usr/bin/swupdate-progress
|
||||
$(INSTALL) -D -m 0755 $(@D)/swupdate-check.sh $(TARGET_DIR)/usr/bin/swupdate-check
|
||||
$(INSTALL) -D -m 0755 $(@D)/swupdate-ab-helper.sh $(TARGET_DIR)/usr/bin/swupdate-ab-helper
|
||||
$(INSTALL) -D -m 0644 $(@D)/handlers.conf $(TARGET_DIR)/etc/swupdate/conf.d/handlers.conf
|
||||
mkdir -p $(TARGET_DIR)/var/www/swupdate/custom
|
||||
$(INSTALL) -D -m 0644 $(@D)/custom.js $(TARGET_DIR)/var/www/swupdate/custom/custom.js
|
||||
$(INSTALL) -D -m 0644 $(@D)/custom.css $(TARGET_DIR)/var/www/swupdate/custom/custom.css
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user