DRAFT weboslayers.py: Clarify the semantics of the "submission" item

Also tweak various other portions of the commentary.
This commit is contained in:
Herb Kuta 2019-05-31 09:33:35 -07:00
parent 9017d3839c
commit 4ebf59c579
1 changed files with 20 additions and 21 deletions

View File

@ -1,4 +1,4 @@
# Copyright (c) 2008-2018 LG Electronics, Inc. # Copyright (c) 2008-2019 LG Electronics, Inc.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License. # you may not use this file except in compliance with the License.
@ -12,11 +12,9 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
# #
# This implementation introduces next generation build environment for # Configuration file for the webOS build configuration tool "mcf". The file
# Open webOS. The change introduces a mechanism to add additional layers to the # specifies the name of the distribution, the supported MACHINE-s, and the
# base ones: oe-core, meta-oe, and meta-webos, and to specify the commits to be # layers used in the build. The layers are specified via:
# used for each. mcf now expects the layers to be defined in this file
# (weboslayers.py in the same directory as mcf) as a list of Python data tuples:
# #
# webos_layers = [ # webos_layers = [
# ('layer-name', priority, 'URL', 'submission', 'working-dir'), # ('layer-name', priority, 'URL', 'submission', 'working-dir'),
@ -31,32 +29,33 @@
# priority = Integer layer priority as defined by OpenEmbedded. It also # priority = Integer layer priority as defined by OpenEmbedded. It also
# specifies the order in which layers are searched for files. # specifies the order in which layers are searched for files.
# Larger values have higher priority. A value of -1 indicates # Larger values have higher priority. A value of -1 indicates
# that the entry is not a layer; for example, bitbake. # that the entry is not for a metadata layer; for example,
# bitbake.
# #
# URL = The Git repository address for the layer from which to clone. # URL = Git repository address of the layer from which to clone. A value
# A value of '' skips the cloning. # of '' skips the cloning.
# #
# submission = The information used by Git to checkout and identify the precise # submission = Information used by Git to fetch the layer and to name the local
# content. Submission values could be "branch=<name>" and # branch. This item has the form:
# "commit=<id>" or "tag=<tag>". Omitted branch information means # [branch=<remote-branch-name>][,][commit=<id>|tag=<tag>]
# only that "master" will be used as the name of the local # The default for <remote-branch-name> is the branch pointed to by
# branch. Omitted commit or tag means origin/HEAD will be checked # "origin/HEAD", which is usually "master". If neither "commit"
# out (which might NOT be origin/master, although # nor "tag" are present, the current head of <remote-branch-name>
# it usually is). # is fetched. Note that the commit fetched does not have to lie
# along <remote-branch-name>. If the value of the item is '', no
# fetch is done for the layer.
# #
# working-dir = Alternative directory for the layer. # working-dir = Alternative directory for the layer.
# #
# The name of the distribution is also defined in this file
# along with a list of the valid MACHINE-s
#
# Value for DISTRO
Distribution = "webos" Distribution = "webos"
# Supported MACHINE-s # Supported MACHINE-s
Machines = ['raspberrypi3','qemux86'] Machines = ['raspberrypi3','qemux86']
# github.com/openembedded repositories are read-only mirrors of the authoritative # Note that the github.com/openembedded repositories are read-only mirrors of
# repositories on git.openembedded.org # the authoritative repositories on git.openembedded.org .
webos_layers = [ webos_layers = [
('bitbake', -1, 'git://github.com/openembedded/bitbake.git', 'branch=1.32,commit=0193e1f', ''), ('bitbake', -1, 'git://github.com/openembedded/bitbake.git', 'branch=1.32,commit=0193e1f', ''),