From: Stefan Becker <chemobejk@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] swupdate: install web application version 2
Date: Mon, 16 Apr 2018 14:44:44 +0300 [thread overview]
Message-ID: <20180416114444.26220-1-chemobejk@gmail.com> (raw)
In-Reply-To: <20180415195628.4CE0F88476@busybox.osuosl.org>
The old web application under www/ and mongoose API v1 no longer work
after upgrading to 2018.03. Install web application version 2 from
examples/www/v2/ to /var/www/swupdate/ instead.
This fix does not address the fact that you can't rebuild the new web
application under buildroot. That would require host Node.js & npm to
run the application build. I.e. for now users have to live with the
example application or apply patches directly to the built version of
the appication.
Signed-off-by: Stefan Becker <chemobejk@gmail.com>
---
package/swupdate/swupdate.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/swupdate/swupdate.mk b/package/swupdate/swupdate.mk
index 8649931eb7..5dce9cd46c 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 -dpRf $(@D)/examples/www/v2/* $(TARGET_DIR)/var/www/swupdate)
endef
# Checks to give errors that the user can understand
--
2.14.3
next prev parent reply other threads:[~2018-04-16 11:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-15 19:45 [Buildroot] [git commit] swupdate: bump to version 2018.03 Thomas Petazzoni
2018-04-16 11:44 ` Stefan Becker [this message]
2018-04-16 11:47 ` [Buildroot] [PATCH] swupdate: install web application version 2 Stefan Becker
2018-04-16 14:38 ` Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180416114444.26220-1-chemobejk@gmail.com \
--to=chemobejk@gmail.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox