From patchwork Thu Aug 29 18:56:01 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gregory Rose X-Patchwork-Id: 1155503 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=openvswitch.org (client-ip=140.211.169.12; helo=mail.linuxfoundation.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="IIfJrpV1"; dkim-atps=neutral Received: from mail.linuxfoundation.org (mail.linuxfoundation.org [140.211.169.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46KBgS2Q6vz9sDB for ; Fri, 30 Aug 2019 04:57:24 +1000 (AEST) Received: from mail.linux-foundation.org (localhost [127.0.0.1]) by mail.linuxfoundation.org (Postfix) with ESMTP id 512054C81; Thu, 29 Aug 2019 18:57:21 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@mail.linuxfoundation.org Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id B88C24A2F for ; Thu, 29 Aug 2019 18:56:05 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.7.6 Received: from mail-pf1-f193.google.com (mail-pf1-f193.google.com [209.85.210.193]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 7669A8B6 for ; Thu, 29 Aug 2019 18:56:05 +0000 (UTC) Received: by mail-pf1-f193.google.com with SMTP id g2so2703125pfq.0 for ; Thu, 29 Aug 2019 11:56:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=8W6BGH2oKtG9y/747ETSGUZVWJqV3+yyGYzTPKf+ocw=; b=IIfJrpV1DsLvAg3gFV1Lx6yxePcgrcp0mM28SO5+l/Mz++vGY7jKZZHJo4AaMDfVd1 n/ZJ3Hs66CAhQ45xocibXU63MtHzzronBh0YzgKeS7Eb2jDi5X0UufKkOrJPAS/agvVO 7YUQMAisfr9G/uahsqL89q02JGEXK8sZGraDY+u6RQcP83kAlVLAVHJyPisyYvu6BO9u AqgeCushRNXsEa+LHQcIxK7VF4K2u1x9k7cvckvIv52Ogg3cCFntHrxcf+HV5eZUgz3s nhbwpynYT8SPx0skr6KRkx+CrYlQ0vR5MIyStMdQn4z/jHvmcqH2ysM+MR/9eB3i0O5I 2+5A== 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=8W6BGH2oKtG9y/747ETSGUZVWJqV3+yyGYzTPKf+ocw=; b=oICM2N4HvsX613M2gioow3EtMso1HfAuQ7ZKdgvpORiiWXVWittgrXDnzqXnoUAGsh ZEqXyCq/PnICpwmIHo6zVeqp5cHsfw0M7NUeAKBvvYqCslGWdq07qxed1wa0t3m4KtBH FeBRcrtodG3km4jDNIBK3l84N25ofE89JldwPCr847TCJRYZm3oaHcKM/cqJ7lIFFxfI +8HMLgpV87IZ/BSQsLKuPLZgh8TWWekDur9HKbOlTNN9/ymTuZ4he2A0VsJw4PqOlk9L vgDOe09sidgVB2DFrdMkKNUMaQOrFAw2L9of1FnOxLGHaezYyQENvB4ObxmPxvqQeBHi gpZA== X-Gm-Message-State: APjAAAWiiiKNsQdJ3WTJpG/BlBaogHAxBYXbi7HU2+OqKJ8p+hMXsY6e NBIQt1QAx4c+FGJGi/MGGB1v4mOj X-Google-Smtp-Source: APXvYqxQtDm/GPiBOSRbmlgPFfFwtXK+hHwrgFQmhHwIxoBZNJNOguSQ89ummh8kQrMy5UBdE5HlFA== X-Received: by 2002:a65:6713:: with SMTP id u19mr9106869pgf.403.1567104964600; Thu, 29 Aug 2019 11:56:04 -0700 (PDT) Received: from gizo.domain (97-115-90-227.ptld.qwest.net. [97.115.90.227]) by smtp.gmail.com with ESMTPSA id c13sm4841154pfi.17.2019.08.29.11.56.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 29 Aug 2019 11:56:03 -0700 (PDT) From: Greg Rose To: dev@openvswitch.org Date: Thu, 29 Aug 2019 11:56:01 -0700 Message-Id: <1567104961-28729-1-git-send-email-gvrose8192@gmail.com> X-Mailer: git-send-email 1.8.3.1 X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp1.linux-foundation.org Subject: [ovs-dev] [PATCH] rhel: Fix ovs-kmod-manage.sh to work with RHEL 7.3 X-BeenThere: ovs-dev@openvswitch.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: ovs-dev-bounces@openvswitch.org Errors-To: ovs-dev-bounces@openvswitch.org Add case for RHEL 7.3. This also fixes commit 22abff2 where I forgot to update the comp_ver variable for RHEL 7.5 and while I was in there I updated comp_ver for the RHEL 7.4 case as well. Fixes: 22abff2 ("rhel: Add case for RHEL 7.5 major version to...") Signed-off-by: Greg Rose Reviewed-by: Yifeng Sun --- rhel/usr_share_openvswitch_scripts_ovs-kmod-manage.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/rhel/usr_share_openvswitch_scripts_ovs-kmod-manage.sh b/rhel/usr_share_openvswitch_scripts_ovs-kmod-manage.sh index 51756ec..c5b1d2d 100644 --- a/rhel/usr_share_openvswitch_scripts_ovs-kmod-manage.sh +++ b/rhel/usr_share_openvswitch_scripts_ovs-kmod-manage.sh @@ -80,14 +80,19 @@ if [ "$mainline_major" = "3" ] && [ "$mainline_minor" = "10" ]; then comp_ver=36 ver_offset=4 installed_ver="$minor_rev" + elif [ "$major_rev" = "514" ]; then +# echo "rhel73" + comp_ver=26 + ver_offset=4 + installed_ver="$minor_rev" elif [ "$major_rev" = "693" ]; then # echo "rhel74" - comp_ver=11 + comp_ver=21 ver_offset=4 installed_ver="$minor_rev" elif [ "$major_rev" = "862" ]; then # echo "rhel75" - comp_ver=11 + comp_ver=20 ver_offset=4 installed_ver="$minor_rev" elif [ "$major_rev" = "957" ]; then