Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp773055rdb; Fri, 22 Dec 2023 04:53:23 -0800 (PST) X-Google-Smtp-Source: AGHT+IHz9x1zb2tzIeEX1GIbVI+dSurxl3/Rgs8MgIKIL2I8lg+Q4Cee2+6INhQnH61d8zEP3VRJ X-Received: by 2002:a05:6870:1494:b0:1fa:e819:af8f with SMTP id k20-20020a056870149400b001fae819af8fmr1518556oab.27.1703249603024; Fri, 22 Dec 2023 04:53:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703249602; cv=none; d=google.com; s=arc-20160816; b=uXmfzduL/HcbnuKoTq+hBp0ceEfwaY8KIHwymybOxHk2y2k0qWVuUwiG3yIg4f59H0 MfXKlXrXBkOnz8nINgMWJEeWrZhG3En251tRhXj2jez2aKpUihaFOudWqS3C48bl/tID IVxcpPbV2dCZoiGoGWvIU9KNGga5nccY8CMgvXDmOiCubjFi20biW5Oh0RnCTnHOSzr9 03PFzDQlI3dQ3orfMtJEd1cI0/Ypi5f8EVI2wNvNvuABcK34orGzcVgiN8lxcLH9ayPW IKS3ZJkj4NAgP1Md4DVKfVpMtp0eUQ7vJk4j/ycelwVSf4WqsfnqsHC9OCtR3gsqhdKO 0f4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=organization:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :mail-followup-to:message-id:subject:cc:to:from:date:dkim-signature; bh=pkJTffHJ4lgMvXiL5liT4ECB4oT/MGE3aCEki0S6i+s=; fh=f0A9nhGK9owKAvfuKSRYno7NswmG9iY69dN8ddydz6c=; b=bfgdai0f2fF6wPnZEni74FlQ3cKJdVzkCTaz9y4igMZrnaErQWxXNHXLc8iAQuCU7G SccFWSt7gKuHGsQebcpMWtti96Jn9z63eL/egivcc17kw4TrxShRPAzur9d3BT2n/5DD qUUuy245s7GHtrE+by0cCoNA0d/lrxKOxTzI+dLFTnl0ZT+cUpTOmwZPcIj+LkjjrrgF Wjk48FDqAH5muZZprkJ7SUDzD03De5ARUONHXIueHgHDNnvePPdj8Dd8cQ9ewCkU1YPZ ZVQyXZjUAmYL675V0XTHfoo6o57iFaExKnPM9Hs7x/YK4zYV6XQ54kuX1SUcKcq/kS3m lwtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@avm.de header.s=mail header.b=wFebiXkN; spf=pass (google.com: domain of linux-kernel+bounces-9728-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9728-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=avm.de Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id f23-20020a635557000000b005c65e697bc4si3166362pgm.550.2023.12.22.04.53.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Dec 2023 04:53:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-9728-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@avm.de header.s=mail header.b=wFebiXkN; spf=pass (google.com: domain of linux-kernel+bounces-9728-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9728-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=avm.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 60EE2B22188 for ; Fri, 22 Dec 2023 12:52:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 759551864D; Fri, 22 Dec 2023 12:52:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=avm.de header.i=@avm.de header.b="wFebiXkN" X-Original-To: linux-kernel@vger.kernel.org Received: from mail.avm.de (mail.avm.de [212.42.244.119]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 22A301A58A; Fri, 22 Dec 2023 12:52:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=avm.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=avm.de Received: from mail-auth.avm.de (unknown [IPv6:2001:bf0:244:244::71]) by mail.avm.de (Postfix) with ESMTPS; Fri, 22 Dec 2023 13:52:16 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=avm.de; s=mail; t=1703249536; bh=YIMXG/DxHkwVA+7xM1G0QeOvCKff0MazCGRcIMJGpXo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=wFebiXkNwgDr3z9Pc/XI7+lvYRKHb6G/jPqqhFTX/zDQrKqE1fXtKYkbLF6MbU1D/ wdXYnvcossQriALIZEgA8nKogjXhUILQV9UgLSVOC0GFBFObUrQMFFd0/FniLen6ag dKXBGDovQa1oeKe6F5UfHdIWWfgnFDA6xEEtdUaw= Received: from buildd.core.avm.de (buildd-sv-01.avm.de [172.16.0.225]) by mail-auth.avm.de (Postfix) with ESMTPA id 51BE080530; Fri, 22 Dec 2023 13:52:16 +0100 (CET) Received: by buildd.core.avm.de (Postfix, from userid 1000) id 44827180D04; Fri, 22 Dec 2023 13:52:16 +0100 (CET) Date: Fri, 22 Dec 2023 13:52:13 +0100 From: Nicolas Schier To: Masahiro Yamada Cc: linux-kbuild@vger.kernel.org, Ben Hutchings , Nathan Chancellor , Nick Desaulniers , linux-kernel@vger.kernel.org Subject: Re: [PATCH] kbuild: deb-pkg: split debian/copyright Message-ID: Mail-Followup-To: Masahiro Yamada , linux-kbuild@vger.kernel.org, Ben Hutchings , Nathan Chancellor , Nick Desaulniers , linux-kernel@vger.kernel.org References: <20231219154049.1095323-1-masahiroy@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="AV4v1089STg1Gpva" Content-Disposition: inline In-Reply-To: <20231219154049.1095323-1-masahiroy@kernel.org> Organization: AVM GmbH X-purgate-ID: 149429::1703249536-E955C5FF-6427EEE6/0/0 X-purgate-type: clean X-purgate-size: 4656 X-purgate-Ad: Categorized by eleven eXpurgate (R) http://www.eleven.de X-purgate: This mail is considered clean (visit http://www.eleven.de for further information) X-purgate: clean --AV4v1089STg1Gpva Content-Type: text/plain; protected-headers=v1; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Date: Fri, 22 Dec 2023 13:52:13 +0100 From: Nicolas Schier To: Masahiro Yamada Cc: linux-kbuild@vger.kernel.org, Ben Hutchings , Nathan Chancellor , Nick Desaulniers , linux-kernel@vger.kernel.org Subject: Re: [PATCH] kbuild: deb-pkg: split debian/copyright On Wed, Dec 20, 2023 at 12:40:49AM +0900, Masahiro Yamada wrote: > Copy debian/copyright instead of generating it by the 'cat' command. >=20 > Signed-off-by: Masahiro Yamada > --- > Subject: Re: [PATCH] kbuild: deb-pkg: split debian/copyright With 'split' in the patch summary I had expected something different; but cp instead of cat seems quite reasonable. Reviewed-by: Nicolas Schier >=20 > scripts/package/debian/copyright | 16 ++++++++++++++++ > scripts/package/mkdebian | 21 +-------------------- > 2 files changed, 17 insertions(+), 20 deletions(-) > create mode 100644 scripts/package/debian/copyright >=20 > diff --git a/scripts/package/debian/copyright b/scripts/package/debian/co= pyright > new file mode 100644 > index 000000000000..388a204b0b2b > --- /dev/null > +++ b/scripts/package/debian/copyright > @@ -0,0 +1,16 @@ > +This is a packaged upstream version of the Linux kernel. > + > +The sources may be found at most Linux archive sites, including: > +https://www.kernel.org/pub/linux/kernel > + > +Copyright: 1991 - 2018 Linus Torvalds and others. > + > +The git repository for mainline kernel development is at: > +git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > + > + This program is free software; you can redistribute it and/or modify > + it under the terms of the GNU General Public License as published by > + the Free Software Foundation; version 2 dated June, 1991. > + > +On Debian GNU/Linux systems, the complete text of the GNU General Public > +License version 2 can be found in `/usr/share/common-licenses/GPL-2'. > diff --git a/scripts/package/mkdebian b/scripts/package/mkdebian > index c1a36da85e84..91f0e09600b1 100755 > --- a/scripts/package/mkdebian > +++ b/scripts/package/mkdebian > @@ -188,26 +188,6 @@ $sourcename ($packageversion) $distribution; urgency= =3Dlow > -- $maintainer $(date -R) > EOF > =20 > -# Generate copyright file > -cat < debian/copyright > -This is a packaged upstream version of the Linux kernel. > - > -The sources may be found at most Linux archive sites, including: > -https://www.kernel.org/pub/linux/kernel > - > -Copyright: 1991 - 2018 Linus Torvalds and others. > - > -The git repository for mainline kernel development is at: > -git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > - > - This program is free software; you can redistribute it and/or modify > - it under the terms of the GNU General Public License as published by > - the Free Software Foundation; version 2 dated June, 1991. > - > -On Debian GNU/Linux systems, the complete text of the GNU General Public > -License version 2 can be found in \`/usr/share/common-licenses/GPL-2'. > -EOF > - > # Generate a control file > cat < debian/control > Source: $sourcename > @@ -268,6 +248,7 @@ ARCH :=3D ${ARCH} > KERNELRELEASE :=3D ${KERNELRELEASE} > EOF > =20 > +cp "${srctree}/scripts/package/debian/copyright" debian/ > cp "${srctree}/scripts/package/debian/rules" debian/ > =20 > exit 0 > --=20 > 2.40.1 >=20 --AV4v1089STg1Gpva Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEDv+Fiet06YHnC6RpiMa8nIiabbgFAmWFhn0ACgkQiMa8nIia bbgvrxAAlvytjl9RiaAEPfgwtdCr6X+6cs7sZeyUySjG4gdoiUHedh/gcoQftGqH Rwkr/V1CXCetpgwgzYLWdfE+IHTLjiI9MBIOf7KqZX+M8RTYj2D13bhb5ncV75yd ruvwlMg9emWAk8n7BDosdVrppBETw77QQ264GuEDYex1txaJq02t7ZuHHH5Hg+L8 y9OiukBmiOBmY5ZvOITq9AXtq/aRuQ3KZhdyYoivuj1TqngeRtvkVhMzZl/ww+5t QW5imJkEQb4XXQn05JRUNLcSS682V/rtLkx2Pvas2mNgNyiFq01LCSHInQuT+Zk4 ptkRL9JE1FgtX9Ew8ZaE/65FySa7dDlW/zZJNl6WFKbrMXOJCa1SJ0ciGkGghWjv fBRGbarWn7pVVEDIU1jNttTOdSbKInwp0uX0tm+N1BSkPHEGRbcfb/MgZeTGVs80 gSZiPv6E1Nd2ZfaNHs/syMbe9lhBLL6PSWwgCPFVYqTLuNRsT14rcYtfVk4N2BqU iXoDd2sYOmqsZn3h8ssQyHNYykCf+l5kkz/cdmxt3+WyQWhbZ3dYEbQLBdLcVfT+ d7dZDKCg6thGu7N/1iC9J9EipDEHIute6VC2wFFLO91zjqgJYdryY6L54ufg7WvD Q4Dfk2iDpvYYnfgQPsnZ5pbaSa12MIfw4o8eUynBh8G2ndf7UcE= =77rk -----END PGP SIGNATURE----- --AV4v1089STg1Gpva--