All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: alex.kanavin@gmail.com, bitbake-devel@lists.openembedded.org,
	 yocto@lists.yoctoproject.org,
	openembedded-architecture@lists.openembedded.org
Cc: Alexander Kanavin <alex@linutronix.de>
Subject: Re: [Openembedded-architecture] [RFC PATCH] bitbake-setup: add the proof of concept implementation
Date: Mon, 10 Jun 2024 12:22:29 +0100	[thread overview]
Message-ID: <17fdbe98636e4e93ba2f7dfd52e294d2fb479ff3.camel@linuxfoundation.org> (raw)
In-Reply-To: <20240502105745.3073153-1-alex.kanavin@gmail.com>

On Thu, 2024-05-02 at 12:57 +0200, Alexander Kanavin via lists.openembedded.org wrote:
> From: Alexander Kanavin <alex@linutronix.de>
> 
> For the rationale and design guidelines please see this message:
> https://lists.openembedded.org/g/openembedded-architecture/message/1913
> 
> Left out for now but will be done later:
> - config fragment support
> - tests
> - documentation
> - official configuration repository

I finally got around to looking at bitbake-setup, sorry about the
delay. For some reason I've been struggling to want to start thinking
about this!

My initial impressions are really good, I think it is a start down the
right path for what we need. I've noted down my thoughts as they came
to me:

From the init command, it isn't clear what build.sh is for. I think it
should also mention the traditional build env file too, make it clear
where that is.

I struggled to find the --build-dir option to init, I tried to specify
a direction as the next parameter but that has to be named.

For the cloning of repos, I wondered if we should have some config file
in HOME with a pointer to a central downloads/clone cache? The
autobuilder will certainly need something like that. Whether we could
use a common cache with DL_DIR remains to be seen too.

I'm not sure I like the build config being moved out the way when
updating. The tmpdir "ABI" and conf file versioning should protect us
from the worst problems?

Also, once you're "in" a build environment, can we can bitbake-setup
without parameters, i.e "bitbake-setup status" and "bitbake-setup
update"? Effectively that means teaching init-build-env about the
environment it is in so that bitbake-setup can then read the right
config from the env.

For demo purposes it might help if we could add a "poky-ng" config,
which would be poky, but built using the config from the individual
bitbake/core/meta-yocto/docs components. That shouldn't be too hard to
add?

I'll be experimenting a bit more but I wanted to give some feedback now
I've taken a look.

Cheers,

Richard



  reply	other threads:[~2024-06-10 11:22 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-02 10:57 [RFC PATCH] bitbake-setup: add the proof of concept implementation Alexander Kanavin
2024-06-10 11:22 ` Richard Purdie [this message]
2024-06-12  8:46   ` [Openembedded-architecture] " Alexander Kanavin
2024-08-23 10:00     ` Richard Purdie
2024-09-05 21:10 ` [bitbake-devel] " Ryan Eatmon
2024-09-09  9:33   ` Alexander Kanavin
2024-09-10 15:02     ` Ryan Eatmon
2024-09-10 15:46       ` Alexander Kanavin
     [not found]       ` <17F3EC948BF602BE.32151@lists.openembedded.org>
2024-09-11 10:25         ` Alexander Kanavin
     [not found]     ` <17F3EA3357E17FAE.2628@lists.openembedded.org>
2024-09-10 19:57       ` Ryan Eatmon

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=17fdbe98636e4e93ba2f7dfd52e294d2fb479ff3.camel@linuxfoundation.org \
    --to=richard.purdie@linuxfoundation.org \
    --cc=alex.kanavin@gmail.com \
    --cc=alex@linutronix.de \
    --cc=bitbake-devel@lists.openembedded.org \
    --cc=openembedded-architecture@lists.openembedded.org \
    --cc=yocto@lists.yoctoproject.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.