Use the devtool modify
command to begin
modifying the source of an existing recipe.
This command is very similar to the
add
command except that it does not physically create the
recipe in the workspace layer because the recipe already
exists in an another layer.
The devtool modify
command extracts the
source for a recipe, sets it up as a Git repository if the
source had not already been fetched from Git, checks out a
branch for development, and applies any patches from the recipe
as commits on top.
You can use the following command to checkout the source
files:
$ devtool modify -xrecipe
path-to-source
Using the above command form, the default development branch would be "devtool".
If you want to name a development branch, use the
-b
option with the
-x
option:
$ devtool modify -x -bbranch
recipe
path-to-source
devtool modify --help
command.