From patchwork Mon Apr 16 13:20:35 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Corjon X-Patchwork-Id: 898626 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ecagroup.com Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40Ppt65HP0z9s1p for ; Mon, 16 Apr 2018 23:21:02 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id C8D4687EE8; Mon, 16 Apr 2018 13:20:57 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hci7H8QkXKrE; Mon, 16 Apr 2018 13:20:56 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 0D38687F12; Mon, 16 Apr 2018 13:20:56 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id EEDFC1C21CE for ; Mon, 16 Apr 2018 13:20:53 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id EBD6487F12 for ; Mon, 16 Apr 2018 13:20:53 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9qZx0v5YYMvm for ; Mon, 16 Apr 2018 13:20:52 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr0-f195.google.com (mail-wr0-f195.google.com [209.85.128.195]) by hemlock.osuosl.org (Postfix) with ESMTPS id 8DA4887EE8 for ; Mon, 16 Apr 2018 13:20:52 +0000 (UTC) Received: by mail-wr0-f195.google.com with SMTP id l49so25951689wrl.4 for ; Mon, 16 Apr 2018 06:20:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=SswYF/aosPSIzRrKdU45g4ooPB060Oq4sle34Jwna10=; b=Z10Btnb1Hz7JRpg1gCMJDgA5PBrMuw74oylFJZa4eI7ve6/LWBfu2QNQ2hab/f6tTW IEQ3tcA21Ef2Gc0UFfBCMknucv2xQWd9/eoOoNQ2xGHjIccr3HQdjXkVhVusSgCrU5zc fSqvHUzlCtadM/fghCTkV2B5DRvnRuYzEAOr/aLDfeinUUDrAZ34E4vk1u+bkSggt46A 0Z0aKVYHe8q2OmSHALjkjzvhCSFDCSdBYWA21QlEXYODkF5tCRuaEBxoIJn+vdWwgefT iiwbVgu05ZHonyYezOYQ4YWtpT3D2jlhGl2vLB7kT1IkWoRb5GMEma955DIhn569hIKy dJ0Q== X-Gm-Message-State: ALQs6tAFUXXZBDQ6efcrHwF+N71wqgFCHQB3couV4oEfpXUuQM7aLfWX /gO5Yqkoc4q4fHirBhKfC6FdXQ== X-Google-Smtp-Source: AIpwx4+tBd5ABE3F2iEjpqxNi0Y5+Ox9POEB98821De1bl9tabI5JPieJ2neYP1mktOD4c9/JK4kHg== X-Received: by 10.223.139.4 with SMTP id n4mr10415192wra.112.1523884850753; Mon, 16 Apr 2018 06:20:50 -0700 (PDT) Received: from mic341-linux.sinters-int.fr ([195.200.174.78]) by smtp.gmail.com with ESMTPSA id e202sm10811008wma.43.2018.04.16.06.20.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 Apr 2018 06:20:49 -0700 (PDT) From: Julien Corjon To: buildroot@buildroot.org Date: Mon, 16 Apr 2018 15:20:35 +0200 Message-Id: <20180416132035.22491-1-corjon.j@ecagroup.com> X-Mailer: git-send-email 2.14.1 Subject: [Buildroot] [PATCH] package/swupdate: default website have a new API X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.24 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" 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 --- 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..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