combo-layer.conf.example 3.0 KB

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