From patchwork Thu Jul 14 21:23:27 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gregory Rose X-Patchwork-Id: 1656660 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=hhukApzp; dkim-atps=neutral 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=) 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 (2048 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4LkSCx2tYTz9s09 for ; Fri, 15 Jul 2022 07:23:57 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 451AF42737; Thu, 14 Jul 2022 21:23:54 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 451AF42737 Authentication-Results: smtp4.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=hhukApzp 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 aZe1PxNwNqOx; Thu, 14 Jul 2022 21:23:48 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by smtp4.osuosl.org (Postfix) with ESMTPS id 20EAC426C5; Thu, 14 Jul 2022 21:23:46 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 20EAC426C5 Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id C138EC007F; Thu, 14 Jul 2022 21:23:44 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@lists.linuxfoundation.org Received: from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138]) by lists.linuxfoundation.org (Postfix) with ESMTP id 0D6D2C0082 for ; Thu, 14 Jul 2022 21:23:41 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id CD11384B95 for ; Thu, 14 Jul 2022 21:23:40 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org CD11384B95 Authentication-Results: smtp1.osuosl.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=hhukApzp X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9dZa7SKECiva for ; Thu, 14 Jul 2022 21:23:38 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 79B7D84B89 Received: from mail-qt1-x830.google.com (mail-qt1-x830.google.com [IPv6:2607:f8b0:4864:20::830]) by smtp1.osuosl.org (Postfix) with ESMTPS id 79B7D84B89 for ; Thu, 14 Jul 2022 21:23:38 +0000 (UTC) Received: by mail-qt1-x830.google.com with SMTP id w29so1770013qtv.9 for ; Thu, 14 Jul 2022 14:23:38 -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=hhukApzpSXQZiEQ2ws8U/rysMmuX0qIqczna1jijK6zZYyGYcWxK8cMlMc21bMzejI dHV4uGZBCRTjp4YUuhbBktNg1KtfmGpaLZxBmiwVllR3hvnxzw6CQVPWuAe8pOCeCI0W aWb2wiyf4TIckklXkqBt/dmzyTF6MEzU3gFmDjnsRxQItWmumCY0qEM94V6ck82slUTw g1KomOoEOYIiQTuDBYH8ILkG1694vTqU0Pz1aMCpMvZDDFKC33YFDHH9g/zmXf8SD3Wt yZKdlbX+iIj7OH7lDraj1vyQugtWbQzQaTTcEcjOJ3qLpaRSsaAMMNG7IRI1ZuKl03pd dKxg== 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=O9XaGrMETQGG7lPNtj8VZqKRwvc7HkeAoyPJ+cr/6MFvTOa5s0GMtyosXCETcM42nk CGvls+OGrl0gQBbSXMsu4FMluVFeEyQjQhblXEPotsBs6qdosSmwtBZVBzLCIBMOjhPT b35k5BTe4/mFv461xkeom43YAJiq5snuFjQkKS9pvahc/VMeiOVL24BRxOJtzkj28OuD wZOOIIEIAMZ44dPuzYvtTCYtkmsPy6htOxt83MbDO9rX+IOzjrj2GeTcnQA1vHxnFjXl RIXwqSuuGFPj7eCdQB6gq6H4lQBYCedSuGOAhbBH1zTwoDBbtZ3sQ+KDY1qfLjOiNeoI mEgQ== X-Gm-Message-State: AJIora8NJ9VoSqFXkjF9IpLL3O3CEK62Tjbnofo7sEvdzcs1hpTaKFJR zlzKZHiV52SzU03OH/yTLxW1939HOcU= X-Google-Smtp-Source: AGRyM1vRA5weK0mU75FhfwmIM6s4E8lLqlPRs6xg3zbT/cG4opGK4I/LzWt5SbYMAXrfnRyvgsDnMQ== X-Received: by 2002:ac8:5c8e:0:b0:31e:da97:f379 with SMTP id r14-20020ac85c8e000000b0031eda97f379mr331255qta.26.1657833816926; Thu, 14 Jul 2022 14:23:36 -0700 (PDT) Received: from VMware-box.domain ([97.115.145.232]) by smtp.googlemail.com with ESMTPSA id z12-20020ac87f8c000000b0031bf5677d96sm2374945qtj.84.2022.07.14.14.23.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Jul 2022 14:23:36 -0700 (PDT) From: Greg Rose To: dev@openvswitch.org Date: Thu, 14 Jul 2022 14:23:27 -0700 Message-Id: <20220714212331.24848-3-gvrose8192@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220714212331.24848-1-gvrose8192@gmail.com> References: <20220714212331.24848-1-gvrose8192@gmail.com> Subject: [ovs-dev] [PATCH V6 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 = <