[PATCH rdma-core v1 3/6] debian: Install UDEV persistence rule and utility

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Leon Romanovsky <leonro@xxxxxxxxxxxx>

Provide persistence naming functionality for Debian users.

Signed-off-by: Leon Romanovsky <leonro@xxxxxxxxxxxx>
---
 debian/rdma-core.install | 2 ++
 providers/rxe/rxe_cfg.in | 1 +
 2 files changed, 3 insertions(+)

diff --git a/debian/rdma-core.install b/debian/rdma-core.install
index 93b537a1..c60a76cf 100644
--- a/debian/rdma-core.install
+++ b/debian/rdma-core.install
@@ -13,7 +13,9 @@ lib/systemd/system/iwpmd.service
 lib/systemd/system/rdma-hw.target
 lib/systemd/system/rdma-load-modules@.service
 lib/systemd/system/rdma-ndd.service
+lib/udev/rdma_rename
 lib/udev/rules.d/60-rdma-ndd.rules
+lib/udev/rules.d/60-rdma-persistent-naming.rules
 lib/udev/rules.d/75-rdma-description.rules
 lib/udev/rules.d/90-iwpmd.rules
 lib/udev/rules.d/90-rdma-hw-modules.rules
diff --git a/providers/rxe/rxe_cfg.in b/providers/rxe/rxe_cfg.in
index 482ad120..96126d3a 100755
--- a/providers/rxe/rxe_cfg.in
+++ b/providers/rxe/rxe_cfg.in
@@ -517,6 +517,7 @@ sub do_start {
     modprobe("rdma_rxe");
 
     populate_persistence();
+    system("udevadm control --reload");
 
     foreach my $eth (@persistence_array) {
 	rxe_add($eth);
-- 
2.19.1




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux