When dpkg is used to build the rootfs image by having package_deb first in the PACKAGE_CLASSES, the current dpkg code fails with pseudo because it uses the tempnam() call which is insecure. I investigated changing the tempnam() to mkdtemp() as is done in the newer version of dpkg, but it would require additional changes to the code, so I figure that updating the package would be best.
http://git.pokylinux.org/cgit/cgit.cgi/poky/commit/?id=e72e7b2fdc1a628122e7a9ee1e3f2ba4eaf32ba2 And http://git.pokylinux.org/cgit/cgit.cgi/poky/commit/?id=0ae7e9e2cbfbc9e1c59e9fcc39f2f1feafc11bcc
Tested rootfs build with package_deb as primary and it built correctly