Bug 1370 - IPK does not build out if packages_ipk is not first.
Summary: IPK does not build out if packages_ipk is not first.
Status: RESOLVED FIXED
Alias: None
Product: Meta-yocto
Classification: Build System, Metadata & Runtime
Component: meta-yocto (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: High major
Target Milestone: 1.1
Assignee: Dongxiao Xu
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2011-08-15 11:19 UTC by Beth Flanagan
Modified: 2011-08-29 06:24 UTC (History)
5 users (show)

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


Attachments

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