I am building a custom yocto image based on rocko (2.5.2) for a custom board equiped with a Xilinx Zynq7000.to generate a wic file I am usind sdimage-sota.wks.
I added debian package management in my local.conf with
PACKAGE_CLASSES ?= " package_deb"
EXTRA_IMAGE_FEATURES ?= "debug-tweaks package-management"
I also ran the command bitbake package-index
.
There is no dpkg-package included in my recipes.
After building and flashing the image I get this error message: dpkg: error: unable to access dpkg status area: No such file or directory
when I try to install a deb package.
When I extract the rootfs.tar.gz file after building, there is a /var/lib/dpkg
directory.
If I flash the wic file to my board inside u-boot using tftpboot and mmc write there is no /var/lib/dpkg directory.
Why is the directory missing after flashing the wic file? Is it possible, that the sdimage-sota.wks is excluding this?
This is my bblaiers.conf: