create a firmware directory early, even if firmware isnt used

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/8/head
Robert Nelson 14 years ago
parent a6765b7e6a
commit 935ff7f32c

@ -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

@ -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
+

Loading…
Cancel
Save