From f33ffaa3d47813ea1cd23b98bc82eb1f59a655dd Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Tue, 16 Feb 2016 17:29:22 -0800 Subject: dev-manual: Applied more review comments to the section. Closing in on the devtool add and devtool modify sections. (From yocto-docs rev: 202b688c03cc1801576bbed3b771bb329f6b8520) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/dev-manual/dev-manual-model.xml | 38 +++++++++++++++------------ 1 file changed, 21 insertions(+), 17 deletions(-) (limited to 'documentation/dev-manual/dev-manual-model.xml') diff --git a/documentation/dev-manual/dev-manual-model.xml b/documentation/dev-manual/dev-manual-model.xml index cef668408a..1b9a75b61e 100644 --- a/documentation/dev-manual/dev-manual-model.xml +++ b/documentation/dev-manual/dev-manual-model.xml @@ -2051,10 +2051,9 @@ The following command identifies the recipe - and instructs devtool to - extract the source files using the "-x" option: + and by default extracts the source files: - $ devtool modify -x recipe + $ devtool modify recipe Once devtoollocates the recipe, it uses the @@ -2069,10 +2068,11 @@ With this scenario, however, since no srctree argument exists, the - devtool modify command extracts the - source files to a Git structure using the default - location within the workspace. - The result is that the command set up both the source + devtool modify command by default + extracts the source files to a Git structure. + Furthermore, the location for the extracted source is the + default area within the workspace. + The result is that the command sets up both the source code and an append file within the workspace with the recipe remaining in its original location. @@ -2087,18 +2087,20 @@ The following command tells devtool what recipe with - which to work and also uses the "-x" option to - instruct devtool to locate and - extract the source code: + which to work and, in this case, identifies a local + area for the extracted source files that is outside + of the default workspace: - $ devtool modify -x recipe srctree + $ devtool modify recipe srctree As with all extractions, the command uses the recipe's SRC_URI to locate the source files. - Once the files are located, the command extracts - them to the location specified by - srctree. + Once the files are located, the command by default + extracts them. + Providing the srctree + argument instructs devtool where + place the extracted source. Within workspace, devtool creates an append file for the recipe. @@ -2108,7 +2110,8 @@ Right: The right scenario represents a situation - where the source tree (srctree) exists as a + where the source tree + (srctree) exists as a previously extracted Git structure outside of the devtool workspace. In this example, the recipe also exists @@ -2117,11 +2120,12 @@ The following command tells devtool the recipe - with which to work and uses + with which to work, uses the "-n" option to indicate + source does not need to be extracted, and uses srctree to point to the previously extracted source files: - $ devtool modify recipe srctree + $ devtool modify -n recipe srctree -- cgit v1.2.3-54-g00ecf