diff --git a/mk_mmc.sh b/mk_mmc.sh index 15a5f41..2857f4f 100755 --- a/mk_mmc.sh +++ b/mk_mmc.sh @@ -162,6 +162,8 @@ function prepare_initrd { sudo dpkg -x ${DIR}/dl/${DIST}/linux-image-${KERNEL}_1.0${DIST}_armel.deb ${TEMPDIR}/initrd-tree cd ${DIR}/ + sudo mkdir -p ${TEMPDIR}/initrd-tree/lib/firmware/ + if [ "${FIRMWARE}" ] ; then case "$DIST" in diff --git a/scripts/squeeze-tweaks.diff b/scripts/squeeze-tweaks.diff index c71ae04..1414418 100644 --- a/scripts/squeeze-tweaks.diff +++ b/scripts/squeeze-tweaks.diff @@ -20,7 +20,7 @@ index 0000000..6d06fc7 + mkdir -p /target/boot/uboot + echo "/dev/mmcblk0p1 /boot/uboot auto defaults 0 0" >> /target/etc/fstab + cp -r /lib/modules/`uname -r`/ /target/lib/modules/ -+ #cp -r /lib/firmware/ /target/lib/ ++ cp -r /lib/firmware/ /target/lib/ + rm -f /etc/rcn.conf +fi +