summaryrefslogtreecommitdiff
path: root/packages/slugos-init
diff options
context:
space:
mode:
Diffstat (limited to 'packages/slugos-init')
-rw-r--r--packages/slugos-init/files/usb2
-rw-r--r--packages/slugos-init/slugos-init_5.0.bb6
2 files changed, 7 insertions, 1 deletions
diff --git a/packages/slugos-init/files/usb b/packages/slugos-init/files/usb
new file mode 100644
index 0000000000..b641113137
--- /dev/null
+++ b/packages/slugos-init/files/usb
@@ -0,0 +1,2 @@
+install uhci-hcd /sbin/modprobe ehci-hcd ; /sbin/modprobe -i uhci-hcd
+install ohci-hcd /sbin/modprobe ehci-hcd ; /sbin/modprobe -i ohci-hcd
diff --git a/packages/slugos-init/slugos-init_5.0.bb b/packages/slugos-init/slugos-init_5.0.bb
index 822e252dee..8d15d94f4d 100644
--- a/packages/slugos-init/slugos-init_5.0.bb
+++ b/packages/slugos-init/slugos-init_5.0.bb
@@ -4,7 +4,7 @@ PRIORITY = "required"
LICENSE = "GPL"
DEPENDS = "base-files devio"
RDEPENDS = "busybox devio"
-PR = "r6"
+PR = "r7"
SRC_URI = "file://boot/flash \
file://boot/disk \
@@ -60,6 +60,7 @@ do_install() {
${D}${sysconfdir}/default \
${D}${sysconfdir}/init.d \
${D}${sysconfdir}/modutils \
+ ${D}${sysconfdir}/modprobe.d \
${D}${sysconfdir}/udev \
${D}${sbindir} \
${D}${base_sbindir} \
@@ -108,6 +109,9 @@ do_install() {
# Developer-only tools, tucked away
install -m 0755 reflash ${D}${sysconfdir}/default
+ # Modprobe configuration files
+ install -m 0644 usb ${D}${sysconfdir}/modprobe.d
+
set +ex
}