From c94ae8a75408bf12dba4cac95a5ed93fdbee09f0 Mon Sep 17 00:00:00 2001 From: Greg Rose Date: Thu, 14 Jul 2022 14:23:27 -0700 Subject: rhel: Stop packaging OVS kernel module. Remove the kernel driver specification for RHEL 6.x, 7.x, 8.x and Fedora. Reviewed-by: David Marchand Signed-off-by: Greg Rose Signed-off-by: Ilya Maximets --- poc/playbook-centos-builder.yml | 8 -------- poc/playbook-fedora-builder.yml | 16 ---------------- 2 files changed, 24 deletions(-) (limited to 'poc') diff --git a/poc/playbook-centos-builder.yml b/poc/playbook-centos-builder.yml index e902db75d..b38a6c4ef 100644 --- a/poc/playbook-centos-builder.yml +++ b/poc/playbook-centos-builder.yml @@ -41,13 +41,11 @@ chdir: /git/ovs/rhel with_items: - openvswitch.spec - - kmod-openvswitch-rhel6.spec - name: Install build dependencies specified from spec files shell: echo "y" | yum-builddep /tmp/{{item}} with_items: - openvswitch.spec - - kmod-openvswitch-rhel6.spec - name: Create rpm dev tree command: rpmdev-setuptree @@ -81,18 +79,12 @@ line: "Release: {{ ansible_local.builder.release }}" with_items: - openvswitch.spec - - kmod-openvswitch-rhel6.spec - name: Build Open vSwitch user space rpms command: rpmbuild -bb --without check rhel/openvswitch.spec args: chdir: "{{SOURCE}}/openvswitch-{{version.stdout}}" - - name: Build Open vSwitch kmod rpms (only for currently loaded kernel) - command: rpmbuild -bb --without check rhel/kmod-openvswitch-rhel6.spec - args: - chdir: "{{SOURCE}}/openvswitch-{{version.stdout}}" - - name: Copy RPM packages to /var/www/html command: cp -r /root/rpmbuild/RPMS/ /var/www/html diff --git a/poc/playbook-fedora-builder.yml b/poc/playbook-fedora-builder.yml index 70f0b6ff2..67736a1b4 100644 --- a/poc/playbook-fedora-builder.yml +++ b/poc/playbook-fedora-builder.yml @@ -53,15 +53,11 @@ chdir: /git/ovs/rhel with_items: - openvswitch-fedora.spec - - openvswitch-kmod-fedora.spec - - openvswitch-dkms.spec - name: Install build dependencies specified from spec files shell: echo "y" | yum-builddep /tmp/{{item}} with_items: - openvswitch-fedora.spec - - openvswitch-kmod-fedora.spec - - openvswitch-dkms.spec - name: Create rpm dev tree command: rpmdev-setuptree @@ -95,24 +91,12 @@ line: "Release: {{ ansible_local.builder.release }}" with_items: - openvswitch-fedora.spec - - openvswitch-kmod-fedora.spec - - openvswitch-dkms.spec - name: Build Open vSwitch user space rpms command: rpmbuild -bb --without check rhel/openvswitch-fedora.spec args: chdir: "{{SOURCE}}/openvswitch-{{version.stdout}}" - - name: Build Open vSwitch kmod rpm - command: rpmbuild -bb --without check rhel/openvswitch-fedora.spec - args: - chdir: "{{SOURCE}}/openvswitch-{{version.stdout}}" - - - name: Build Open vSwitch dkms rpm - command: rpmbuild -bb --without check rhel/openvswitch-dkms.spec - args: - chdir: "{{SOURCE}}/openvswitch-{{version.stdout}}" - - name: Copy RPM packages to /var/www/html command: cp -r /root/rpmbuild/RPMS/ /var/www/html -- cgit v1.2.1