From 935ff7f32cb20f4b323e9879bf7530dc8f956ded Mon Sep 17 00:00:00 2001 From: Robert Nelson Date: Mon, 29 Nov 2010 16:37:51 -0600 Subject: [PATCH] create a firmware directory early, even if firmware isnt used Signed-off-by: Robert Nelson --- mk_mmc.sh | 2 ++ scripts/squeeze-tweaks.diff | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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 +