diff --git a/lib/distributions.sh b/lib/distributions.sh index d2a52429ba..83b36f824c 100644 --- a/lib/distributions.sh +++ b/lib/distributions.sh @@ -149,9 +149,11 @@ install_common() ff02::2 ip6-allrouters EOF - # install kernel and u-boot packages + # install kernel install_deb_chroot "$DEST/debs/${CHOSEN_KERNEL}_${REVISION}_${ARCH}.deb" - install_deb_chroot "$DEST/debs/${CHOSEN_UBOOT}_${REVISION}_${ARCH}.deb" + # unpack u-boot + dpkg -x ${DEST}/debs/${CHOSEN_UBOOT}_${REVISION}_${ARCH}.deb $SDCARD + if [[ $BUILD_DESKTOP == yes ]]; then install_deb_chroot "$DEST/debs/$RELEASE/armbian-${RELEASE}-desktop_${REVISION}_all.deb"