From patchwork Wed Jul 13 22:36:38 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gregory Rose X-Patchwork-Id: 1656178 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=cIrXpdCO; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org (client-ip=2605:bc80:3010::136; helo=smtp3.osuosl.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=) Received: from smtp3.osuosl.org (smtp3.osuosl.org [IPv6:2605:bc80:3010::136]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4Ljstr3t7Lz9sFs for ; Thu, 14 Jul 2022 08:37:08 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id ADDCE61387; Wed, 13 Jul 2022 22:37:05 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org ADDCE61387 Authentication-Results: smtp3.osuosl.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=cIrXpdCO X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SKlNSYfPSWOB; Wed, 13 Jul 2022 22:37:02 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [IPv6:2605:bc80:3010:104::8cd3:938]) by smtp3.osuosl.org (Postfix) with ESMTPS id 388CF6142E; Wed, 13 Jul 2022 22:37:01 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 388CF6142E Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id B03F0C0071; Wed, 13 Jul 2022 22:37:00 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@lists.linuxfoundation.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by lists.linuxfoundation.org (Postfix) with ESMTP id 2600BC0035 for ; Wed, 13 Jul 2022 22:36:56 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id DE631424B5 for ; Wed, 13 Jul 2022 22:36:55 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org DE631424B5 Authentication-Results: smtp4.osuosl.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=cIrXpdCO 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 y1UjJjWwd-Ti for ; Wed, 13 Jul 2022 22:36:53 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 496884248B Received: from mail-pj1-x1032.google.com (mail-pj1-x1032.google.com [IPv6:2607:f8b0:4864:20::1032]) by smtp4.osuosl.org (Postfix) with ESMTPS id 496884248B for ; Wed, 13 Jul 2022 22:36:53 +0000 (UTC) Received: by mail-pj1-x1032.google.com with SMTP id o15so462575pjh.1 for ; Wed, 13 Jul 2022 15:36:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ICzwp4u4sfN/qRDtVUhy0OXlfwvMqy9unaJhErNz4RE=; b=cIrXpdCONlrroD9mbn6WhQtG5GRL3qG8tQdcwrQIcNjTFAw72eP00V7GuAVGoJgDSr /X6X1GuZORVmznSB2CRdKf0QiKaO3fjxGkXDSnsYnLphgz4ITdmOmyeCWovgwWZtUXUp 7P/xJXAqNHnuGrL2eeUi8iy8cNHBITXlKa8y0I6IPcXMDAnv4nrsJ5+99KnZtWGNA0rG p45XtCKehKIBqD5NTono1u1gdYyAT3f5NGW+0XdM0UZnnnt3fXuJCiUGRY+4P59BV/+f rFK+XMrwGql7Jl4J7/+t/JFhGGhEj53LDNx3E6RjZ731cW2n0rJ4Niimtwmh65QzvwnZ cU4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=ICzwp4u4sfN/qRDtVUhy0OXlfwvMqy9unaJhErNz4RE=; b=pswhTGmpriludJBx3OhfbtCW9rb7x3EmJbV4pVQRDbJNJ1H/09nl+lqf7Lbax1Eyvm LjmGcerCOi0hAnD+Kb+rzWV3OZreDNR6u36QZh7+wAVsAF838a5LXOxu3jCRcSqjVWN8 ePMJafUA0eABXWus0+PlWmurNozICeb/UDngkhdA8QC9keH/qQGY53fT1dSp/zf6q8X3 QC0mVXWbN+tZGz2w76FnCqb2AmuO6NIUOFYydfuJ2j0vt4LgNRdY8jmUmP+eMmhaRdQG dw0I7ERe4QwbETiMoHHhgNBkw4JkekoqVRU1kEx+qhp1msNVdenJT8iZPZ7JK0EtGqd2 KlFQ== X-Gm-Message-State: AJIora+qDuFaqIRSUHQtrB3cuWK+Lgk8H7WSamkrTIxMRx6sMGDXsGFw Lyigy+FnxfY8zFi66LGvJ6odCCOFm2M= X-Google-Smtp-Source: AGRyM1vY1rcwIRCxArnmvkRBY80sTh8w+dud2yigoBXwTApDEx+x3aOeDeCRfUZrqavPlkeb9lE29w== X-Received: by 2002:a17:902:d4c2:b0:16b:ffc5:9705 with SMTP id o2-20020a170902d4c200b0016bffc59705mr5215717plg.142.1657751812096; Wed, 13 Jul 2022 15:36:52 -0700 (PDT) Received: from VMware-box.domain ([97.115.145.232]) by smtp.googlemail.com with ESMTPSA id a28-20020aa795bc000000b00528c8ed356dsm52907pfk.96.2022.07.13.15.36.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jul 2022 15:36:51 -0700 (PDT) From: Greg Rose To: dev@openvswitch.org Date: Wed, 13 Jul 2022 15:36:38 -0700 Message-Id: <20220713223642.10767-3-gvrose8192@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220713223642.10767-1-gvrose8192@gmail.com> References: <20220713223642.10767-1-gvrose8192@gmail.com> Subject: [ovs-dev] [PATCH V5 2/6] rhel: Stop packaging OVS kernel module. 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: , MIME-Version: 1.0 Errors-To: ovs-dev-bounces@openvswitch.org Sender: "dev" Remove the kernel driver specification for RHEL 6.x, 7.x, 8.x and Fedora. Reviewed-by: David Marchand Signed-off-by: Greg Rose --- Documentation/intro/install/rhel.rst | 18 -- Vagrantfile | 12 +- poc/playbook-centos-builder.yml | 8 - poc/playbook-fedora-builder.yml | 16 -- rhel/.gitignore | 4 - rhel/automake.mk | 23 -- rhel/kmod-openvswitch-rhel6.spec.in | 123 --------- rhel/openvswitch-dkms.spec.in | 103 -------- rhel/openvswitch-fedora.spec.in | 5 +- rhel/openvswitch-kmod-fedora.spec.in | 152 ----------- rhel/openvswitch.spec.in | 4 +- ...are_openvswitch_scripts_ovs-kmod-manage.sh | 237 ------------------ 12 files changed, 3 insertions(+), 702 deletions(-) delete mode 100644 rhel/kmod-openvswitch-rhel6.spec.in delete mode 100644 rhel/openvswitch-dkms.spec.in delete mode 100644 rhel/openvswitch-kmod-fedora.spec.in delete mode 100644 rhel/usr_share_openvswitch_scripts_ovs-kmod-manage.sh diff --git a/Documentation/intro/install/rhel.rst b/Documentation/intro/install/rhel.rst index b21b274b7..d1fc42021 100644 --- a/Documentation/intro/install/rhel.rst +++ b/Documentation/intro/install/rhel.rst @@ -194,24 +194,6 @@ the unit tests, run:: /lib/modules/2.6.32-279.el6.x86_64/build doesn't exist`` or similar, then the kernel-devel package is missing or buggy. -Kernel Module -~~~~~~~~~~~~~ - -On RHEL 6, to build the Open vSwitch kernel module run:: - - $ rpmbuild -bb rhel/kmod-openvswitch-rhel6.spec - -You might have to specify a kernel version and/or variants, e.g.:: - - $ rpmbuild -bb \ - -D "kversion 2.6.32-131.6.1.el6.x86_64" \ - -D "kflavors default debug kdump" \ - rhel/kmod-openvswitch-rhel6.spec - -This produces an "kmod-openvswitch" RPM for each kernel variant, in this -example: "kmod-openvswitch", "kmod-openvswitch-debug", and -"kmod-openvswitch-kdump". - .. _rhel-script-integrations: Red Hat Network Scripts Integration diff --git a/Vagrantfile b/Vagrantfile index 2cd603932..cdca0cf71 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -54,7 +54,7 @@ cd /vagrant [ -f Makefile ] && ./configure && make distclean mkdir -p ~/build cd ~/build -/vagrant/configure --with-linux=/lib/modules/`uname -r`/build --enable-silent-rules +/vagrant/configure --enable-silent-rules SCRIPT $build_ovs = <