dtb: grab these from the kernel package

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/37/head
Robert Nelson 11 years ago
parent 1fa5c2e003
commit 75e972444b

@ -1223,11 +1223,18 @@ populate_boot () {
if [ "${ACTUAL_DTB_FILE}" ] ; then
echo "Copying Device Tree Files:"
if [ -d "${TEMPDIR}/kernel/boot/dtbs/${uname_r}/" ] ; then
echo "Debug: grabbing *.dtb from linux-image*.deb"
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/
echo "-----------------------------"
fi

Loading…
Cancel
Save