We have a custom target and have been using the Debian package management
PACKAGE_CLASSES = "package_deb"
EXTRA_IMAGE_FEATURES += "package-management"
When I upgraded from kirkstone to scarthgap, I get the following error as its trying to populate my rootfs "do_rootfs"
W: No sandbox user '_apt' on the system, can not drop privileges
E: Sub-process dpkg returned an error code (1)
I know building the stock "imx-image-core" works so its must be something with one of my recipes or some recipe I'm missing.
For the life of me I can't figure out what I need to do different.
Also, If I comment out the above 2 lines, related to package management, everything builds and I end up with a working image (just without Debian package management).