96237b5
From 66f231f4c71dfb11dc4552cb337571d3e3019c81 Mon Sep 17 00:00:00 2001
96237b5
From: Armin K <krejzi@email.com>
96237b5
Date: Tue, 4 Mar 2014 16:23:41 +0100
96237b5
Subject: [PATCH] build-sys: Don't distribute generated udev rule
96237b5
96237b5
It contains hardcoded path to systemd-sysctl executable which
96237b5
is /usr/lib/systemd/systemd-sysctl on latest stable release and
96237b5
as such it will complain at runtime if rootprefix != prefix
96237b5
96237b5
[zj: readd the file to nodist_udevrules_DATA]
96237b5
96237b5
(cherry picked from commit e2eb18d56b14eeb405706970f0460d8539cdcf23)
96237b5
---
96237b5
 Makefile.am | 4 +++-
96237b5
 1 file changed, 3 insertions(+), 1 deletion(-)
96237b5
96237b5
diff --git a/Makefile.am b/Makefile.am
96237b5
index 7187b8d..8093526 100644
96237b5
--- a/Makefile.am
96237b5
+++ b/Makefile.am
96237b5
@@ -2518,7 +2518,6 @@ dist_network_DATA = \
96237b5
 	network/80-container-host0.network
96237b5
 
96237b5
 dist_udevrules_DATA += \
96237b5
-	rules/99-systemd.rules \
96237b5
 	rules/42-usb-hid-pm.rules \
96237b5
 	rules/50-udev-default.rules \
96237b5
 	rules/60-drm.rules \
96237b5
@@ -2535,6 +2534,9 @@ dist_udevrules_DATA += \
96237b5
 	rules/80-net-setup-link.rules \
96237b5
 	rules/95-udev-late.rules
96237b5
 
96237b5
+nodist_udevrules_DATA += \
96237b5
+	rules/99-systemd.rules
96237b5
+
96237b5
 dist_udevhwdb_DATA = \
96237b5
 	hwdb/20-pci-vendor-model.hwdb \
96237b5
 	hwdb/20-pci-classes.hwdb \