diff options
author | Mike Westerhof <mwester@dls.net> | 2009-01-25 00:43:06 -0600 |
---|---|---|
committer | Mike Westerhof <mwester@dls.net> | 2009-01-25 00:43:06 -0600 |
commit | d97d342c2d3556b02ac89e3b3f3692ef19be954a (patch) | |
tree | 504f93f93ae19384a1c8bade1cd0b476f2e67933 /packages | |
parent | b49e09758de7f29c049c12213347cb32fb64d7a4 (diff) |
SlugOS: add modprobe.d/usb - ensure usb modules are loaded in correct order
Avoid kernel warning message.
Diffstat (limited to 'packages')
-rw-r--r-- | packages/slugos-init/files/usb | 2 | ||||
-rw-r--r-- | packages/slugos-init/slugos-init_5.0.bb | 6 |
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 } |