From patchwork Tue Jan 24 09:45:41 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Riku Voipio X-Patchwork-Id: 9534685 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id ACAEE60434 for ; Tue, 24 Jan 2017 09:45:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A082426AE3 for ; Tue, 24 Jan 2017 09:45:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9369426B41; Tue, 24 Jan 2017 09:45:53 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AAB6326AE3 for ; Tue, 24 Jan 2017 09:45:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750734AbdAXJpw (ORCPT ); Tue, 24 Jan 2017 04:45:52 -0500 Received: from mail-lf0-f48.google.com ([209.85.215.48]:35626 "EHLO mail-lf0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750733AbdAXJpv (ORCPT ); Tue, 24 Jan 2017 04:45:51 -0500 Received: by mail-lf0-f48.google.com with SMTP id n124so107456362lfd.2 for ; Tue, 24 Jan 2017 01:45:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=xUF2IvKQWNsc+aG44xojkZfAK5h2snm0ir5s0HCg92Y=; b=SotTmbaIv8MHlpMGSD6baOIUYmXLvfF3ES3jmKsUh4hBkZvTpij/78pogx1c6ivvnw n1xTXzwT0qqLHWfOl0wJSr1LG+EJYPVOHyBlaAqMigl913khnYzE4xYxjV8s9FC2Cihu LBtFYJMbMea/usSaFMlB0yKGF9Pa57OpNnybA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=xUF2IvKQWNsc+aG44xojkZfAK5h2snm0ir5s0HCg92Y=; b=nV9l3+aEdbpvw6V1W2aNIIJTL29lGWSh6URiau+dw+BfZJ8jOwRer0yp06eiXFbgSk 2RCcGSsdNUkedFAIKiP0sC2DWxubSrvGKRn1QXI+7WcGDAQlfxILNYoJnDJN0tVjAalM lBe6sxtZtWKCNschOfDt+9Lnml2EPCCgpFkoxnguKiczev1KQOWgV7GzdirQdJ0Rk48F 4pZMAUNTxtmgDz9JM/DQEd1X1f5YHOlzYjbDKsOsK/KgeMtxqFeIpfHLpgh4wv2ILl3U L/VXlVviYqMafHuoBgwMuffrJC9AvUM5bRqWk6xqxtRpGxsPyV3cjC4NVUtK751vHQQ0 j/WA== X-Gm-Message-State: AIkVDXJ+WU2s8As7lWOIVepFCoDuw1AMDK4esKm2XVTeSkXFy4xhWWKS7S9N9ZTX920Mn1dM X-Received: by 10.25.211.7 with SMTP id k7mr10639476lfg.62.1485251149850; Tue, 24 Jan 2017 01:45:49 -0800 (PST) Received: from localhost.localdomain (91-157-170-157.elisa-laajakaista.fi. [91.157.170.157]) by smtp.gmail.com with ESMTPSA id 87sm7214018lft.27.2017.01.24.01.45.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Jan 2017 01:45:48 -0800 (PST) From: riku.voipio@linaro.org To: linux-kbuild@vger.kernel.org, mmarek@suse.cz Cc: debian-kernel@lists.debian.org, Riku Voipio , Timo Sigurdsson , Ben Hutchings Subject: [PATCH v3 1/3] builddeb: Update a few outdated and hardcoded strings Date: Tue, 24 Jan 2017 11:45:41 +0200 Message-Id: <20170124094541.28361-1-riku.voipio@linaro.org> X-Mailer: git-send-email 2.11.0 Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Riku Voipio The builddeb script has some hardcoded references to Linux version 2.6 which is ancient. Drop Provides as the virtual packages provided are not useful anymore. Leave the Provides for linux-kernel-headers, as someone might still be referring to it. While at it, updated copyright date and drop Standards-Version field. Cc: Timo Sigurdsson Cc: Ben Hutchings Signed-off-by: Riku Voipio --- v3: Drop Standards-Version instead of updating it. --- scripts/package/builddeb | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/scripts/package/builddeb b/scripts/package/builddeb index 3c575cd07888..6075392616de 100755 --- a/scripts/package/builddeb +++ b/scripts/package/builddeb @@ -265,7 +265,7 @@ This is a packacked upstream version of the Linux kernel. The sources may be found at most Linux ftp sites, including: ftp://ftp.kernel.org/pub/linux/kernel -Copyright: 1991 - 2015 Linus Torvalds and others. +Copyright: 1991 - 2017 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 @@ -288,7 +288,6 @@ Section: kernel Priority: optional Maintainer: $maintainer Build-Depends: $build_depends -Standards-Version: 3.8.4 Homepage: http://www.kernel.org/ EOF @@ -296,7 +295,6 @@ if [ "$ARCH" = "um" ]; then cat <> debian/control Package: $packagename -Provides: linux-image, linux-image-2.6, linux-modules-$version Architecture: any Description: User Mode Linux kernel, version $version User-mode Linux is a port of the Linux kernel to its own system call @@ -313,7 +311,6 @@ else cat <> debian/control Package: $packagename -Provides: linux-image, linux-image-2.6, linux-modules-$version Suggests: $fwpackagename Architecture: any Description: Linux kernel, version $version @@ -346,7 +343,6 @@ rm -f "$objtree/debian/hdrsrcfiles" "$objtree/debian/hdrobjfiles" cat <> debian/control Package: $kernel_headers_packagename -Provides: linux-headers, linux-headers-2.6 Architecture: any Description: Linux kernel headers for $KERNELRELEASE on \${kernel:debarch} This package provides kernel header files for $KERNELRELEASE on \${kernel:debarch} @@ -404,7 +400,6 @@ if [ -n "$BUILD_DEBUG" ] ; then Package: $dbg_packagename Section: debug -Provides: linux-debug, linux-debug-$version Architecture: any Description: Linux kernel debugging symbols for $version This package will come in handy if you need to debug the kernel. It provides