From patchwork Fri Jul 8 20:03:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gregory Rose X-Patchwork-Id: 1654382 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=P/tSigNw; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org (client-ip=2605:bc80:3010::133; helo=smtp2.osuosl.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=) Received: from smtp2.osuosl.org (smtp2.osuosl.org [IPv6:2605:bc80:3010::133]) (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 4Lfkkd6rRvz9s09 for ; Sat, 9 Jul 2022 06:04:09 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id DDE3041673; Fri, 8 Jul 2022 20:04:06 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org DDE3041673 Authentication-Results: smtp2.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=P/tSigNw X-Virus-Scanned: amavisd-new at osuosl.org 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 HYZcI4IVgov7; Fri, 8 Jul 2022 20:04:00 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by smtp2.osuosl.org (Postfix) with ESMTPS id B9CD04166D; Fri, 8 Jul 2022 20:03:58 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org B9CD04166D Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 169D3C0077; Fri, 8 Jul 2022 20:03:56 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@lists.linuxfoundation.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by lists.linuxfoundation.org (Postfix) with ESMTP id B1E66C0082 for ; Fri, 8 Jul 2022 20:03:52 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 7D22B60B85 for ; Fri, 8 Jul 2022 20:03:51 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 7D22B60B85 Authentication-Results: smtp3.osuosl.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=P/tSigNw 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 DJpigbMp8PeB for ; Fri, 8 Jul 2022 20:03:49 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org A454D60B1B Received: from mail-pg1-x531.google.com (mail-pg1-x531.google.com [IPv6:2607:f8b0:4864:20::531]) by smtp3.osuosl.org (Postfix) with ESMTPS id A454D60B1B for ; Fri, 8 Jul 2022 20:03:49 +0000 (UTC) Received: by mail-pg1-x531.google.com with SMTP id s27so23171197pga.13 for ; Fri, 08 Jul 2022 13:03:49 -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=l9INL1K/S7bxTDkieL0wLjsUzP1iyl4Fn0jOa/Kn4Go=; b=P/tSigNwICAJJdW0KRJ1IZzqeHC1JfrTY71xPYb/nwJOr0GLV343xUGtu5SVkxFm68 3WJUE5amiXGxhmt3HnQZ7/r/6/e5UAuGczi0ql3xPYqsRoq4bBGUu3BOmVb2uZAEGgsq PsupFRSpXIhxLkIrrU/BWw4WhfPDagvrj+ZJPnngY8wYuk3bCTm8aotVEX+4mQzZlpzN 5DfpLxutqXeuoRBuPeiq8w33dWlMT0ZQ5H4NqK5Fl3DqiEY2YQGIIFvSRLmwb3+gfp9p hLwIliI33nBYbhveDkDbW+Q5U1aJIB4tuQiK/Eo+SLoFo2dYAMdJtX4riC7igDdveak7 6Wfg== 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=l9INL1K/S7bxTDkieL0wLjsUzP1iyl4Fn0jOa/Kn4Go=; b=f2wrBwPNxwz+b/4DeJPt/K2nGRuVIXJ88qpAnE0wMy1+iYnwNxqH6Kl031fU1fEmoS LIRMiWCmlOVNIDc+h0qcM05zVq4jNz7m8KTXzxP9LvJMSz2NgcYmhbTpxNe79ufdwdvF VHyF79ky7MAIYIwQVRJVtugdQk7fllBo7AurxtCsOjhBP7GfMC1A+UfCgoVCxiE8Nm0h de0LaZ9FD8nezauLC5oLROP6QZ0+v5KaIST3tvdXKkvMWxUmTCTVpcLTWsdgGrR+8hH5 mtlIAkbOWbg4Swm91Eo5ddS4GgW9ajmdXnYVBdBywT2IYKgz4vtB6nj5bE6WQHk9Hcrn Mb9g== X-Gm-Message-State: AJIora9X1XK3BAr5B1XehwViXstA+tMK0J0zSdmweM5MIsLWkAiSBAXU 2FTn/ykJ5ikcAWeBGoK2G/JAk10nEzM= X-Google-Smtp-Source: AGRyM1snAm3J2KefneqvxYdsiZu7Cu8DbmRGAgu0RtvLo0mlSdtleBgbu1urWY/meE0Cnv7V7ByPxg== X-Received: by 2002:a63:5810:0:b0:40d:77fb:1c25 with SMTP id m16-20020a635810000000b0040d77fb1c25mr4714074pgb.570.1657310628696; Fri, 08 Jul 2022 13:03:48 -0700 (PDT) Received: from VMware-box.domain ([97.115.145.232]) by smtp.googlemail.com with ESMTPSA id q17-20020a656851000000b003fdc16f5de2sm28311085pgt.15.2022.07.08.13.03.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Jul 2022 13:03:48 -0700 (PDT) From: Greg Rose To: dev@openvswitch.org Date: Fri, 8 Jul 2022 13:03:35 -0700 Message-Id: <20220708200340.13053-3-gvrose8192@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220708200340.13053-1-gvrose8192@gmail.com> References: <20220708200340.13053-1-gvrose8192@gmail.com> Subject: [ovs-dev] [PATCH V3 2/7] rhel: Remove kernel mode spec 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. Signed-off-by: Greg Rose --- Documentation/intro/install/rhel.rst | 18 ---- Vagrantfile | 9 +- poc/playbook-centos-builder.yml | 8 -- poc/playbook-fedora-builder.yml | 13 --- rhel/.gitignore | 4 - rhel/automake.mk | 22 ---- rhel/kmod-openvswitch-rhel6.spec.in | 123 ---------------------- rhel/openvswitch-dkms.spec.in | 103 ------------------ rhel/openvswitch-kmod-fedora.spec.in | 152 --------------------------- 9 files changed, 1 insertion(+), 451 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 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..c2c59265d 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 = <