[OE-core] [RFC PATCH 2/2] image_types.bbclass: add support for fastboot image type

Nicolas Dechesne nicolas.dechesne at linaro.org
Thu Aug 27 07:56:47 UTC 2015


On Wed, Aug 26, 2015 at 10:31 PM, Andre McCurdy <armccurdy at gmail.com> wrote:
>
> > +IMAGE_CMD_ext4.fastboot () {
> > +       if [ ${ROOTFS_SIZE} -lt ${FASTBOOT_PARTITION_SIZE} ]; then
> > +               make_ext4fs -l `expr ${FASTBOOT_PARTITION_SIZE} \* 1024` \
> > +                       ${EXTRA_IMAGECMD} \
> > +                       ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext4.fastboot \
> > +                       ${IMAGE_ROOTFS}
> > +       else
> > +               bbfatal "Rootfs is too small for partition (Rootfs Actual Size: ${ROOTFS_SIZE}, Partition size: ${FASTBOOT_PARTITION_SIZE})"
>
> Should the error be "Rootfs is too LARGE for partition" ?

you're right.. wrong copy/paste, will fix.



More information about the Openembedded-core mailing list