openbmc.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Patrick Williams <patrick@stwcx.xyz>
To: OpenBMC List <openbmc@lists.ozlabs.org>
Subject: Re: Yocto changes to TEMPLATECONF location.
Date: Mon, 12 Sep 2022 14:34:32 -0500	[thread overview]
Message-ID: <Yx+JyMUlGHdVmbw3@heinlein.stwcx.org.github.beta.tailscale.net> (raw)
In-Reply-To: <Yxtir+PEKipZyPXU@heinlein.stwcx.org.github.beta.tailscale.net>

[-- Attachment #1: Type: text/plain, Size: 1889 bytes --]

On Fri, Sep 09, 2022 at 10:58:39AM -0500, Patrick Williams wrote:
> Hello,
> 
> An upstream Yocto changes is causing us to move the location of the
> template config files in our machine layers.  These are the
> `bblayers.conf.sample` and `local.conf.sample` locations.
> 
> I have made all the necessary changes (basically just file moves) in
> our tree[1] and some minor changes to the `setup` script.  If you happen
> to use `openbmc-env` to set up your environment, you will need to
> adjust the TEMPLATECONF environment variable accordingly (look at
> `setup` for an example).
> 
> I have also updated any references in docs[2] to avoid usage of
> `openbmc-env` and `TEMPLATECONF` and switch instead to recommend `setup`
> workflows.
> 
> If you have any machines in a downstream fork you may also need to make
> similar file location changes once we pull in the next subtree update.
> These might be helpful for you:
> 
> ```
>    $ git ls-files "**/*.sample" | \
>      grep -v -e poky -e meta-security -e meta-openembedded | \
>      xargs -n1 dirname | sed 's#$#/templates/default#' | \
>      sort | uniq | xargs mkdir -p
>    $ git ls-files "**/*.sample" | \
>      grep -v -e poky -e meta-security -e meta-openembedded | \
>      sed 's#\(.*\)/conf/\(.*\)#\1/conf/\2 \1/conf/templates/default/\2#' | \
>      xargs -n2 git mv -f
> ```
> 
> 1. https://gerrit.openbmc.org/c/openbmc/openbmc/+/57049
> 2. https://gerrit.openbmc.org/c/openbmc/docs/+/57050
> 
> -- 
> Patrick Williams

The conf-notes.txt files also needed to be moved.

```
    $ git ls-files "**/conf-notes.txt" | \
      grep -v -e poky -e meta-security -e meta-openembedded | \
      sed 's#\(.*\)/conf/\(.*\)#\1/conf/\2 \1/conf/templates/default/\2#' | \
      xargs -n2 git mv -f
```

https://gerrit.openbmc.org/c/openbmc/openbmc/+/57094

-- 
Patrick Williams

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

      reply	other threads:[~2022-09-12 19:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-09 15:58 Yocto changes to TEMPLATECONF location Patrick Williams
2022-09-12 19:34 ` Patrick Williams [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Yx+JyMUlGHdVmbw3@heinlein.stwcx.org.github.beta.tailscale.net \
    --to=patrick@stwcx.xyz \
    --cc=openbmc@lists.ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).