summaryrefslogtreecommitdiff
path: root/rules/Makefile.am
diff options
context:
space:
mode:
authorIan Stakenvicius <axs@gentoo.org>2013-01-25 13:34:21 -0500
committerAnthony G. Basile <blueness@gentoo.org>2013-01-28 17:42:47 -0500
commita9ef3ca7642ae67fc6859d2b5861f8b0f0ab3a68 (patch)
treedb8a07223c6d258e8f9dc860bc2fa137a661118c /rules/Makefile.am
parent34bcd6cd8c8f5dc7f01bef9a294a132cf856345e (diff)
Make blkid optional
Embedded systems may not want to include util-linux when they do not intend to use blkid functionality Modified from original author's commit to not install 60-persistent-storage.rules if blkid is disabled systemd commit f553b3b1074151200187df916427a1468186435e Original author: Anders Olofsson <Anders.Olofsson@axis.com> Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'rules/Makefile.am')
-rw-r--r--rules/Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/rules/Makefile.am b/rules/Makefile.am
index 1741bd2ed8..319b7c59f6 100644
--- a/rules/Makefile.am
+++ b/rules/Makefile.am
@@ -8,7 +8,6 @@ dist_udevrules_DATA = \
60-persistent-serial.rules \
60-persistent-input.rules \
60-persistent-alsa.rules \
- 60-persistent-storage.rules \
60-persistent-v4l.rules \
61-accelerometer.rules \
64-btrfs.rules \
@@ -19,6 +18,11 @@ dist_udevrules_DATA = \
80-net-name-slot.rules \
95-udev-late.rules
+if HAVE_BLKID
+dist_udevrules_DATA += \
+ 60-persistent-storage.rules
+endif
+
if HAVE_MODULES
dist_udevrules_DATA += \
80-drivers.rules