1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-04 05:17:43 +03:00

rules: don't install 80-drivers.rules when kmod is disabled

(cherry picked from commit dd47b25220)
(cherry picked from commit 122945f315)
(cherry picked from commit 7d250c485f)
This commit is contained in:
Alec Moskvin 2020-08-01 09:25:05 -04:00 committed by Zbigniew Jędrzejewski-Szmek
parent 342dc4c15f
commit 436872f995

View File

@ -21,10 +21,13 @@ rules = files('''
75-net-description.rules
75-probe_mtd.rules
78-sound-card.rules
80-drivers.rules
80-net-setup-link.rules
'''.split())
if conf.get('HAVE_KMOD') == 1
rules += files('80-drivers.rules')
endif
install_data(rules,
install_dir : udevrulesdir)