tags 831924 + patch
thanks

On Wed, 20 Jul 2016, Lucas Nussbaum wrote:

> dh_install
> # openvswitch-switch
> cp debian/openvswitch-switch.template 
> debian/openvswitch-switch/usr/share/openvswitch/switch/default.template
> cp: cannot create regular file 
> 'debian/openvswitch-switch/usr/share/openvswitch/switch/default.template': No 
> such file or directory
> debian/rules:51: recipe for target 'override_dh_install' failed
> make[1]: *** [override_dh_install] Error 1

Explanation: We are creating arch-independent packages only, so
debian/openvswitch-switch/[...] does not exist.

Trivial fix is to override dh_install only for arch-dependent
packages.

Patch follows.

Thanks.
--- a/debian/rules
+++ b/debian/rules
@@ -47,7 +47,7 @@ override_dh_auto_clean:
        rm -f python/ovs/*.pyc python/ovs/db/*.pyc
        dh_auto_clean
 
-override_dh_install:
+override_dh_install-arch:
        dh_install
        # openvswitch-switch
        cp debian/openvswitch-switch.template 
debian/openvswitch-switch/usr/share/openvswitch/switch/default.template
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to