From patchwork Wed Jun 17 15:43:27 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: William Tu X-Patchwork-Id: 1311316 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.138; helo=whitealder.osuosl.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.a=rsa-sha256 header.s=20161025 header.b=YgbLkKm1; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49n8W76RhVz9sRR for ; Thu, 18 Jun 2020 01:44:02 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 4EA5987D98; Wed, 17 Jun 2020 15:43:58 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zK36EoMnJqIi; Wed, 17 Jun 2020 15:43:55 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by whitealder.osuosl.org (Postfix) with ESMTP id 3059187D58; Wed, 17 Jun 2020 15:43:55 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 14325C07FF; Wed, 17 Jun 2020 15:43:55 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@lists.linuxfoundation.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by lists.linuxfoundation.org (Postfix) with ESMTP id A5647C016E for ; Wed, 17 Jun 2020 15:43:53 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 9A4098851B for ; Wed, 17 Jun 2020 15:43:53 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cCEvdNGxA8tv for ; Wed, 17 Jun 2020 15:43:53 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pj1-f66.google.com (mail-pj1-f66.google.com [209.85.216.66]) by hemlock.osuosl.org (Postfix) with ESMTPS id 2668B88517 for ; Wed, 17 Jun 2020 15:43:53 +0000 (UTC) Received: by mail-pj1-f66.google.com with SMTP id m2so1246330pjv.2 for ; Wed, 17 Jun 2020 08:43:53 -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=+PegpV7daqPlMkkcB3wbnK4pojr7vNlWHVVhU8QEYUo=; b=YgbLkKm1qN/TkRz3+paY8mg68cn00kHfhPEBwayhwJGSwOdYqR3AT/ZJCVLLELVeYJ yjE/2oSX19F9xCeqxmxg77kvKBgE8qm0bVQDCUj2tJWkAmLk5tN8wDAqa1H/lwDl5Ia1 X6Fx6LGKDg5EDeTapIRkcwZI9eM0NoHpLYTCdXfHMc9Ah/Y54GRJq0BjTpEfhcyjlt9W aShP63pUMNxX9HjS75IpMEPPENzigUmNOOhqhLmzByWuTWVl31ys6nh5S8euP0X6iz4R OSip1XNP9vLTQrg7UIWgmEp1mtt7XA/EuFR73m8SdvgT/kXK+Of9qphbWIadNxHpaPAO Atmg== 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=+PegpV7daqPlMkkcB3wbnK4pojr7vNlWHVVhU8QEYUo=; b=aiNK4KYAxnVHLDcJ5QCssZx4Omphmf6F2EKJ09NBQA/LVdNbE4DZtly+EmKTrsKNAq vd0BqRijw+XQlIWtE+cf9UcLnRDJ5HCRfiUFxuo4f5/B+RTvyRpnWBBHUEuXICPsjOS3 beBoa6wLS7+y2MwFYF8RIK10C9CGCxvLgHJxTh+Q8zORUwNSk8WqTR2w6cO+zIzYmSBy UGhwLEPVZOmpxrdLy9Y6snszzRpfLrcm1NZH/UW0uBZmGRtCSNUz8/fBTgMowz5G/ze5 t8vdkOyLA+uMq5L+6afcLDOkVBjf53fHkZoyFnD8+fku2IZXz+d7LWEqmsfaFqPAxjOy 9CIQ== X-Gm-Message-State: AOAM530DswQAgHYFd22rJF98eWiORP8D3dw+JgxE4XBb0Awa0Z+VIv8d 3/qu53Xm/9cnkJpYdNmuovR6iKQzMY0= X-Google-Smtp-Source: ABdhPJwm2Vsn2ARBYHWIhUBTkua5016UCc4ycHgDiFUnvgeDKy6Oa8tRSVswZI+3mfg6M23pJnEgTA== X-Received: by 2002:a17:90a:ec08:: with SMTP id l8mr8461766pjy.46.1592408632299; Wed, 17 Jun 2020 08:43:52 -0700 (PDT) Received: from sc9-mailhost2.vmware.com (c-76-21-95-192.hsd1.ca.comcast.net. [76.21.95.192]) by smtp.gmail.com with ESMTPSA id i196sm231002pgc.55.2020.06.17.08.43.51 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 17 Jun 2020 08:43:51 -0700 (PDT) From: William Tu To: dev@openvswitch.org Date: Wed, 17 Jun 2020 08:43:27 -0700 Message-Id: <1592408607-30075-1-git-send-email-u9012063@gmail.com> X-Mailer: git-send-email 2.7.4 Subject: [ovs-dev] [PATCH] rhel: Support RHEL 7.8 kernel module rpm build. 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" Add support for RHEL7.8 GA release with kernel 3.10.0-1127. VMware-BZ: #2582834 Signed-off-by: William Tu --- rhel/usr_share_openvswitch_scripts_ovs-kmod-manage.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/rhel/usr_share_openvswitch_scripts_ovs-kmod-manage.sh b/rhel/usr_share_openvswitch_scripts_ovs-kmod-manage.sh index a9b5cdd817da..93d487101253 100644 --- a/rhel/usr_share_openvswitch_scripts_ovs-kmod-manage.sh +++ b/rhel/usr_share_openvswitch_scripts_ovs-kmod-manage.sh @@ -19,7 +19,8 @@ # - 3.10.0 major revision 693 (RHEL 7.4) # - 3.10.0 major revision 957 (RHEL 7.6) # - 3.10.0 major revision 1062 (RHEL 7.7) -# - 3.10.0 major revision 1101 (RHEL 7.8) +# - 3.10.0 major revision 1101 (RHEL 7.8 Beta) +# - 3.10.0 major revision 1127 (RHEL 7.8 GA) # - 4.4.x, x >= 73 (SLES 12 SP3) # - 4.12.x, x >= 14 (SLES 12 SP4). # It is packaged in the openvswitch kmod RPM and run in the post-install @@ -113,6 +114,12 @@ if [ "$mainline_major" = "3" ] && [ "$mainline_minor" = "10" ]; then ver_offset=4 installed_ver="$minor_rev" fi + elif [ "$major_rev" = "1127" ]; then +# echo "rhel78" + comp_ver=10 + ver_offset=4 + installed_ver="$minor_rev" + fi elif [ "$mainline_major" = "4" ] && [ "$mainline_minor" = "4" ]; then if [ "$mainline_patch" -ge "73" ]; then # echo "sles12sp3"