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 commitdd47b25220
) (cherry picked from commit122945f315
) (cherry picked from commit7d250c485f
)
This commit is contained in:
parent
342dc4c15f
commit
436872f995
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user