Bug 1172 - Perl not exist in sato image
Summary: Perl not exist in sato image
Status: VERIFIED WONTFIX
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.1
Assignee: Jiajun Xu
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2011-06-16 18:45 UTC by wenhua.fan
Modified: 2011-08-01 01:34 UTC (History)
10 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.
Comment 1 wenhua.fan 2011-06-27 20:46:20 UTC
Tree/Branch: Poky/master
Commit: a1f79a7896b6411669b3ccada6204d2695e80fc5


Sato image for Qemux86-64 have the same issue in Yocto 20110724 build.
Comment 2 wenhua.fan 2011-06-27 21:04:05 UTC
Tree/Branch: Poky/master
Commit: a1f79a7896b6411669b3ccada6204d2695e80fc5


Sato image for Qemux86 and Qemux86-64 have the same issue in Yocto 20110724 build.
Comment 3 Richard Purdie 2011-07-06 09:24:12 UTC
What required perl in the sato image?
Comment 4 wenhua.fan 2011-07-12 23:49:46 UTC
(In reply to comment #3)
> What required perl in the sato image?

Before this build, perl is exist in sato image, so when executing the test case about perl, we hope perl exist in current image.
Comment 5 Jiajun Xu 2011-08-01 01:34:17 UTC
Perl disappeared after commit b71f3e4cea56fbce2d303d321734a7098116cccd,

#########
commit b71f3e4cea56fbce2d303d321734a7098116cccd
Author: Saul Wold <sgw@linux.intel.com>
Date:   Tue Jun 7 15:11:09 2011 -0700

    local.conf.sample: remove default EXTRA_IMAGE_FEATURES

    The default list of EXTRA_IMAGE_FEATURES adds alot to the generic non-dev and non-sdk image
    so ensure that the sato-sdk and lsb-sdk includes this list by default.

    Signed-off-by: Saul Wold <sgw@linux.intel.com>

diff --git a/meta-yocto/conf/local.conf.sample b/meta-yocto/conf/local.conf.sample
index 359e510..ea32b81 100644
--- a/meta-yocto/conf/local.conf.sample
+++ b/meta-yocto/conf/local.conf.sample
@@ -53,15 +53,8 @@ BBMASK = ""
 #                    e.g. ssh root access has a blank password
 # There are other application targets too, see meta/classes/core-image.bbclass
 # and meta/recipes-core/tasks/task-core.bb for more details.
-
-EXTRA_IMAGE_FEATURES = "tools-debug tools-profile tools-testapps debug-tweaks"
-
-# The default IMAGE_FEATURES above are too large for the mx31phy and
-# c700/c750 machines which have limited space. The code below limits
-# the default features for those machines.
-EXTRA_IMAGE_FEATURES_c7x0 = "tools-testapps debug-tweaks"
-EXTRA_IMAGE_FEATURES_mx31phy = "debug-tweaks"
-EXTRA_IMAGE_FEATURES_mx31ads = "tools-testapps debug-tweaks"
+# The -sdk image includes these features by default now.
+EXTRA_IMAGE_FEATURES = "debug-tweaks"
#########

tools-profile depends on perf, which introduces perl when building image. By default, tools-profile is in EXTRA_IMAGE_FEATURES, but after above commit, it's not enabled so perf and perl are not built in.

With sato-sdk image, tools-profile is defined in core-image-sato-sdk.bb, so we still have perl in sato-sdk image.

My suggestion is to mark the bug as WONTFIX because it's natural we don't support -tools in other images, except for -sdk images.
Comment 6 Jiajun Xu 2011-08-01 01:34:41 UTC
verify the bug, QA will remove perl tests for -sato images.