fix packaging of dpdk-devbind 07/8107/1
authorChristian Ehrhardt <christian.ehrhardt@canonical.com>
Fri, 18 Aug 2017 10:36:48 +0000 (12:36 +0200)
committerChristian Ehrhardt <christian.ehrhardt@canonical.com>
Fri, 18 Aug 2017 10:36:48 +0000 (12:36 +0200)
17.05 moved all the tools to /usr/share/dpdk/usertools and those that
got installed by the makefiles are adapted like dpdk-pmdinfo.
But others that we decided to include like dpdk-devbind are missing.

So currently this is a broken symlink:
/sbin/dpdk-devbind -> /usr/share/dpdk/tools/dpdk-devbind.py
And intstead it is at:
/usr/share/dpdk/usertools/dpdk-devbind.py

Fix by adapting d/rules to link from the right path

Change-Id: I89ba54b3df81f5d2170e8a231674a6592935a033
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
debian/rules

index e05f332..e2b018c 100755 (executable)
@@ -246,7 +246,7 @@ endif
        cp debian/dpdk.interfaces debian/dpdk/etc/dpdk/interfaces
        rm debian/dpdk/usr/sbin/dpdk-devbind
        mkdir -p debian/dpdk/sbin
-       ln -s /usr/share/dpdk/tools/dpdk-devbind.py \
+       ln -s /usr/share/dpdk/usertools/dpdk-devbind.py \
                debian/dpdk/sbin/dpdk-devbind
        # Package: dpdk-dev (build environment)
        # workaround to fix symbolic link creation