mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 16:01:54 -09:00
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 2d9e9d04d7)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
8bca3e0294
commit
7d2b922356
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user