mk_mmc.sh: this works fine for dtbs

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/37/head
Robert Nelson 10 years ago
parent 102b2458a5
commit b3714d0ccb

@ -1223,18 +1223,8 @@ populate_boot () {
if [ "${ACTUAL_DTB_FILE}" ] ; then if [ "${ACTUAL_DTB_FILE}" ] ; then
echo "Copying Device Tree Files:" echo "Copying Device Tree Files:"
if [ -d "${TEMPDIR}/kernel/boot/dtbs/${uname_r}/" ] ; then mkdir -p ${TEMPDIR}/disk/dtbs
echo "Debug: grabbing *.dtb from linux-image*.deb" cp ${TEMPDIR}/kernel/boot/dtbs/${uname_r}/*.dtb ${TEMPDIR}/disk/dtbs/
mkdir -p ${TEMPDIR}/disk/dtbs
cp -v ${TEMPDIR}/kernel/boot/dtbs/${uname_r}/*.dtb ${TEMPDIR}/disk/dtbs
else
echo "Debug: did not find *.dtb in linux-image*.deb"
if [ "x${conf_boot_fstype}" = "xfat" ] ; then
tar xfvo "${DIR}/dl/${DISTARCH}/${ACTUAL_DTB_FILE}" -C ${TEMPDIR}/disk/dtbs
else
tar xfv "${DIR}/dl/${DISTARCH}/${ACTUAL_DTB_FILE}" -C ${TEMPDIR}/disk/dtbs
fi
fi
cp -v "${DIR}/dl/${DISTARCH}/${ACTUAL_DTB_FILE}" ${TEMPDIR}/disk/ cp -v "${DIR}/dl/${DISTARCH}/${ACTUAL_DTB_FILE}" ${TEMPDIR}/disk/
echo "-----------------------------" echo "-----------------------------"
fi fi

Loading…
Cancel
Save