summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2021-09-26 19:39:19 -0500
committerJohn Estabrook <jestabro@vyos.io>2021-09-27 15:58:00 -0500
commit437a2d847e473bd4a6dc28e09880e7e34d79ec6a (patch)
tree15e429ba5d44298886cf67093a4c2279ce1331ff /debian
parente90ee6852e25a3a87b3f8333ed588197d3782408 (diff)
downloadvyos-1x-437a2d847e473bd4a6dc28e09880e7e34d79ec6a.tar.gz
vyos-1x-437a2d847e473bd4a6dc28e09880e7e34d79ec6a.zip
interface-names: T3869: install vyos_net_name to udev directory
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/rules4
1 files changed, 4 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index c7a7138e1..5a58aeeb6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -120,6 +120,10 @@ override_dh_auto_install:
mkdir -p $(DIR)/$(VYOS_BIN_DIR)
cp -r smoketest/bin/* $(DIR)/$(VYOS_BIN_DIR)
+ # Install udev script
+ mkdir -p $(DIR)/usr/lib/udev
+ cp src/helpers/vyos_net_name $(DIR)/usr/lib/udev
+
ifeq ($(DEB_TARGET_ARCH),amd64)
# We only install XDP on amd64 systems
mkdir -p $(DIR)/$(VYOS_DATA_DIR)/xdp