Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp6840828imb; Sat, 9 Mar 2019 07:47:14 -0800 (PST) X-Google-Smtp-Source: APXvYqyB3VdqUyzyhRqIXjN+/pwh7F1DjzHDOdhkowU62icStg58he19dR8Jk9sM/VijW2HH8El7 X-Received: by 2002:a63:ef05:: with SMTP id u5mr22097179pgh.177.1552146434266; Sat, 09 Mar 2019 07:47:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1552146434; cv=none; d=google.com; s=arc-20160816; b=Xqwt+LUBWbB4VNYlZCeZsVftiGjLJzd3POqzWp4G9Q6+ywx/fT/s5YrvoGrnmORNI8 I9LfIZigkJZV2nsn8qSP1Kt0u5ao9U5DibzN2jZluBIc3ZcFIEIKK7yslOmzPUbiq9/T T/WjMKrne0qc0IQNyzIVpsaWPinU874n/j5CaLxiTHwOB4pX40yKPh7+D4NLaTJQmErz 868QiCDRoi9NDr+a0+Nw+nG8dOFd1ODxuU7HE9vLOyOCNFNA1BDDuUb/piqwH1MUGeGb 0S6f6iloHMqNpHVQZPWPQNMiqtyzBKzayIuryTGow0h3VcaXXbccqjB1tq6TbaT18RNM yfiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:subject:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:cc:to:from :dkim-signature; bh=IxQpZZp1jw2edUZ2FQBV5SphB3EGuIm0nBwjetxFqiE=; b=w2FI9HGYKnJJXI04Dl461m8MXC3o6UEuCJent99h89tfA/OltpqSAgZoTY7fsaePiT 4//opk8k+oq9DLeJZiQGWmfNT066yKH8D/W94Y5fl3KzHFMZAGIHg3wDVq3KZbFdRdsE ieN3sWIqeInj2lheuuBcVdL+PdMt0AazE2EZhZY9i9ittwSbRfSxnzJMcxab4D3xAHX5 4gyag8UzoEMzrqIadOTbUPAGh09imsfiU7aN/5yi5xD1zwe40mYryNHGPIgQ6UA96Cv5 Zgz2LAn+TQVivG5Kmd5sNVgApZZKqrNSLPB2avZNfwcuAv0D96JqQ7LDsxK9LMUT8bgK PB8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@cs.msu.ru header.s=dkim header.b=xkcLqf66; spf=temperror (google.com: error in processing during lookup of linux-kernel-owner@vger.kernel.org: DNS error) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=cs.msu.ru Return-Path: Received: from vger.kernel.org ([209.132.180.67]) by mx.google.com with ESMTP id z21si726260pgi.97.2019.03.09.07.46.58; Sat, 09 Mar 2019 07:47:14 -0800 (PST) Received-SPF: temperror (google.com: error in processing during lookup of linux-kernel-owner@vger.kernel.org: DNS error) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@cs.msu.ru header.s=dkim header.b=xkcLqf66; spf=temperror (google.com: error in processing during lookup of linux-kernel-owner@vger.kernel.org: DNS error) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=cs.msu.ru Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726473AbfCIPnu (ORCPT + 99 others); Sat, 9 Mar 2019 10:43:50 -0500 Received: from imap.cs.msu.ru ([188.44.42.39]:53701 "EHLO mail.cs.msu.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726332AbfCIPnt (ORCPT ); Sat, 9 Mar 2019 10:43:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=cs.msu.ru; s=dkim; h=Subject:Content-Transfer-Encoding:Content-Type:MIME-Version: References:In-Reply-To:Message-Id:Date:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=IxQpZZp1jw2edUZ2FQBV5SphB3EGuIm0nBwjetxFqiE=; b=xkcLqf66sgRq19qkH4J5TGtmMD qwmlTJ7S1UTtIP9tBGEZBy0+/yS9nORnwj6eZ0rH04oeGzFS5157Mio6gZALD7MjJS3ozCo9m95GH hj6tX+BC5vhfjpnMu7Z6Zzzw5yMih9EjWpWFci7Wh7SCEY+VVzidnrCD/nLw1POkc5CZcvHZbMswA IIkJPWSpWGwM6urxat5alvch8ZwmhSk5xGUXHHUOKP7xLn70vACvPviXG7f7gkMXHVwgmTamLtzoI Ui8euR647Yz60WKOk/z5xA5SNnB/1v2HtzsIeons7VUQ6o5+s2/qhMtQGY274VG4tjZeKf4OqmCoj ZfiLdADw==; Received: from [37.204.119.143] (port=44904 helo=localhost.localdomain) by mail.cs.msu.ru with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.91 (FreeBSD)) (envelope-from ) id 1h2e8S-000IDA-Ec; Sat, 09 Mar 2019 18:43:40 +0300 From: Arseny Maslennikov To: Masahiro Yamada , Michal Marek , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Arseny Maslennikov , Ben Hutchings , Riku Voipio Date: Sat, 9 Mar 2019 18:43:06 +0300 Message-Id: <20190309154307.23039-2-ar@cs.msu.ru> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190309154307.23039-1-ar@cs.msu.ru> References: <20190309154307.23039-1-ar@cs.msu.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 37.204.119.143 X-SA-Exim-Mail-From: ar@cs.msu.ru X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.cs.msu.ru X-Spam-Level: X-Spam-Status: No, score=-5.1 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_ALL,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.2 Subject: [PATCH v2 2/3] scripts/package/mkdebian: avoid implicit effects X-SA-Exim-Version: 4.2 X-SA-Exim-Scanned: Yes (on mail.cs.msu.ru) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * 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, “1.0”. The fallback > to “1.0” 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 --- 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 explicitly" 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