From patchwork Thu May 27 05:07:29 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guzowski Adrian X-Patchwork-Id: 1484420 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org (client-ip=140.211.166.137; helo=smtp4.osuosl.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=exatel.pl header.i=@exatel.pl header.a=rsa-sha256 header.s=mail header.b=QSQqTByG; dkim-atps=neutral Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FrG684JHxz9sT6 for ; Thu, 27 May 2021 15:07:42 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 6C111405D9; Thu, 27 May 2021 05:07:39 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mgMQt-SH1ECO; Thu, 27 May 2021 05:07:38 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by smtp4.osuosl.org (Postfix) with ESMTP id 49664404E6; Thu, 27 May 2021 05:07:37 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 24EE7C000E; Thu, 27 May 2021 05:07:37 +0000 (UTC) X-Original-To: ovs-dev@openvswitch.org Delivered-To: ovs-dev@lists.linuxfoundation.org Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by lists.linuxfoundation.org (Postfix) with ESMTP id E279EC0001 for ; Thu, 27 May 2021 05:07:35 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id BB85C401FF for ; Thu, 27 May 2021 05:07:35 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp2.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=exatel.pl Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ahSRb4zf7nGB for ; Thu, 27 May 2021 05:07:34 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0 Received: from seg-perk.exatel.pl (seg-perk.exatel.pl [195.136.20.206]) by smtp2.osuosl.org (Postfix) with ESMTPS id 47B6E400F2 for ; Thu, 27 May 2021 05:07:34 +0000 (UTC) Received: from slpapp023.ad.exatel.pl (unknown [192.168.95.23]) by seg-perk.exatel.pl (MTA) with ESMTP id 4FrG5s6Y7sz2pGm for ; Thu, 27 May 2021 07:07:29 +0200 (CEST) Received: from SWPAPP2002.ad.exatel.pl (unknown [192.168.95.184]) by slpapp023.ad.exatel.pl (Postfix) with ESMTP id CCA6040575E for ; Thu, 27 May 2021 07:07:29 +0200 (CEST) Received: from SWPAPP2001.ad.exatel.pl (192.168.95.183) by SWPAPP2002.ad.exatel.pl (192.168.95.184) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.14; Thu, 27 May 2021 07:07:29 +0200 Received: from SWPAPP2001.ad.exatel.pl ([fe80::f04c:4a57:7d08:48ff]) by SWPAPP2001.ad.exatel.pl ([fe80::f04c:4a57:7d08:48ff%5]) with mapi id 15.01.2176.014; Thu, 27 May 2021 07:07:29 +0200 To: "ovs-dev@openvswitch.org" Thread-Topic: [PATCH v4] Don't mangle shebangs when building DKMS RPM package Thread-Index: AQHXUrYxHT3aDBTY30mJeM5fuxFeqg== Date: Thu, 27 May 2021 05:07:29 +0000 Message-ID: Accept-Language: pl-PL, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [192.168.157.31] x-c2processedorg: c1cbd27c-e2bd-4ee0-b00a-619935df9462 Content-ID: X-Content-Scanned: Fidelis Mail MIME-Version: 1.0 x-msw-jemd-newsletter: false DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=exatel.pl; s=mail; t=1622092050; bh=T6FqvkS577fq+TJwEouFqPJ6PcQ82e5Iy+98HH9U6oE=; h=From:To:Subject:Thread-Topic:Thread-Index:Date:Message-ID: Accept-Language:Content-Language:Content-Type:Content-ID: Content-Transfer-Encoding:MIME-Version; b=QSQqTByG2SfRD1gupyA4KWwgC0hMqC/LmlBjizQXc5Hp5j/kouyj2QMzexkCgKLxf 41WYoQtZx9k9i9q+tL/EIJwOGFl1RH6WPwOnNYgnw6aStAw5r4dcJ7B7iwNcTF0g67 4CQaHAifFpTeUqpZyL2zOKO0KUhviJm7196cIpGGJ4MMwp2QaEVwCjULMhqlKWQkmG Ajnk1BIq5GNqE4ySFlO2IFTZmHfIss7I22bmZWyDoeVAIUQyeY16W6DkH56GjTQYKq 8Zzqjs6AVqWcKIskAy5FQ/heLqxqC1nINqUQOtOgzH2kIpOeQQhrgpelBoxR6Hu5oG 0XrEvLwbOnWPQ== Subject: [ovs-dev] [PATCH v4] Don't mangle shebangs when building DKMS RPM package X-BeenThere: ovs-dev@openvswitch.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Guzowski Adrian via dev From: Guzowski Adrian Reply-To: Guzowski Adrian Errors-To: ovs-dev-bounces@openvswitch.org Sender: "dev" While building the package, some .in files are being subject to shebang substitution, but the process fails, because given scripts have placeholders in place of shebangs. In order to fix the issue, don't mangle shebangs in this specific package. Signed-off-by: Guzowski Adrian --- rhel/openvswitch-dkms.spec.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rhel/openvswitch-dkms.spec.in b/rhel/openvswitch-dkms.spec.in index a47c038fd..5a57e4d48 100644 --- a/rhel/openvswitch-dkms.spec.in +++ b/rhel/openvswitch-dkms.spec.in @@ -27,6 +27,8 @@ BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) # conflicts with the openvswitch-debuginfo package for OVS userspace). %undefine _enable_debug_packages +# Disable shebangs mangling +%undefine __brp_mangle_shebangs %description Open vSwitch Linux kernel module.