From: Julien Corjon Date: Mon, 16 Apr 2018 13:20:35 +0000 (+0200) Subject: package/swupdate: default website have a new API X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2d9e9d04d7e810e4c97f14dd84acfbdb43b9b3ea;p=buildroot.git package/swupdate: default website have a new API 2018.03 introduce a new website with Websocket asynchronous communication[1] [1] https://github.com/sbabic/swupdate/blob/master/doc/source/mongoose.rst Signed-off-by: Julien Corjon Signed-off-by: Thomas Petazzoni --- diff --git a/package/swupdate/swupdate.mk b/package/swupdate/swupdate.mk index 8649931eb7..abf46c9256 100644 --- a/package/swupdate/swupdate.mk +++ b/package/swupdate/swupdate.mk @@ -125,7 +125,7 @@ define SWUPDATE_INSTALL_TARGET_CMDS $(INSTALL) -D -m 0755 $(@D)/swupdate $(TARGET_DIR)/usr/bin/swupdate $(if $(BR2_PACKAGE_SWUPDATE_INSTALL_WEBSITE), \ mkdir -p $(TARGET_DIR)/var/www/swupdate; \ - cp -dpf $(@D)/www/* $(TARGET_DIR)/var/www/swupdate) + cp -dpfr $(@D)/examples/www/v2/* $(TARGET_DIR)/var/www/swupdate) endef # Checks to give errors that the user can understand