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