From: Jan Kiszka <jan.kiszka@siemens.com>
To: Alexander Smirnov <asmirnov@ilbers.de>
Cc: isar-users <isar-users@googlegroups.com>
Subject: Re: dpkg-base.bbclass: Mistake in stamp name?
Date: Wed, 14 Feb 2018 18:28:44 +0100 [thread overview]
Message-ID: <27224cc3-00eb-6996-aa3d-9e143291cd91@siemens.com> (raw)
In-Reply-To: <5aba504e-89da-768f-7e9e-2f9310c00aa2@ilbers.de>
On 2018-02-14 18:10, Alexander Smirnov wrote:
> On 02/14/2018 06:56 PM, Jan Kiszka wrote:
>> addtask deploy_deb after do_build
>> do_deploy_deb[stamp-extra-info] = "${DISTRO}-${MACHINE}"
>>
>> Shouldn't this be "${DISTRO}-${DISTRO_ARCH}"?
>
> Huh, good finding. IIRC initially there was issue with RPi and qemuarm.
> Both of these boards have the same ${DISTRO_ARCH}.
>
> 1. Initially Isar supported only one Debian distribution, so to
> distinguish stamps between machines, the ${MACHINE} suffix was used.
>
> 2. Then another distribution was added, but there was no split in
> ${TMPDIR} like you see now, ${WORKDIRS} were split by distro or arch
> name only, so RPi and qemuarm had shared working directory.
>
> 3. Some tasks were shared for example do_unpack for qemuarm and rpi, but
> some tasks like do_build and do_deploy should run per-machine.
>
> 4. Some stamps were fixed after splitting of ${TMPDIR}, seems this one
> was missed.
>
> For now I guess this makes no sense, we have complete split of
> workspaces in ${TMPDIR}. So "${DISTRO}-${DISTRO_ARCH}" could be used.
>
OK, will send the patch I already have queued up.
>
> But your question pointed me to another topic:
>
> 1. We have two armhf boards, let's say Rpi1 and RPi2.
>
> 2. I want two Jessie images for this boards.
>
> 3. How we should process them in Isar? With current layout the only one
> configuration will be compiled. How kernel packages should be
> distinguished?
See my new KERNEL_NAME which can be set in the related multiconfig
files. Should work fine.
Jan
--
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux
prev parent reply other threads:[~2018-02-14 17:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-14 15:56 Jan Kiszka
2018-02-14 17:10 ` Alexander Smirnov
2018-02-14 17:28 ` Jan Kiszka [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=27224cc3-00eb-6996-aa3d-9e143291cd91@siemens.com \
--to=jan.kiszka@siemens.com \
--cc=asmirnov@ilbers.de \
--cc=isar-users@googlegroups.com \
/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