Bug 1370

Summary: IPK does not build out if packages_ipk is not first.
Product: [Build System, Metadata & Runtime] Meta-yocto Reporter: Beth Flanagan <elizabeth.flanagan>
Component: meta-yoctoAssignee: Dongxiao Xu <dongxiao.xu>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: High CC: jessica.zhang, lianhao.lu, poky.bs.watcher, poky.watcher, sgw
Version: unspecified   
Target Milestone: 1.1   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Beth Flanagan 2011-08-15 11:19:35 UTC
This came up with me creating a demo adt-repo:

With PACKAGE_CLASSES ?= "package_rpm package_ipk" only rpms are created. The ipk directory exists, but is not populated.

Workaround:
With PACKAGE_CLASSES ?= "package_ipk package_rpm"

I've not tried to see if this causes rpms not to be created however.
Comment 1 Dongxiao Xu 2011-08-24 01:11:58 UTC
Hi Beth,

The demo adt-repo is a recipe or an image?

If we build a certain recipe, it will call its do_build task and both do_package_write_rpm and do_package_write_ipk will be called. 

But if we build an image, only one style of packaging format will be build out according to the task dependency.

Thanks,
Dongxiao
Comment 2 Jessica 2011-08-24 14:41:13 UTC
Dongxiao,

The demo adt-repo is not a package neither an image.  What Beth was doing was building toolchain and images(e.g. qemux86) and copy the ipk packages to the adt-repo.  And found that ipk packages won't be created if we configured them to be not the 1st in the PACKAGE_CLASSES