bsp30.0 build err in fsl-image-auto-1.0-r0 do_rootfs

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

bsp30.0 build err in fsl-image-auto-1.0-r0 do_rootfs

Jump to solution
2,336 Views
lily95
Contributor I

Hello Community:

I got some errs while i building the image for my s32g brd :s32g274ardb.

i run the cmds fellow:

$: mkdir ~/bin
$: curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
$: chmod a+x ~/bin/repo
$: PATH=${PATH}:~/bin

$: mkdir fsl-auto-yocto-bsp
$: cd fsl-auto-yocto-bsp
$: repo init -u https://source.codeaurora.org/external/autobsps32/auto_yocto_bsp -b release/bsp30.0-5.10.41-rt
$: repo sync

. sources/meta-alb/scripts/host-prepare.sh

. nxp-setup-alb.sh -m s32g274ardb

bitbake fsl-image-auto.

 

and i got the errs like:

ERROR: fsl-image-auto-1.0-r0 do_rootfs: The postinstall intercept hook 'update_mime_database' failed

ERROR: Task (/usr1/bsp1116/fsl-auto-yocto-bsp/sources/meta-alb/recipes-fsl/images/fsl-image-auto.bb:do_rootfs) failed with exit code

i upload the logfile : log.do_rootfs 

Thanks for any suggestion!

 

 

 

0 Kudos
1 Solution
2,281 Views
bpe
NXP Employee
NXP Employee

mime-type-database has to do with graphic environment which is not available in
fsl-image-auto. The post-install script that fails on your machine should
basically do nothing for fsl-image-auto, so it is not clear why that error
appears. Possible actions to fix:

  • Undo any local modifications you made to BSP recipes and other control files.
  • Do a full cleanup and rebuild.
  • Reinstall everything anew from the exact branch specified in the BSP manual: release/bsp30.0
  • Perform builds on a verified host Linux distro: Ubuntu-18.04 LTS
  • Set the default locate to en_US

Hope this helps,
Platon

 

View solution in original post

0 Kudos
1 Reply
2,282 Views
bpe
NXP Employee
NXP Employee

mime-type-database has to do with graphic environment which is not available in
fsl-image-auto. The post-install script that fails on your machine should
basically do nothing for fsl-image-auto, so it is not clear why that error
appears. Possible actions to fix:

  • Undo any local modifications you made to BSP recipes and other control files.
  • Do a full cleanup and rebuild.
  • Reinstall everything anew from the exact branch specified in the BSP manual: release/bsp30.0
  • Perform builds on a verified host Linux distro: Ubuntu-18.04 LTS
  • Set the default locate to en_US

Hope this helps,
Platon

 

0 Kudos