xref: /openbmc/openbmc/poky/scripts/combo-layer.conf.example (revision eb8dc40360f0cfef56fb6947cc817a547d6d9bc6)
1# combo-layer example configuration file
2
3# Default values for all sections.
4[DEFAULT]
5
6# Add 'Signed-off-by' to all commits that get imported automatically.
7signoff = True
8
9# component name
10[bitbake]
11
12# Override signedoff default above (not very useful, but possible).
13signoff = False
14
15# mandatory options
16# git upstream uri
17src_uri = git://git.openembedded.org/bitbake
18
19# the directory to clone the component repo
20local_repo_dir = /home/kyu3/src/test/bitbake
21
22# the relative dir within the combo repo to put the component files
23# use "." if the files should be in the root dir
24dest_dir = bitbake
25
26# the last update revision.
27# "init" will set this to the latest revision automatically, however if it
28# is empty when "update" is run, the tool will start from the first commit.
29# Note that this value will get updated by "update" if the component repo's
30# latest revision changed and the operation completes successfully.
31last_revision =
32
33# optional options:
34
35# branch: specify the branch in the component repo to pull from
36# (master if not specified)
37
38# file_filter: only include the specified file(s)
39# file_filter = [path] [path] ...
40# example:
41#   file_filter = src/  : only include the subdir src
42#   file_filter = src/*.c : only include the src *.c file
43#   file_filter = src/main.c src/Makefile.am : only include these two files
44
45# file_exclude: filter out these file(s)
46# file_exclude = [path] [path] ...
47#
48# Each entry must match a file name. In contrast do file_filter, matching
49# a directory has no effect. To achieve that, use append a * wildcard
50# at the end.
51#
52# Wildcards are applied to the complete path and also match slashes.
53#
54# example:
55#   file_exclude = src/foobar/*  : exclude everything under src/foobar
56#   file_exclude = src/main.c : filter out main.c after including it with file_filter = src/*.c
57#   file_exclude = *~ : exclude backup files
58
59# hook: if provided, the tool will call the hook to process the generated
60#     patch from upstream, and then apply the modified patch to the combo
61#     repo.
62# the hook script is called as follows: ./hook patchpath revision reponame
63# example:
64#     hook = combo-layer-hook-default.sh
65
66# since_revision:
67#   since_revision = release-1-2
68#   since_revision = 12345 abcdf
69#
70# If provided, truncate imported history during "combo-layer --history
71# init" at the specified revision(s).  More than one can be specified
72# to cut off multiple component branches.
73#
74# The specified commits themselves do not get imported. Instead, an
75# artificial commit with "unknown" author is created with a content
76# that matches the original commit.
77
78[oe-core]
79src_uri = git://git.openembedded.org/openembedded-core
80local_repo_dir = /home/kyu3/src/test/oecore
81dest_dir = .
82last_revision =
83since_revision = some-tag-or-commit-on-master-branch
84
85# It is also possible to embed python code in the config values. Similar
86# to bitbake it considers every value starting with @ to be a python
87# script.
88# e.g. local_repo_dir could easily be configured using an environment
89# variable:
90#
91# [bitbake]
92# local_repo_dir = @os.getenv("LOCAL_REPO_DIR") + "/bitbake"
93#
94