summaryrefslogtreecommitdiff
path: root/poc
diff options
context:
space:
mode:
authorGreg Rose <gvrose8192@gmail.com>2022-07-14 14:23:27 -0700
committerIlya Maximets <i.maximets@ovn.org>2022-07-15 13:45:55 +0200
commitc94ae8a75408bf12dba4cac95a5ed93fdbee09f0 (patch)
tree1eb610cf460d06b1aa9c348fa2b53a7dafb14736 /poc
parentb6941ca7b8c943d78f3d1f4016068e2041701904 (diff)
downloadopenvswitch-c94ae8a75408bf12dba4cac95a5ed93fdbee09f0.tar.gz
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 <david.marchand@redhat.com> Signed-off-by: Greg Rose <gvrose8192@gmail.com> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Diffstat (limited to 'poc')
-rw-r--r--poc/playbook-centos-builder.yml8
-rw-r--r--poc/playbook-fedora-builder.yml16
2 files changed, 0 insertions, 24 deletions
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