From b02932eb720de865c60bfb2d5b94110ebc7c16b7 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Fri, 4 Apr 2014 11:02:50 -0700 Subject: dev-manual: Edits to "Providing the Source Code" section. Fixed some links to the arichiver class. Also updated the example to use the new ARCHIVER_MODE variable. (From yocto-docs rev: 0774ddd2f83586c61f71f1b251fd559ccca45f50) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/dev-manual/dev-manual-common-tasks.xml | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) (limited to 'documentation/dev-manual') diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml index b8be01b012..d9be6a0b46 100644 --- a/documentation/dev-manual/dev-manual-common-tasks.xml +++ b/documentation/dev-manual/dev-manual-common-tasks.xml @@ -6933,12 +6933,9 @@ you would not generally release. However, the more serious issue for most companies is accidental release of proprietary software. - The Yocto Project provides an archiver class to help avoid - some of these concerns. - See the - "archive*.bbclass" - section in the Yocto Project Reference Manual for information - on this class. + The Yocto Project provides an + archiver + class to help avoid some of these concerns. @@ -6947,16 +6944,17 @@ provide source. The source archiver class can generate tarballs and SRPMs and can create them with various levels of compliance in mind. + + + One way of doing this (but certainly not the only way) is to - release just the original source as a tarball. + release just the source as a tarball. You can do this by adding the following to the local.conf file found in the Build Directory: - ARCHIVER_MODE ?= "original" - ARCHIVER_CLASS = "${@'archive-${ARCHIVER_MODE}-source' if ARCHIVER_MODE != 'none' else ''}" - INHERIT += "${ARCHIVER_CLASS}" - SOURCE_ARCHIVE_PACKAGE_TYPE = "tar" + INHERIT += "archiver" + ARCHIVER_MODE[src] = "original" During the creation of your image, the source from all recipes that deploy packages to the image is placed within -- cgit v1.2.3-54-g00ecf