Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/624172/?format=api
{ "id": 624172, "url": "http://patchwork.ozlabs.org/api/patches/624172/?format=api", "web_url": "http://patchwork.ozlabs.org/project/openwrt/patch/1463682077-19339-1-git-send-email-sven.eckelmann@open-mesh.com/", "project": { "id": 45, "url": "http://patchwork.ozlabs.org/api/projects/45/?format=api", "name": "OpenWrt development", "link_name": "openwrt", "list_id": "openwrt-devel.lists.openwrt.org", "list_email": "openwrt-devel@lists.openwrt.org", "web_url": "http://openwrt.org/", "scm_url": "git://git.openwrt.org/openwrt.git", "webscm_url": "https://dev.openwrt.org/browser", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<1463682077-19339-1-git-send-email-sven.eckelmann@open-mesh.com>", "list_archive_url": null, "date": "2016-05-19T18:20:44", "name": "[OpenWrt-Devel,CC,01/34] ar71xx: Generate sysupgrade images for OpenMesh devices", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "0cfe5b2d5e27faf1989cc0f9dea20235bafd4624", "submitter": { "id": 68437, "url": "http://patchwork.ozlabs.org/api/people/68437/?format=api", "name": "Sven Eckelmann", "email": "sven.eckelmann@open-mesh.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/openwrt/patch/1463682077-19339-1-git-send-email-sven.eckelmann@open-mesh.com/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/624172/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/624172/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<openwrt-devel-bounces@lists.openwrt.org>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org", "Received": [ "from arrakis.dune.hu (caladan.dune.hu [78.24.191.180])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3r9fXl5JbDz9sCy\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 20 May 2016 04:21:43 +1000 (AEST)", "from arrakis.dune.hu (localhost [127.0.0.1])\n\tby arrakis.dune.hu (Postfix) with ESMTP id 82BFBB91F4E;\n\tThu, 19 May 2016 20:21:36 +0200 (CEST)", "from arrakis.dune.hu (localhost [127.0.0.1])\n\tby arrakis.dune.hu (Postfix) with ESMTP;\n\tThu, 19 May 2016 20:21:36 +0200 (CEST)", "from arrakis.dune.hu (localhost [127.0.0.1])\n\tby arrakis.dune.hu (Postfix) with ESMTP id A0B3DB91F44\n\tfor <openwrt-devel@lists.openwrt.org>;\n\tThu, 19 May 2016 20:21:35 +0200 (CEST)", "from mail-wm0-f48.google.com (mail-wm0-f48.google.com\n\t[74.125.82.48]) by arrakis.dune.hu (Postfix) with ESMTPS\n\tfor <openwrt-devel@lists.openwrt.org>;\n\tThu, 19 May 2016 20:21:35 +0200 (CEST)", "by mail-wm0-f48.google.com with SMTP id n129so48240172wmn.1\n\tfor <openwrt-devel@lists.openwrt.org>;\n\tThu, 19 May 2016 11:21:35 -0700 (PDT)", "from sven-desktop.home.narfation.org\n\t(p579E6DC9.dip0.t-ipconnect.de. [87.158.109.201])\n\tby smtp.gmail.com with ESMTPSA id\n\tu12sm495822wmu.12.2016.05.19.11.21.33\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tThu, 19 May 2016 11:21:33 -0700 (PDT)" ], "Authentication-Results": "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=open-mesh-com.20150623.gappssmtp.com\n\theader.i=@open-mesh-com.20150623.gappssmtp.com\n\theader.b=t2EmJyRb; dkim-atps=neutral", "X-Spam-Checker-Version": "SpamAssassin 3.4.1 (2015-04-28) on arrakis.dune.hu", "X-Spam-Level": "", "X-Spam-Status": "No, score=-1.5 required=5.0 tests=BAYES_00,T_DKIM_INVALID\n\tautolearn=unavailable autolearn_force=no version=3.4.1", "X-policyd-weight": "using cached result; rate: -7", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=open-mesh-com.20150623.gappssmtp.com; s=20150623;\n\th=from:to:cc:subject:date:message-id;\n\tbh=+u5c8CBqZXaIUz0PS1sN6nzl7woJsKKjpTYJ6a9mxcI=;\n\tb=t2EmJyRbVR3nAavjAMMK8hYmronsIcJDPa5hw6gHZnp0pWGNXBKEXP/MGm3O4nmHpQ\n\ta+dyXM3PXf4K4r5mzAzV1tDgMOdCWp9mKxHFOtHa+emNo9A0HrgccMk4dlFmzkc5GRpo\n\tysyo2y84ksj7azviKPVgdS3Zv6Fu7598pdFYzG7GatV0HKpcarysPE68flMQ90GpUJF4\n\tSkDk+7yONcVkwe5x+cC6QFSGeXnO3oukRvZzCju1ThArPnLY7UAoR27o1ZWXb7nIrPIY\n\tB2n+j7d1xecXjGTXgGFoWtH+oxzQjgZs2yqdrZBNOHVZUXK2lNSoPbirzN4XKuuRk/vX\n\tJhHQ==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20130820;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id;\n\tbh=+u5c8CBqZXaIUz0PS1sN6nzl7woJsKKjpTYJ6a9mxcI=;\n\tb=CCI1WY77yRh8ScfvyzE+RbY3ewX7uIQevjzu0ZryLuHA7ol5Sc9K33f43gxqDCmJiB\n\t2JSzRjoidfrOW40ulhKlkrg+cF617JAcW7PsTWj7NogWyYBN1gTCY2t7790Ktg+vX/pI\n\tP8I3VovTBepYGMLnuKga417CIpAGZT3IbxxoCL8Ds/Z3O+lIvNFNrp37oj4YXN5V/HVL\n\tCu7M1Yx4l2Sd/iLg2PwLhT9iqNheKQhoIrNVhmVurD3mM2kMhsygVuNADvzyjdtadZQx\n\tAzbuIF0gNfArwQpUel73JGMyVLNoQMNKuf2pYkshj3BGivxnIlTIOO5LhBnvHoiWFvBx\n\trbBA==", "X-Gm-Message-State": "AOPr4FWXXZB1RJ7Vtv6mJCnsE5PyUaBiYLgRWdtpw1OwgAuzmTC/Ah6wja04MHixUwwOsAoe", "X-Received": "by 10.28.2.67 with SMTP id 64mr14770576wmc.70.1463682094894;\n\tThu, 19 May 2016 11:21:34 -0700 (PDT)", "From": "Sven Eckelmann <sven.eckelmann@open-mesh.com>", "To": "openwrt-devel@lists.openwrt.org", "Date": "Thu, 19 May 2016 20:20:44 +0200", "Message-Id": "<1463682077-19339-1-git-send-email-sven.eckelmann@open-mesh.com>", "X-Mailer": "git-send-email 2.8.1", "Subject": "[OpenWrt-Devel] [PATCH CC 01/34] ar71xx: Generate sysupgrade images\n\tfor OpenMesh devices", "X-BeenThere": "openwrt-devel@lists.openwrt.org", "X-Mailman-Version": "2.1.20", "Precedence": "list", "List-Id": "OpenWrt Development List <openwrt-devel.lists.openwrt.org>", "List-Unsubscribe": "<https://lists.openwrt.org/cgi-bin/mailman/options/openwrt-devel>,\n\t<mailto:openwrt-devel-request@lists.openwrt.org?subject=unsubscribe>", "List-Archive": "<http://lists.openwrt.org/pipermail/openwrt-devel/>", "List-Post": "<mailto:openwrt-devel@lists.openwrt.org>", "List-Help": "<mailto:openwrt-devel-request@lists.openwrt.org?subject=help>", "List-Subscribe": "<https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel>,\n\t<mailto:openwrt-devel-request@lists.openwrt.org?subject=subscribe>", "Cc": "Sven Eckelmann <sven.eckelmann@open-mesh.com>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"utf-8\"", "Content-Transfer-Encoding": "base64", "Errors-To": "openwrt-devel-bounces@lists.openwrt.org", "Sender": "\"openwrt-devel\" <openwrt-devel-bounces@lists.openwrt.org>" }, "content": "Some OpenWrt based firmwares like Gluon expect that a sysupgrade image\nexists when a device firmware can be updated via sysupgrade. This image\nwasn't created until now because OpenMesh devices use the same image for\nfactory and sysupgrade flash. Copying the image from *factory.bin to\n*sysupgrade.bin is therefore enough to make the sysupgrade functionality\nvisible.\n\nReported-by: Matthias Schiffer <mschiffer@universe-factory.net>\nSigned-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>\n---\n target/linux/ar71xx/image/Makefile | 3 +++\n 1 file changed, 3 insertions(+)", "diff": "diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile\nindex 9a7acbd..5b0a4ec 100644\n--- a/target/linux/ar71xx/image/Makefile\n+++ b/target/linux/ar71xx/image/Makefile\n@@ -1847,6 +1847,9 @@ define Image/Build/OpenMesh\n \t\t\"$(BUILD_DIR)/fwupgrade.cfg-$(4)\" \"fwupgrade.cfg\" \\\n \t\t\"$(KDIR_TMP)/vmlinux-$(2).uImage\" \"kernel\" \\\n \t\t\"$(KDIR)/root.$(1)\" \"rootfs\"\n+\tif [ -e \"$(call factoryname,$(1),$(2))\" ]; then \\\n+\t\tcp \"$(call factoryname,$(1),$(2))\" \"$(call sysupname,$(1),$(2))\"; \\\n+\tfi\n endef\n \n \n", "prefixes": [ "OpenWrt-Devel", "CC", "01/34" ] }