@ -407,7 +407,7 @@ case $PROJECT:$SUBPROJECT in
arm64)
arm64)
if [ "$devarch" = "dragonboard" ]; then
if [ "$devarch" = "dragonboard" ]; then
# ugly hack til we have a metapackage
# ugly hack til we have a metapackage
linux_package="$(apt-cache search generic-dragon410c|grep linux-image|tail -1|sed 's/ .*$//g') dragon410c-firmware"
linux_package="linux-image-4.4.0-1009-snapdragon dragon410c-firmware"
fi
fi
;;
;;
esac
esac
@ -472,6 +472,9 @@ case $PROJECT:$SUBPROJECT in
;;
;;
dragonboard)
dragonboard)
cp $TMPDIR/assets/dtbs/qcom/apq8016-sbc-snappy.dtb $TMPDIR/assets/dtbs/apq8016-sbc.dtb
cp $TMPDIR/assets/dtbs/qcom/apq8016-sbc-snappy.dtb $TMPDIR/assets/dtbs/apq8016-sbc.dtb
# add special link needed by the dragonboard wifi driver
mkdir -p $TMPDIR/system/lib/firmware/wlan/
ln -s /run/macaddr0 $TMPDIR/system/lib/firmware/wlan/
;;
;;
esac
esac
fi
fi
@ -539,7 +542,7 @@ EOF
elif [ "$devarch" = "generic" ] && [ "$ARCH" = "armhf" ];then
elif [ "$devarch" = "generic" ] && [ "$ARCH" = "armhf" ];then
metaname=canonical-bbb-linux
metaname=canonical-bbb-linux
elif [ "$devarch" = "dragonboard" ] && [ "$ARCH" = "arm64" ];then
elif [ "$devarch" = "dragonboard" ] && [ "$ARCH" = "arm64" ];then
metaname=canonical-dragon-linux
metaname=canonical-snap dragon-linux
snapname="$devarch.kernel.snap"
snapname="$devarch.kernel.snap"
fi
fi