AnsweredAssumed Answered

ltib cannot create rootfs /var/lib/rpm database for imx28

Question asked by Dan Edmondson on Apr 6, 2016
Latest reply on Apr 22, 2016 by Dan Edmondson

Hi all,

I am trying to get the imx28 eval package L2.6.35_1.1.0_130130_source built. I have worked through adding some needed libraries and now have the ltib configuration menu coming up. I can navigate through the menu, select imx28 and the default minimum package, and save the configuration. However, after ltib continues I get the following error, which seems to be caused when ltib is trying to create the rpm database in the new rootfs.

 

Press <enter to continue>

error: cannot open Packages index using db3 - No such file or directory (2)
CONFIG_TOOLCHAIN forced a full rebuild
Installing: gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12-1.i386.rpm
sudo /opt/freescale/ltib/usr/bin/rpm --dbpath /opt/freescale/ltib/var/lib/rpm -ivh --force --ignorearch --nodeps /opt/freescale/pkgs/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12-1.i386.rpm
Preparing...                ########################################### [100%]
   1:gcc-4.6.2-glibc-2.13-li########################################### [100%]

Processing platform: Freescale iMX28 Based Boards
===================================================
using config/platform/imx/.config
error: cannot open Packages index using db3 - No such file or directory (2)
/opt/freescale/ltib/usr/bin/rpm --root /nxp_linux/ltib/rootfs --dbpath /var/lib/rpm -qa --queryformat '%{name} ' at ./ltib line 2016.

 

And here is the rootfs that ltib is attempting to build and it is blank.

/nxp_linux/ltib/rootfs/var/lib/rpm: ls

/nxp_linux/ltib/rootfs/var/lib/rpm:

 

I have tried --initdb and --rebuilddb but cannot get the rootfs to build properly. I am hoping someone else has had this issue and discovered how to resolve this. Any help would be appreciated.

 

Dan

Outcomes