Uploaded image for project: 'GENIVI Development Platform'
  1. GENIVI Development Platform
  2. GDP-530

GDP should adopt YP upstream weston-init

    XMLWordPrintable

Details

    Description

      The upstream YP splits the building of Weston and its initialisation into two different recipes, weston*.bb and weston-init*.bb.
      This convention is therefore also mirrored by Yocto BSPs (YBSP) when they amend those recipes, e.g. R-Car Gen 3 YBSP.

      However meta-genivi-dev (m-g-d) has placed initialisation not into weston-init, but the weston recipe. For example the m-g-d weston*.bbappend has a do_install_append() which installs a weston systemd service file and weston.ini. It therefore also includes those files in the SRC_URI.

      The result of this is that the resulting weston.ini in the rootfs does not contain all the changes from the various layers.
      Problem found whilst integrating the Renesas R-Car Gen 3 Yocto BSP with GDP, requiring a special workaround.

      GDP should adopt the upstream convention and place init code in weston-init.bb, not weston.bb. Rather than provide a complete weston.ini, you might consider adding entries with sed.

      AC

      • Checked weston implementation in YP
      • Checked weston implementation in AGL
      • GDP uses as much upstream as possible while trying to stay compatible with AGL

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              stephen.lawrence Stephen Lawrence
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: