From ab0a37ddcf9c9a68a5340a657b11531a02925c46 Mon Sep 17 00:00:00 2001 From: "Anthony G. Basile" Date: Tue, 9 Apr 2013 12:13:19 -0400 Subject: [PATCH] rules/Makefile.am: conditionally install 80-net-name-slot.rules We do not want to install 80-net-name-slot.rules if we --enable-rule-generator. In fact doing so will switch to the predictable network interface names. Signed-off-by: Anthony G. Basile --- rules/Makefile.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/rules/Makefile.am b/rules/Makefile.am index baf1654c2..73b36a3b7 100644 --- a/rules/Makefile.am +++ b/rules/Makefile.am @@ -15,9 +15,13 @@ dist_udevrules_DATA = \ 75-probe_mtd.rules \ 75-tty-description.rules \ 78-sound-card.rules \ - 80-net-name-slot.rules \ 95-udev-late.rules +if !ENABLE_RULE_GENERATOR +dist_udevrules_DATA += \ + 80-net-name-slot.rules +endif + if ENABLE_FIRMWARE dist_udevrules_DATA += \ 50-firmware.rules