Skip to content
Snippets Groups Projects

[Docs] Revamp of BP section in Oniro RTD

4 unresolved threads

Closes: #1 (closed)

We have some unsupported blueprints, whereas others require changing dependencies

@kristis and I changed some of the doc files to make them updated, as booting.oniroproject.org site will be disabled soon

Signed-off-by: Grzegorz Gwóźdź grzegorz.gwozdz@huawei.com

Edited by Grzegorz Gwóźdź

Merge request reports

Approved by

Merged by Eilís Ní FhlannagáinEilís Ní Fhlannagáin 2 years ago (Aug 24, 2022 10:36am UTC)

Merge details

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • added 1 commit

    Compare with previous version

  • added 1 commit

    • 10e5fddd - Delete archive/* and workspace.rst

    Compare with previous version

  • added 1 commit

    • cbe70cfb - Remove doorlock smartpanel and fix links in doorlock file

    Compare with previous version

  • added 1 commit

    Compare with previous version

  • Eilís Ní Fhlannagáin approved this merge request

    approved this merge request

  • added 1 commit

    • 9a0d9d98 - Fix transparent-gateway and vending-machine

    Compare with previous version

  • added 1 commit

    Compare with previous version

  • Grzegorz Gwóźdź marked this merge request as ready

    marked this merge request as ready

  • added 2 commits

    • e5e5fafb - Remove doorlock smartpanel and fix links in doorlock file
    • 74c333b9 - Add layer-adding info to doorlock and workspace

    Compare with previous version

  • added 1 commit

    • bed15f7e - Add layer-adding info to doorlock and workspace

    Compare with previous version

  • added 1 commit

    Compare with previous version

  • added 1 commit

    • 75d86ebd - Add layers adding to transparent-gateway.rst

    Compare with previous version

  • added 1 commit

    • cf447651 - Add layers adding to transparent-gateway.rst

    Compare with previous version

  • added 1 commit

    Compare with previous version

  • added 1 commit

    • 96967489 - Change layers in transparent-gateway.rst

    Compare with previous version

  • added 1 commit

    Compare with previous version

  • added 1 commit

    Compare with previous version

  • added 1 commit

    • 4e4e8299 - Rearrange order of layer-adding

    Compare with previous version

  • added 1 commit

    • a4695e76 - Add layer-adding info to doorlock and workspace

    Compare with previous version

  • philippe coval
  • philippe coval
  • added 1 commit

    • 0516882b - Remove git checkout origin/main

    Compare with previous version

  • @pcoval I've corrected those lines

  • Eilís Ní Fhlannagáin resolved all threads

    resolved all threads

  • Eilís Ní Fhlannagáin approved this merge request

    approved this merge request

  • mentioned in commit 89d3b54e

  • Grzegorz Gwóźdź changed the description

    changed the description

  • philippe coval
    philippe coval @pcoval started a thread on commit e5e5fafb
  • 161 161 This will setup a new build environment in the `build-oniro-vending-machine`
    162 162 directory (or reuse it if it already exists).
    163 163
    164 Add the `meta-oniro-blueprints` layer to the build. This is only needed once
    165 after initializing a new build:
    164 Add layers which are inside `meta-oniro-blueprints-vending-machine` to the build.
    165 This is only needed once after initializing a new build:
    166 166
    167 167 .. code-block:: bash
    168 168
    169 $ bitbake-layers add-layer $CHECKOUT_DIR/meta-homeassistant
    170 $ bitbake-layers add-layer $CHECKOUT_DIR/meta-oniro-blueprints
    169 $ bitbake-layers add-layer $CHECKOUT_DIR/meta-oniro-blueprints-vending-machine/meta-oniro-blueprints-vending-machine
    170 $ bitbake-layers add-layer $CHECKOUT_DIR/meta-oniro-blueprints-vending-machine/meta-oniro-blueprints-core
  • Michał Felak
  • 52
    53 * `meta-homeassistant <https://github.com/meta-homeassistant/meta-homeassistant>`_
    54
    55 .. code-block:: bash
    56
    57 $ cd $CHECKOUT_DIR
    58 $ git clone https://github.com/meta-homeassistant/meta-homeassistant.git
    59 $ cd meta-homeassistant
    60 $ git checkout origin/dunfell
    61
    62 .. note::
    63
    64 If you already have any of these layers cloned and you want to reuse
    65 them, just update the revision of the branch above.
    66
    45 $ git clone --recursive https://gitlab.eclipse.org/eclipse/oniro-blueprints/<name-of-the-blueprint>/meta-oniro-blueprints-<name-of-the-blueprint>
  • Michał Felak
  • 66
    45 $ git clone --recursive https://gitlab.eclipse.org/eclipse/oniro-blueprints/<name-of-the-blueprint>/meta-oniro-blueprints-<name-of-the-blueprint>
    46 $ cd meta-oniro-blueprints-<name-of-the-blueprint>
    67 47
    68 48 #. The first time a build is initialized, after running the `oe-init-build-env`
    69 script, add that layers to the build's `bblayers.conf` either manually or by
    70 running:
    49 script, add all layers present in `meta-oniro-blueprints-<name-of-the-blueprint>`
    50 to the build's `bblayers.conf` either manually or by
    51 running (for each layer separately):
    71 52
    72 53 .. code-block:: bash
    73 54
    74 $ bitbake-layers add-layer $CHECKOUT_DIR/meta-homeassistant
    75 $ bitbake-layers add-layer $CHECKOUT_DIR/meta-oniro-blueprints
    55 $ bitbake-layers add-layer $CHECKOUT_DIR/meta-oniro-blueprints-<name-of-the-blueprint>/<name-of-a-layer>
  • Michał Felak
  • 140 140 software sources and building the OS.
    141 141
    142 142 For fetching or updating the build metadata, follow the :ref:`blueprints
    143 workspace documentation <Workspace>`. This will bring everything you need on
    144 your host to start building an image for this blueprint.
    143 workspace documentation <Workspace>`.
    144
    145 For this specific build, you need to
    146 clone `meta-oniro-blueprints-vending-machine <https://gitlab.eclipse.org/eclipse/oniro-blueprints/vending-machine/meta-oniro-blueprints-vending-machine>`_.
    147
    148 .. code-block:: bash
    149
    150 $ cd $CHECKOUT_DIR
    151 $ git clone --recursive https://gitlab.eclipse.org/eclipse/oniro-blueprints/vending-machine/meta-oniro-blueprints-vending-machine.git
    152 $ cd meta-oniro-blueprints-gateway
  • @pcoval @fldn !7 (merged) I've made some changes

  • Grzegorz Gwóźdź mentioned in merge request !7 (merged)

    mentioned in merge request !7 (merged)

  • Please register or sign in to reply
    Loading