Re: [ovs-dev] [PATCH V3 2/7] rhel: Remove kernel mode spec
On 7/9/2022 12:02 AM, David Marchand wrote: On Fri, Jul 8, 2022 at 10:04 PM Greg Rose wrote: 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 =
Re: [ovs-dev] [PATCH V3 2/7] rhel: Remove kernel mode spec
On Fri, Jul 8, 2022 at 10:04 PM Greg Rose wrote: > > 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 =
[ovs-dev] [PATCH V3 2/7] rhel: Remove kernel mode spec
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 =