Skip to contentSkip to conversation

package/swupdate: default website have a new API

PATCH New Julien Corjon 2 participants 2 messages Apr 16, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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

---
 package/swupdate/swupdate.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/swupdate/swupdate.mk +1 -1
index 8649931eb7..abf46c9256 100644
@@ -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
Signature · 1 line
2.14.1
#1 lore raw

PATCH 1/1 package/swupdate: default website have a new API

Hello,

Quoted 9 lines · Julien Corjon

2018.03 introduce a new website with Websocket asynchronous communication[1]

[1] https://github.com/sbabic/swupdate/blob/master/doc/source/mongoose.rst

---
 package/swupdate/swupdate.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com