On Tue, Sep 15, 2015 at 10:44 AM, Tashi Lu <[email protected]> wrote:
> From 1565cd8ccac1d919eb6d1ffc3185e89bc5e0607d Mon Sep 17 00:00:00 2001
> From: dotSlashLu <[email protected]>
> Date: Tue, 15 Sep 2015 20:44:29 +0800
> Subject: [PATCH 3/3] rhel: fix rpm build 'Installed (but unpackaged)
> file(s) found' error
>
> fix rhel kmod rpm build error:
> RPM build errors:
> Installed (but unpackaged) file(s) found:
> /etc/depmod.d/openvswitch.conf
>
> Signed-off-by: Dotslash Lu <[email protected]>
Do you get the above error even if you follow the instructions in
INSTALL.RHEL.md ? (I don't see this error) Specially this note:
On RHEL 6, to build the Open vSwitch kernel module, copy
rhel/openvswitch-kmod.files into the RPM sources directory and run:
`rpmbuild -bb rhel/openvswitch-kmod-rhel6.spec`
> ---
> rhel/openvswitch-kmod-rhel6.spec.in | 4 ++++
> 1 files changed, 4 insertions(+), 0 deletions(-)
>
> diff --git a/rhel/openvswitch-kmod-rhel6.spec.in b/rhel/
> openvswitch-kmod-rhel6.spec.in
> index 5d46838..fa9e38c 100644
> --- a/rhel/openvswitch-kmod-rhel6.spec.in
> +++ b/rhel/openvswitch-kmod-rhel6.spec.in
> @@ -48,6 +48,10 @@ override %{oname} * extra/%{oname}
> override %{oname} * weak-updates/%{oname}
> EOF
>
> +%files
> +%defattr(-,root,root,-)
> +%{_sysconfdir}/depmod.d/
> +
> %build
> for flavor in %flavors_to_build; do
> mkdir _$flavor
> --
> 1.7.1
> _______________________________________________
> dev mailing list
> [email protected]
> http://openvswitch.org/mailman/listinfo/dev
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev