From ff548f0e72521d1f1735b297d48f8ca3666fff44 Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Wed, 29 Apr 2015 16:28:44 +0200 Subject: [PATCH] usbarmory-base: move options to modprobe.d --- srcpkgs/usbarmory-base/template | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/srcpkgs/usbarmory-base/template b/srcpkgs/usbarmory-base/template index 74657d05864..c2d2fc01c2e 100644 --- a/srcpkgs/usbarmory-base/template +++ b/srcpkgs/usbarmory-base/template @@ -13,13 +13,11 @@ depends="virtual?ntp-daemon usbarmory-u-boot usbarmory-kernel" do_install() { # load LED, CI HDRC i.MX USB binding, and g_ether driver vmkdir usr/lib/modules-load.d - for m in ledtrig_heartbeat ci_hdrc_imx; do + vmkdir usr/lib/modprobe.d + echo 'options g_ether use_eem=0 dev_addr=1a:55:89:a2:69:41 host_addr=1a:55:89:a2:69:42' > ${DESTDIR}/usr/lib/modprobe.d/g_ether.conf + for m in ledtrig_heartbeat ci_hdrc_imx g_ether; do echo "$m" > ${DESTDIR}/usr/lib/modules-load.d/${m%% *}.conf done - cat > ${DESTDIR}/usr/lib/modules-load.d/g_ether.conf <