aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Julien Corjon <corjon.j@ecagroup.com>2018-04-16 15:20:35 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2018-12-16 22:36:13 +0100
commit7d2b9223563396bc84b57a7687c24e9592cf5b2a (patch)
tree5ae092b6407f077c6c147c611265f7af21ce8fb4
parent8bca3e0294bce591e215abc05c5a77e56bbb90b5 (diff)
downloadbuildroot-7d2b9223563396bc84b57a7687c24e9592cf5b2a.tar.gz
buildroot-7d2b9223563396bc84b57a7687c24e9592cf5b2a.tar.bz2
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 <corjon.j@ecagroup.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> (cherry picked from commit 2d9e9d04d7e810e4c97f14dd84acfbdb43b9b3ea) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/swupdate/swupdate.mk2
1 files changed, 1 insertions, 1 deletions
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