Bug 1757

Summary: sanity tests attempt rpm/zypper checks even on an ipk image
Product: [Build System, Metadata & Runtime] Meta-yocto Reporter: Richard Purdie <richard.purdie>
Component: meta-yoctoAssignee: Jiajun Xu <jiajun.xu>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: poky.bs.watcher, poky.watcher, sgw
Version: unspecified   
Target Milestone: 1.2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Richard Purdie 2011-11-07 05:36:59 UTC
The sanity tests attempt to run rpm-zypper checks on a rootfs generated by the ipk package backend. They should detect its an ipk rootfs and skip the tests.
Comment 1 Jiajun Xu 2011-11-20 18:13:17 UTC
Fixed in poky/master commit: 693ddddd8675ffe1e1c2484482f758af2688b3b7

commit 693ddddd8675ffe1e1c2484482f758af2688b3b7
Author: Jiajun Xu <jiajun.xu@intel.com>
Date:   Thu Nov 17 14:05:50 2011 +0800

    sanitytest: remove rpm/zypper tests if PACKAGE_CLASSES does not set package_rpm

    If PACKAGE_CLASSES does not set package_rpm as the first item, the root filesystem
    will not be generated based on rpm. We need remove rpm/zypper tests against
    non-rpm filesystem.

    [YOCTO #1757]

    (From OE-Core rev: 43adb8dcf4461b68a7ce0ba9d8acdb2012a70416)

    Signed-off-by: Jiajun Xu <jiajun.xu@intel.com>
    Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>