{"id":810062,"url":"http://patchwork.ozlabs.org/api/1.2/patches/810062/?format=json","web_url":"http://patchwork.ozlabs.org/project/buildroot/patch/20170905095456.15776-1-corjon.j@ecagroup.com/","project":{"id":27,"url":"http://patchwork.ozlabs.org/api/1.2/projects/27/?format=json","name":"Buildroot development","link_name":"buildroot","list_id":"buildroot.buildroot.org","list_email":"buildroot@buildroot.org","web_url":"","scm_url":"","webscm_url":"","list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20170905095456.15776-1-corjon.j@ecagroup.com>","list_archive_url":null,"date":"2017-09-05T09:54:56","name":"[v2] package/netplug: init script create needed lock directory","commit_ref":null,"pull_url":null,"state":"accepted","archived":false,"hash":"6b7ad0474447cafedd2c7dfaa8d6e541e98f628e","submitter":{"id":66438,"url":"http://patchwork.ozlabs.org/api/1.2/people/66438/?format=json","name":"Julien Corjon","email":"corjon.j@ecagroup.com"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/buildroot/patch/20170905095456.15776-1-corjon.j@ecagroup.com/mbox/","series":[{"id":1538,"url":"http://patchwork.ozlabs.org/api/1.2/series/1538/?format=json","web_url":"http://patchwork.ozlabs.org/project/buildroot/list/?series=1538","date":"2017-09-05T09:54:56","name":"[v2] package/netplug: init script create needed lock directory","version":2,"mbox":"http://patchwork.ozlabs.org/series/1538/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/810062/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/810062/checks/","tags":{},"related":[],"headers":{"Return-Path":"<buildroot-bounces@busybox.net>","X-Original-To":["incoming@patchwork.ozlabs.org","buildroot@lists.busybox.net"],"Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","buildroot@osuosl.org"],"Authentication-Results":"ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=busybox.net\n\t(client-ip=140.211.166.137; helo=fraxinus.osuosl.org;\n\tenvelope-from=buildroot-bounces@busybox.net;\n\treceiver=<UNKNOWN>)","Received":["from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\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 3xmhsg6Vdtz9sNc\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue,  5 Sep 2017 19:55:19 +1000 (AEST)","from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id B516785997;\n\tTue,  5 Sep 2017 09:55:16 +0000 (UTC)","from fraxinus.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id uLD4jBVhEesj; Tue,  5 Sep 2017 09:55:14 +0000 (UTC)","from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 43DB284CAB;\n\tTue,  5 Sep 2017 09:55:14 +0000 (UTC)","from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id F2DF31C4114\n\tfor <buildroot@lists.busybox.net>;\n\tTue,  5 Sep 2017 09:55:12 +0000 (UTC)","from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id E72A0845FF\n\tfor <buildroot@lists.busybox.net>;\n\tTue,  5 Sep 2017 09:55:12 +0000 (UTC)","from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id AOfcvEQ9aI-V for <buildroot@lists.busybox.net>;\n\tTue,  5 Sep 2017 09:55:11 +0000 (UTC)","from mail-wr0-f195.google.com (mail-wr0-f195.google.com\n\t[209.85.128.195])\n\tby whitealder.osuosl.org (Postfix) with ESMTPS id 9E76F83B82\n\tfor <buildroot@buildroot.org>; Tue,  5 Sep 2017 09:55:10 +0000 (UTC)","by mail-wr0-f195.google.com with SMTP id p14so1184501wrg.5\n\tfor <buildroot@buildroot.org>; Tue, 05 Sep 2017 02:55:10 -0700 (PDT)","from mic341-linux.sinters-int.fr ([195.200.174.78])\n\tby smtp.gmail.com with ESMTPSA id 4sm160635wrl.60.2017.09.05.02.55.07\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tTue, 05 Sep 2017 02:55:07 -0700 (PDT)"],"X-Virus-Scanned":["amavisd-new at osuosl.org","amavisd-new at osuosl.org"],"X-Greylist":"domain auto-whitelisted by SQLgrey-1.7.6","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=8lHpv06JhSp6mO/ZVAMuqjc436IAGb29/Cq4OBRVFro=;\n\tb=myGO+/aOKCHYAV6Z+TTYGTxe5dc5+KQ9mJTDEMgwzZjiORhg0zGvgV8Poz7Qsf4+np\n\tnzQgKGV7oLC4E45Kspo6ZafCuqYPN2hBn+YN3MdBP55ZW0LlT5zpkqEIoIiJGHIncwuA\n\tEULF4OYi4UngUulQ2wXj+PRr0KqrKIhqG06pdwOVkTw/g60Vt9vh1A3XjY3VYFZcKSB8\n\ta8MnorJj1AdZl+Eguvr5KrbqnVgE213CwXnXCo0OL/QtotMc504Oj0njwdWCW+j6pbhi\n\t9zs5MPVTC5SFXk5S9smRx3d0/0ZuWgQBM7DOk5/sWrgi32g9LKKUC1TB1hVMAnaVlQ7n\n\tyS+w==","X-Gm-Message-State":"AHPjjUhv8EvH3w+qcj8pyb661IZGFSP6NIagzE/kXPndsS+5cNbBTehp\n\t2M1jIZposNssTx4U","X-Google-Smtp-Source":"ADKCNb7Wgtp2VstiQpZ2vGCjey1UdSkhUpH9C+9w09QQKKaVb4LDgji6+DknqHcVC3qn0W0BcUW3Qg==","X-Received":"by 10.223.175.217 with SMTP id y25mr1871203wrd.255.1504605308750;\n\tTue, 05 Sep 2017 02:55:08 -0700 (PDT)","From":"Julien Corjon <corjon.j@ecagroup.com>","To":"buildroot@buildroot.org","Date":"Tue,  5 Sep 2017 11:54:56 +0200","Message-Id":"<20170905095456.15776-1-corjon.j@ecagroup.com>","X-Mailer":"git-send-email 2.11.0","In-Reply-To":"<20170905083917.8625-1-corjon.j@ecagroup.com>","References":"<20170905083917.8625-1-corjon.j@ecagroup.com>","Cc":"ECA SINTERS software <software.eca-sinters@ecagroup.com>","Subject":"[Buildroot] [PATCH v2] package/netplug: init script create needed\n\tlock directory","X-BeenThere":"buildroot@busybox.net","X-Mailman-Version":"2.1.18-1","Precedence":"list","List-Id":"Discussion and development of buildroot <buildroot.busybox.net>","List-Unsubscribe":"<http://lists.busybox.net/mailman/options/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=unsubscribe>","List-Archive":"<http://lists.busybox.net/pipermail/buildroot/>","List-Post":"<mailto:buildroot@busybox.net>","List-Help":"<mailto:buildroot-request@busybox.net?subject=help>","List-Subscribe":"<http://lists.busybox.net/mailman/listinfo/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=subscribe>","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Errors-To":"buildroot-bounces@busybox.net","Sender":"\"buildroot\" <buildroot-bounces@busybox.net>"},"content":"Init script use /var/lock/subsys/netplugd but directory\n/var/lock/subsys can be missing.\n\nSigned-off-by: Julien Corjon <corjon.j@ecagroup.com>\n---\n\nv2:\n- dont test already existing directory\n\n package/netplug/S29netplug | 3 +++\n 1 file changed, 3 insertions(+)","diff":"diff --git a/package/netplug/S29netplug b/package/netplug/S29netplug\nindex 88f933d556..d3df9ddff5 100755\n--- a/package/netplug/S29netplug\n+++ b/package/netplug/S29netplug\n@@ -11,6 +11,9 @@\n \n # Copyright 2003 Key Research, Inc.\n \n+# Create needed directories\n+mkdir -p /var/lock/subsys\n+\n # Source function library.\n if [ -f /etc/init.d/functions ]; then\n \t. /etc/init.d/functions\n","prefixes":["v2"]}