Bug 401 - dpkg needs to be updated to support pseudo
Summary: dpkg needs to be updated to support pseudo
Status: VERIFIED FIXED
Alias: None
Product: Meta-yocto
Classification: Build System, Metadata & Runtime
Component: meta-yocto (show other bugs)
Version: 0.9
Hardware: x86 Multiple
: High critical
Target Milestone: 0.9 M4
Assignee: Dongxiao Xu
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2010-10-06 10:51 UTC by Saul Wold
Modified: 2010-12-21 06:07 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified: Program Management
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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