Received: by 2002:ac0:950e:0:0:0:0:0 with SMTP id f14csp881133imc; Sat, 16 Mar 2019 20:05:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqxMLWMHxgvEP6SOnlur4w9VmaLi36rAHSwbAsjaETQWbobEdLaiDyRW/8vp/FHa+LMQ/8AX X-Received: by 2002:a62:4e8e:: with SMTP id c136mr12221767pfb.254.1552791909913; Sat, 16 Mar 2019 20:05:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552791909; cv=none; d=google.com; s=arc-20160816; b=dr+8HU+jTK5h8lvOWksuNlh/4HnqpmVXN/orUvYTa/N7+kCo64fY14ydaBkVafiJSi LCbU22HCr9xxXDDoQZmyrMNpJFSOkXHh1CfjkFheJoRqTjQE/ArNTUAMBDloDNanrtMP 0y5F1fcDeSL2Tu4cDBgF8hE7x0kbTisUkdkfeaUVuYCoi43Q7QnRAQknKkCgQ9DkwMDK LmEDZgNDavjktJ9gM4oB/Jsg/lwyW/4CM0hiG5Zaeu8uPO5DiRP1PTOt2s1JdZ0aquFI RxexUBYeUnbFn5ZtxKBT6ENeKbvG7x9cbpP6a/wgHr8wFdlQdDyA7Qipc/yFPTIRaqnk Wh0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature:dkim-filter; bh=PLgMZ2viq+2YOOfeXUK8Nf3DRZR23j2SxjeCLaT0Mcg=; b=uuMNWcWVvnq/fNDPJdObt0kyaIrFv31kFLBlVtPGhvCr/j9NicTQRrX4NnMTa6DSNQ D1dBC/EyT8M6FIfDP+6VjZnM4jZ5Xe+oivMZR0cvuYarwb1GZq2UreIeaHN6KRzeNIO6 1U1JI6En/vPcDXb2ehV6BpzLlpcqTQnRNq6Y3LiGb2ejyxahaD/+20+chYW3YnlKMSlA mW2uhbi/gjVqRASlgq0jhkb5J5apFVZjP4kAvQFBb+Yeya3GLuRynxWCP9BPsH1dj+bh FW13CzrASclFGWWfU8XOOSphrTffohd2oBoTVpyIAnrYcI/AZd2VZhfQa6Crbip2gkxX dXXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=OhphDw5z; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u9si1813440pls.34.2019.03.16.20.04.42; Sat, 16 Mar 2019 20:05:09 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=OhphDw5z; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726946AbfCQDDo (ORCPT + 99 others); Sat, 16 Mar 2019 23:03:44 -0400 Received: from conssluserg-01.nifty.com ([210.131.2.80]:53742 "EHLO conssluserg-01.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726493AbfCQDDn (ORCPT ); Sat, 16 Mar 2019 23:03:43 -0400 Received: from mail-vs1-f47.google.com (mail-vs1-f47.google.com [209.85.217.47]) (authenticated) by conssluserg-01.nifty.com with ESMTP id x2H33YBl018547; Sun, 17 Mar 2019 12:03:34 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-01.nifty.com x2H33YBl018547 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1552791814; bh=PLgMZ2viq+2YOOfeXUK8Nf3DRZR23j2SxjeCLaT0Mcg=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=OhphDw5zlnrnB7wAvU6Oe2vpF+dg2jrNVi2peQCM4rizh5BWBmWO5jOnUubmmyM/Y EAI3q0aiPI0FKhXShd1UokL8OJ63+HqbTfhxslfTRRr9bmbEiEo0bs5xdPo2qha/PP RHUeYrsF1z3a3Lu17dc6WfhcvN6t7/bhQCrAMkItwe0qXg7U4E9Em1UnnAAJ2VSCQD 1q+PxHOWT6Y+dUxgzinQmmQ4cvERYHTN9GtK79nAwO6n5DJGTiCcxRLGMnaF7qzZEX kddgQqbOXRnm6RA9nHheXVtDJ0XJauJBVzAMawiOBBwmw8q5hk1ZMyMWHHJYPZfPSQ +JThBC8iIhBQw== X-Nifty-SrcIP: [209.85.217.47] Received: by mail-vs1-f47.google.com with SMTP id w13so1559715vsc.4; Sat, 16 Mar 2019 20:03:34 -0700 (PDT) X-Gm-Message-State: APjAAAW1XvnshnRs5VK5cU6B6GfF+io1DjcT40Y1I606LTAwPTJddgap 60cZhUEAcW+WYRIx/6xhW4GejXOKa+8obYiKyGI= X-Received: by 2002:a67:ea05:: with SMTP id g5mr5902158vso.179.1552791813401; Sat, 16 Mar 2019 20:03:33 -0700 (PDT) MIME-Version: 1.0 References: <20190309154307.23039-1-ar@cs.msu.ru> <20190309154307.23039-2-ar@cs.msu.ru> In-Reply-To: <20190309154307.23039-2-ar@cs.msu.ru> From: Masahiro Yamada Date: Sun, 17 Mar 2019 12:02:57 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 2/3] scripts/package/mkdebian: avoid implicit effects To: Arseny Maslennikov Cc: Michal Marek , Linux Kbuild mailing list , Linux Kernel Mailing List , Ben Hutchings , Riku Voipio Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Mar 10, 2019 at 12:44 AM Arseny Maslennikov wrote: > > * The man page for dpkg-source(1) notes: > > > -b, --build directory [format-specific-parameters] > > Build a source package (--build since dpkg 1.17.14). > > <...> > > > > dpkg-source will build the source package with the first > > format found in this ordered list: the format indicated > > with the --format command line option, the format > > indicated in debian/source/format, =E2=80=9C1.0=E2=80=9D. = The fallback > > to =E2=80=9C1.0=E2=80=9D is deprecated and will be removed = at some point > > in the future, you should always document the desired > > source format in debian/source/format. See section > > SOURCE PACKAGE FORMATS for an extensive description of > > the various source package formats. > > Thus it would be more foolproof to explicitly use 1.0 (as we always > did) than to rely on dpkg-source's defaults. > > * In a similar vein, debian/rules is not made executable by mkdebian, > and dpkg-source warns about that but still silently fixes the file. > Let's be explicit once again. > > Signed-off-by: Arseny Maslennikov > --- Applied to linux-kbuild. Thanks. > scripts/package/mkdebian | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/scripts/package/mkdebian b/scripts/package/mkdebian > index f030961c5165..d276eb671a27 100755 > --- a/scripts/package/mkdebian > +++ b/scripts/package/mkdebian > @@ -132,7 +132,9 @@ else > echo >&2 "Install lsb-release or set \$KDEB_CHANGELOG_DIST expli= citly" > fi > > -mkdir -p debian/ > +mkdir -p debian/source/ > +echo "1.0" > debian/source/format > + > echo $debarch > debian/arch > > # Generate a simple changelog template > @@ -221,5 +223,6 @@ clean: > > binary: binary-arch > EOF > +chmod +x debian/rules > > exit 0 > -- > 2.20.1 > --=20 Best Regards Masahiro Yamada