xpp: prevent dracut from loading Astribank drivers
Prevent an early load of the Astribank (xpp) drivers at initrd time, as they require some files from the root filesystem. This installs a file in the dracut configuration directory that will take effect the next time dracut generates an initrd image. This installs an configuration file for dracut which is ignored if dracut is not installed and is a no-op if xpp_usb is not loaded on your system. Signed-off-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com>
This commit is contained in:
parent
e4197cc499
commit
ba09742a3f
5
xpp/50-dahdi.conf
Normal file
5
xpp/50-dahdi.conf
Normal file
@ -0,0 +1,5 @@
|
||||
# A dracut.conf(5) snippet
|
||||
# Disable loading the Astribank (xpp_usb) drivers. This is because
|
||||
# it relies on files in the root filesystem:
|
||||
# See https://issues.asterisk.org/jira/browse/DAHLIN-352
|
||||
omit_drivers+=" xpp_usb "
|
@ -62,6 +62,9 @@ dist_sbin_SCRIPTS = $(perl_scripts)
|
||||
man_MANS += $(perl_mans)
|
||||
CLEANFILES = $(perl_checks) $(perl_mans)
|
||||
|
||||
dracutconfdir = @prefix@/lib/dracut/dracut.conf.d
|
||||
dracutconf_DATA = 50-dahdi.conf
|
||||
|
||||
if PBX_USB
|
||||
|
||||
SUBDIRS += oct612x xtalk
|
||||
|
Loading…
Reference in New Issue
Block a user