Bug 401

Summary: dpkg needs to be updated to support pseudo
Product: [Build System, Metadata & Runtime] Meta-yocto Reporter: Saul Wold <sgw>
Component: meta-yoctoAssignee: Dongxiao Xu <dongxiao.xu>
Status: VERIFIED FIXED QA Contact:
Severity: critical    
Priority: High CC: jessica.zhang, kevin.tian, poky.bs.watcher, poky.watcher, richard.purdie, sgw
Version: 0.9   
Target Milestone: 0.9 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Program Management Documentation change: ---

Description Saul Wold 2010-10-06 10:51:26 UTC
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.
Comment 2 Saul Wold 2010-10-14 17:10:48 UTC
Tested rootfs build with package_deb as primary and it built correctly