diff options
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/dev-manual/dev-manual-common-tasks.xml | 20 |
1 files changed, 9 insertions, 11 deletions
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 @@ | |||
6933 | you would not generally release. | 6933 | you would not generally release. |
6934 | However, the more serious issue for most companies is accidental | 6934 | However, the more serious issue for most companies is accidental |
6935 | release of proprietary software. | 6935 | release of proprietary software. |
6936 | The Yocto Project provides an archiver class to help avoid | 6936 | The Yocto Project provides an |
6937 | some of these concerns. | 6937 | <ulink url='&YOCTO_DOCS_REF_URL;#ref-classes-archiver'><filename>archiver</filename></ulink> |
6938 | See the | 6938 | class to help avoid some of these concerns. |
6939 | "<ulink url='&YOCTO_DOCS_REF_URL;#ref-classes-archiver'><filename>archive*.bbclass</filename></ulink>" | ||
6940 | section in the Yocto Project Reference Manual for information | ||
6941 | on this class. | ||
6942 | </para> | 6939 | </para> |
6943 | 6940 | ||
6944 | <para> | 6941 | <para> |
@@ -6947,16 +6944,17 @@ | |||
6947 | provide source. | 6944 | provide source. |
6948 | The source archiver class can generate tarballs and SRPMs | 6945 | The source archiver class can generate tarballs and SRPMs |
6949 | and can create them with various levels of compliance in mind. | 6946 | and can create them with various levels of compliance in mind. |
6947 | </para> | ||
6948 | |||
6949 | <para> | ||
6950 | One way of doing this (but certainly not the only way) is to | 6950 | One way of doing this (but certainly not the only way) is to |
6951 | release just the original source as a tarball. | 6951 | release just the source as a tarball. |
6952 | You can do this by adding the following to the | 6952 | You can do this by adding the following to the |
6953 | <filename>local.conf</filename> file found in the | 6953 | <filename>local.conf</filename> file found in the |
6954 | <link linkend='build-directory'>Build Directory</link>: | 6954 | <link linkend='build-directory'>Build Directory</link>: |
6955 | <literallayout class='monospaced'> | 6955 | <literallayout class='monospaced'> |
6956 | ARCHIVER_MODE ?= "original" | 6956 | INHERIT += "archiver" |
6957 | ARCHIVER_CLASS = "${@'archive-${ARCHIVER_MODE}-source' if ARCHIVER_MODE != 'none' else ''}" | 6957 | ARCHIVER_MODE[src] = "original" |
6958 | INHERIT += "${ARCHIVER_CLASS}" | ||
6959 | SOURCE_ARCHIVE_PACKAGE_TYPE = "tar" | ||
6960 | </literallayout> | 6958 | </literallayout> |
6961 | During the creation of your image, the source from all | 6959 | During the creation of your image, the source from all |
6962 | recipes that deploy packages to the image is placed within | 6960 | recipes that deploy packages to the image is placed within |