[meta-freescale] do_rootfs fails after power outage

Otavio Salvador otavio at ossystems.com.br
Thu May 22 09:04:22 PDT 2014


On Thu, May 22, 2014 at 12:55 PM, Boszormenyi Zoltan <zboszor at pr.hu> wrote:
> Hi,
>
> I got an Interesting failure. About 50 minutes ago, I had a power outage
> which killed my build while building an image.
> After that I restarted "bitbake fsl-image-multimedia-full". The do_rootfs
> proedure fails:
>
> NOTE: Executing RunQueue Tasks
> ERROR: Unable to install packages. Command
> '/home/zozo/fsl-community-bsp-retry/build-master/tmp/sysroots/x86_64-linux/usr/bin/smart
> --data-dir=/home/zozo/fsl-community-bsp-retry/build-master/tmp/work/imx6qsabresd-poky-linux-gnueabi/fsl-image-multimedia-full/1.0-r0/rootfs/var/lib/smart
> install -y packagegroup-fsl-tools-gpu at imx6qsabresd
> packagegroup-core-x11-base at all smartpm at cortexa9hf_vfp_neon
> packagegroup-core-ssh-openssh at all gpu-viv-bin-mx6q at cortexa9hf_vfp_neon_mx6
> lighttpd at cortexa9hf_vfp_neon packagegroup-fsl-gstreamer-full at all
> mutter at cortexa9hf_vfp_neon packagegroup-fsl-gstreamer at imx6qsabresd
> packagegroup-base-extended at imx6qsabresd rpm at cortexa9hf_vfp_neon
> packagegroup-core-boot at imx6qsabresd locale-base-en-us at cortexa9hf_vfp_neon
> locale-base-en-gb at cortexa9hf_vfp_neon' returned 1:
> Loading cache...
> Updating cache...               ########################################
> [100%]

Easiest way to fix it is removing your 'tmp' directory inside of your
build dir. This should get it into a consistent state and will reuse
the sstate-cache of already built packages.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


More information about the meta-freescale mailing list