From 7cd833bde1df09bfbf088e2d78e88d38a981dcc2 Mon Sep 17 00:00:00 2001 From: Robert Nelson Date: Fri, 23 Apr 2010 16:59:33 -0500 Subject: [PATCH] also copy the firmware --- scripts/lucid-tweaks.diff | 5 +++-- scripts/squeeze-tweaks.diff | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/scripts/lucid-tweaks.diff b/scripts/lucid-tweaks.diff index b020e45..8c4129b 100644 --- a/scripts/lucid-tweaks.diff +++ b/scripts/lucid-tweaks.diff @@ -1,5 +1,5 @@ diff --git a/lib/chroot-setup.sh b/lib/chroot-setup.sh -index 61bc6ae..5c7778a 100644 +index 61bc6ae..3406f4e 100644 --- a/lib/chroot-setup.sh +++ b/lib/chroot-setup.sh @@ -110,6 +110,9 @@ EOF @@ -12,7 +12,7 @@ index 61bc6ae..5c7778a 100644 return 0 } -@@ -120,6 +123,22 @@ chroot_cleanup () { +@@ -120,6 +123,23 @@ chroot_cleanup () { mv /target/sbin/initctl.REAL /target/sbin/initctl fi @@ -28,6 +28,7 @@ index 61bc6ae..5c7778a 100644 + cp /tmp/mmc/uInitrd /tmp/mmc/uInitrd.net + cp /tmp/mmc/uInitrd.final /tmp/mmc/uInitrd + cp -r /lib/modules/`uname -r`/ /target/lib/modules/ ++ cp -r /lib/firmware/ /target/lib/ + rm -f /etc/rcn.conf + umount /tmp/mmc + fi diff --git a/scripts/squeeze-tweaks.diff b/scripts/squeeze-tweaks.diff index d7386ab..d569d95 100644 --- a/scripts/squeeze-tweaks.diff +++ b/scripts/squeeze-tweaks.diff @@ -1,5 +1,5 @@ diff --git a/lib/chroot-setup.sh b/lib/chroot-setup.sh -index 61bc6ae..75aa52f 100644 +index 61bc6ae..bc67b04 100644 --- a/lib/chroot-setup.sh +++ b/lib/chroot-setup.sh @@ -110,6 +110,8 @@ EOF @@ -11,7 +11,7 @@ index 61bc6ae..75aa52f 100644 return 0 } -@@ -120,6 +122,18 @@ chroot_cleanup () { +@@ -120,6 +122,19 @@ chroot_cleanup () { mv /target/sbin/initctl.REAL /target/sbin/initctl fi @@ -23,6 +23,7 @@ index 61bc6ae..75aa52f 100644 + cp /tmp/mmc/uInitrd /tmp/mmc/uInitrd.net + cp /tmp/mmc/uInitrd.final /tmp/mmc/uInitrd + cp -r /lib/modules/`uname -r`/ /target/lib/modules/ ++ cp -r /lib/firmware/ /target/lib/ + rm -f /etc/rcn.conf + umount /tmp/mmc + fi