Bug 5730 - Archive work directory and export source package
Summary: Archive work directory and export source package
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.6
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.6 M3
Assignee: Robert Yang
QA Contact: Ionut Chisanovici
URL:
Whiteboard:
: 5816 (view as bug list)
Depends on: 5113
Blocks:
  Show dependency tree
 
Reported: 2014-01-16 13:10 UTC by Ionut Chisanovici
Modified: 2015-08-07 13:51 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ionut Chisanovici 2014-01-16 13:10:53 UTC
BUILD: 1.6_M2_RC1: e4c23f7bcb79072ea6028fbdf8f3f0dc17a63371
ENVIRONMENT: Multiple environments
STEPS TO REPRODUCE: 
1. Download poky source
2. Add following line to meta/classes/package_rpm.bbclass :
inherit archive-original-source
3. Prepare the build environment and add the lines to the conf/local.conf:

INHERIT += "archive-original-source"
SOURCE_ARCHIVE_PACKAGE_TYPE ?= 'srpm' 
SOURCE_ARCHIVE_LOG_WITH_SCRIPTS ?= 'logs_with_scripts'

4. Run "bitbake xcursor-transparent-theme". 

EXPECTED OUTCOME: The srpm packages or tar packages should be in tmp/deploy/sources after build complete.

ACTUAL OUTCOME:


ERROR: Task do_archive_scripts_logs in /home/ionut/work/poky/meta/recipes-devtools/quilt/quilt-native_0.61.bb depends upon non-existent task do_package_write_rpm in /home/ionut/work/poky/meta/recipes-devtools/quilt/quilt-native_0.61.bb

Summary: There was 1 ERROR message shown, returning a non-zero exit code.
Comment 1 Alexandru Palalau 2014-02-13 12:28:34 UTC
*** Bug 5816 has been marked as a duplicate of this bug. ***
Comment 3 Ionut Chisanovici 2014-03-26 13:22:29 UTC
This has been verified with: 47ceed0d8d60a3ddc398738acafe3aabf4ab8c90

Cheers,
Ionut C