From: Henning Schild <henning.schild@siemens.com>
To: "Maxim Yu. Osipov" <mosipov@ilbers.de>
Cc: isar-users <isar-users@googlegroups.com>
Subject: Re: Upgrading bitbake in isar
Date: Fri, 2 Nov 2018 10:55:08 +0100 [thread overview]
Message-ID: <20181102105508.79c689a6@md1za8fc.ad001.siemens.net> (raw)
In-Reply-To: <f86fbd8c-38f1-a2e3-829a-0d69b1538dec@ilbers.de>
Hi,
i already did that a few months ago and just went for latest-greatest.
And as expected that worked without much headache, after all it is only
our build tool which seems to be mostly backward compatible.
I remember a few warnings that would probably have required recipe
updates to silence them, but it did build on the first try (even the
whole thing in your CI). After that i spent some time on wic, which was
not that easy.
So i suggest "1.40". If you hit any blocking points a lower version
might also be ok, but i would not expect any. The trickier thing would
be to make Isar properly use the new bitbake after the bump. (using new
features, removing workarounds and alike).
Henning
Am Thu, 1 Nov 2018 13:45:20 +0300
schrieb "Maxim Yu. Osipov" <mosipov@ilbers.de>:
> Hi everybody,
>
> I had several times requests regarding bitbake's upgrade in isar.
> Do you have any suggestions about bitbake's revision to fast-forward?
>
> Kind regards,
> Maxim.
>
> -------- Forwarded Message --------
> Subject: Re: [PATCH] bitbake: Allow setting DL_DIR from environment
> Date: Wed, 31 Oct 2018 07:39:01 +0100
> From: Jan Kiszka <jan.kiszka@siemens.com>
> To: Harald Seiler <hws@denx.de>, isar-users@googlegroups.com
>
> On 30.10.18 17:44, Harald Seiler wrote:
> > This patch allows adding DL_DIR to BB_ENV_EXTRAWHITE
> > and then specifying a custom DL_DIR in the environment.
> >
> > This behavior mirrors the one in poky.
> >
> > Signed-off-by: Harald Seiler <hws@denx.de>
> > ---
> > bitbake/conf/bitbake.conf | 2 +-
>
> We do not patch bitbake so far. Is this fix in upstream already? Then
> let's fast-forward bitbake to that revision. If not, send it upstream
> first. Local, isar-specific changes go to isar-bitbake.conf.
>
> Jan
>
> > meta/conf/isar-bitbake.conf | 2 +-
> > 2 files changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/bitbake/conf/bitbake.conf b/bitbake/conf/bitbake.conf
> > index a460df4..ba0d68b 100644
> > --- a/bitbake/conf/bitbake.conf
> > +++ b/bitbake/conf/bitbake.conf
> > @@ -23,7 +23,7 @@ CVSDIR = "${DL_DIR}/cvs"
> > DEPENDS = ""
> > DEPLOY_DIR = "${TMPDIR}/deploy"
> > DEPLOY_DIR_IMAGE = "${DEPLOY_DIR}/images"
> > -DL_DIR = "${TMPDIR}/downloads"
> > +DL_DIR ?= "${TMPDIR}/downloads"
> > FILESPATH =
> > "${FILE_DIRNAME}/${PF}:${FILE_DIRNAME}/${P}:${FILE_DIRNAME}/${PN}:${FILE_DIRNAME}/files:${FILE_DIRNAME}"
> > FILE_DIRNAME = "${@os.path.dirname(d.getVar('FILE', False))}"
> > GITDIR = "${DL_DIR}/git" diff --git a/meta/conf/isar-bitbake.conf
> > b/meta/conf/isar-bitbake.conf index 666c4a3..39e73f6 100644
> > --- a/meta/conf/isar-bitbake.conf
> > +++ b/meta/conf/isar-bitbake.conf
> > @@ -19,7 +19,7 @@
> > # OTHER DEALINGS IN THE SOFTWARE.
> >
> > WORKDIR = "${TMPDIR}/work/${DISTRO}-${DISTRO_ARCH}/${PF}"
> > -DL_DIR = "${TOPDIR}/downloads"
> > +DL_DIR ?= "${TOPDIR}/downloads"
> > SSTATE_DIR ?= "${TMPDIR}/sstate-cache"
> > BUILDCHROOT_HOST_DIR =
> > "${TMPDIR}/work/${DISTRO}-${DISTRO_ARCH}/buildchroot-host/rootfs"
> > BUILDCHROOT_TARGET_DIR =
> > "${TMPDIR}/work/${DISTRO}-${DISTRO_ARCH}/buildchroot-target/rootfs"
> > -- 2.14.1
>
next prev parent reply other threads:[~2018-11-02 9:55 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-30 16:44 [PATCH] bitbake: Allow setting DL_DIR from environment Harald Seiler
2018-10-31 6:13 ` chombourger
2018-10-31 6:39 ` Jan Kiszka
2018-11-01 10:45 ` Upgrading bitbake in isar Maxim Yu. Osipov
2018-11-02 9:55 ` Henning Schild [this message]
2018-11-06 11:06 ` [PATCH] bitbake: Allow setting DL_DIR from environment Harald Seiler
2018-11-06 11:14 ` Jan Kiszka
2018-11-09 14:11 ` Baurzhan Ismagulov
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=20181102105508.79c689a6@md1za8fc.ad001.siemens.net \
--to=henning.schild@siemens.com \
--cc=isar-users@googlegroups.com \
--cc=mosipov@ilbers.de \
/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