mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-22 22:03:43 +03:00
rules: don't install 80-drivers.rules when kmod is disabled
(cherry picked from commit dd47b25220f69f869679089da5cc848cf9cd0c78) (cherry picked from commit 122945f315c8ccb1ecaf8384aff85931791d45d3)
This commit is contained in:
parent
2d0e391967
commit
7d250c485f
@ -21,10 +21,13 @@ rules = files('''
|
|||||||
75-net-description.rules
|
75-net-description.rules
|
||||||
75-probe_mtd.rules
|
75-probe_mtd.rules
|
||||||
78-sound-card.rules
|
78-sound-card.rules
|
||||||
80-drivers.rules
|
|
||||||
80-net-setup-link.rules
|
80-net-setup-link.rules
|
||||||
'''.split())
|
'''.split())
|
||||||
|
|
||||||
|
if conf.get('HAVE_KMOD') == 1
|
||||||
|
rules += files('80-drivers.rules')
|
||||||
|
endif
|
||||||
|
|
||||||
install_data(rules,
|
install_data(rules,
|
||||||
install_dir : udevrulesdir)
|
install_dir : udevrulesdir)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user