diff --git a/mk_mmc.sh b/mk_mmc.sh index 838f801..c7e9916 100755 --- a/mk_mmc.sh +++ b/mk_mmc.sh @@ -118,6 +118,7 @@ fi sudo patch -p1 -s < ${DIR}/scripts/beagle-copy-flash-kernel-override.diff sudo patch -p1 -s < ${DIR}/scripts/beagle-erase-nand-and-copy-new-scr.diff sudo patch -p1 -s < ${DIR}/scripts/lucid-copy-etc-e2fsck.conf.diff + sudo patch -p1 -s < ${DIR}/scripts/lucid-copy-modules.diff sudo dpkg -x ${DIR}/dl/mtd-utils_20090606-1_armel.deb ${DIR}/initrd-tree fi diff --git a/scripts/lucid-copy-modules.diff b/scripts/lucid-copy-modules.diff new file mode 100644 index 0000000..55edd46 --- /dev/null +++ b/scripts/lucid-copy-modules.diff @@ -0,0 +1,12 @@ +diff --git a/lib/chroot-setup.sh b/lib/chroot-setup.sh +index 5351a01..58fa8f7 100644 +--- a/lib/chroot-setup.sh ++++ b/lib/chroot-setup.sh +@@ -135,6 +135,7 @@ chroot_cleanup () { + cp /tmp/mmc/normal.scr /tmp/mmc/boot.scr + 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/ + rm -f /etc/rcn.conf + umount /tmp/mmc + fi