From patchwork Fri Oct 13 09:54:53 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Juerg Haefliger X-Patchwork-Id: 825358 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) by ozlabs.org (Postfix) with ESMTP id 3yD33y4z56z9sNc; Fri, 13 Oct 2017 20:55:10 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1e2wgG-0000LF-9O; Fri, 13 Oct 2017 09:55:00 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.86_2) (envelope-from ) id 1e2wgE-0000Kv-Fp for kernel-team@lists.ubuntu.com; Fri, 13 Oct 2017 09:54:58 +0000 Received: from mail-wm0-f71.google.com ([74.125.82.71]) by youngberry.canonical.com with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.76) (envelope-from ) id 1e2wgE-0008Gq-8g for kernel-team@lists.ubuntu.com; Fri, 13 Oct 2017 09:54:58 +0000 Received: by mail-wm0-f71.google.com with SMTP id r202so5505308wmd.17 for ; Fri, 13 Oct 2017 02:54:58 -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:subject:date:message-id; bh=v7gkIRqjOpBMSTtZRllgIQ9xPiZfpW1HSbseylUKs6Y=; b=ngmcoe/HRiUUiwWlv+ounFW24AEAKW1/q2UmiYv+Ak67WG64zE3yzojMYRslp33Yd6 31dff4jI4u97E3T+yj0Xrb+dz+mdh5SrwEfWEJel9ZgX3W6wx8KXdRQZCUtNJC9s7CxG YdMpXIlNBmWLTFXL289xQSnLORvolS3bwhvrdd+fC55EruzT9qvYwbLGWrVPdPNyzVck GNVpINfewUggjUdpezAy+Ts4SGA+mrpSnN/ju9/546DjNoMmSAZ10mITGVTAiJrK0gR1 PSksEKpjO207p+JK8QtFGtDoVnomIeHmArn9J1vBrvkMlyTraE9+DNM8rnkwLBrAI16A TAuQ== X-Gm-Message-State: AMCzsaXcVxhi5s7ZS3U20AMG5dja5oQYxd75cmGacJ+vDvxupD2hJHfa Udtzko08BxCOcfuQXTylKuZtpq1bh0VXHk05i54nwL9t1GNS/5k/v8PiPFurBhvWmTuQtMT+Qvd Kpz4NBu/9YnBFa3n4TY/E0YlgQkryCZeiTRwxacMfVQ== X-Received: by 10.80.186.229 with SMTP id x92mr1405320ede.77.1507888497771; Fri, 13 Oct 2017 02:54:57 -0700 (PDT) X-Google-Smtp-Source: AOwi7QA7Wpx5xTFqwZD4pO0lXCdV3+4TyyNZrymywGaEsSXC0x6DE0hTDU4hoeifx4TLkw6qYLDShw== X-Received: by 10.80.186.229 with SMTP id x92mr1405308ede.77.1507888497616; Fri, 13 Oct 2017 02:54:57 -0700 (PDT) Received: from localhost.localdomain (adsl-84-227-115-101.adslplus.ch. [84.227.115.101]) by smtp.gmail.com with ESMTPSA id w2sm588305eda.86.2017.10.13.02.54.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 Oct 2017 02:54:57 -0700 (PDT) From: Juerg Haefliger To: kernel-team@lists.ubuntu.com, canonical-livepatch-kernel-review@lists.launchpad.net Subject: [canonical-livepatch-tools][PATCH] livepatch-tool: Create empty file ~/.livepatch-cvenotes Date: Fri, 13 Oct 2017 11:54:53 +0200 Message-Id: <20171013095453.11729-1-juerg.haefliger@canonical.com> X-Mailer: git-send-email 2.14.1 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" This file needs to be present for certain commands so create it if it's not present. Signed-off-by: Juerg Haefliger --- livepatch-tool | 2 ++ 1 file changed, 2 insertions(+) diff --git a/livepatch-tool b/livepatch-tool index b715e239c862..45974d1be652 100755 --- a/livepatch-tool +++ b/livepatch-tool @@ -915,6 +915,8 @@ if [ -z "$command" ]; then fi shift +[ -e ~/.livepatch-cvenotes ] || touch ~/.livepatch-cvenotes + case "$command" in am) echo "Applying mbox to ${git_branch:-all}"