bug: make sure /lib/firmware actually there

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/8/head
Robert Nelson 13 years ago
parent a5aa63169f
commit 941236d2e4

@ -3,7 +3,7 @@ new file mode 100755
index 0000000..6d06fc7
--- /dev/null
+++ b/usr/lib/finish-install.d/08rcn-omap
@@ -0,0 +1,34 @@
@@ -0,0 +1,36 @@
+#!/bin/sh -e
+cp /etc/e2fsck.conf /target/etc/e2fsck.conf
+cp /etc/finish-install.sh /target/etc/finish-install.sh
@ -22,7 +22,9 @@ index 0000000..6d06fc7
+ cat /target/etc/inittab | grep SERIAL || echo "S:2345:respawn:/sbin/getty 115200 SERIAL" >> /target/etc/inittab
+ fi
+
+ if [ -d /lib/firmware/ ] ; then
+ cp -r /lib/firmware/ /target/lib/ || true
+ fi
+
+ rm -f /etc/rcn.conf
+

@ -3,7 +3,7 @@ new file mode 100755
index 0000000..6d06fc7
--- /dev/null
+++ b/usr/lib/finish-install.d/08rcn-omap
@@ -0,0 +1,31 @@
@@ -0,0 +1,33 @@
+#!/bin/sh -e
+cp /etc/flash-kernel.conf /target/etc/flash-kernel.conf
+cp /etc/SERIAL.conf /target/etc/init/SERIAL.conf
@ -19,7 +19,9 @@ index 0000000..6d06fc7
+ #smsc95xx kevent workaround/hack
+ echo "vm.min_free_kbytes = 8192" >> /target/etc/sysctl.conf
+
+ if [ -d /lib/firmware/ ] ; then
+ cp -r /lib/firmware/ /target/lib/ || true
+ fi
+
+ rm -f /etc/rcn.conf
+

Loading…
Cancel
Save