* dpkg-base.bbclass: Mistake in stamp name?
@ 2018-02-14 15:56 Jan Kiszka
2018-02-14 17:10 ` Alexander Smirnov
0 siblings, 1 reply; 3+ messages in thread
From: Jan Kiszka @ 2018-02-14 15:56 UTC (permalink / raw)
To: Alexander Smirnov; +Cc: isar-users
addtask deploy_deb after do_build
do_deploy_deb[stamp-extra-info] = "${DISTRO}-${MACHINE}"
Shouldn't this be "${DISTRO}-${DISTRO_ARCH}"?
Jan
--
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: dpkg-base.bbclass: Mistake in stamp name?
2018-02-14 15:56 dpkg-base.bbclass: Mistake in stamp name? Jan Kiszka
@ 2018-02-14 17:10 ` Alexander Smirnov
2018-02-14 17:28 ` Jan Kiszka
0 siblings, 1 reply; 3+ messages in thread
From: Alexander Smirnov @ 2018-02-14 17:10 UTC (permalink / raw)
To: Jan Kiszka; +Cc: isar-users
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.
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?
Alex
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: dpkg-base.bbclass: Mistake in stamp name?
2018-02-14 17:10 ` Alexander Smirnov
@ 2018-02-14 17:28 ` Jan Kiszka
0 siblings, 0 replies; 3+ messages in thread
From: Jan Kiszka @ 2018-02-14 17:28 UTC (permalink / raw)
To: Alexander Smirnov; +Cc: isar-users
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-02-14 17:28 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-14 15:56 dpkg-base.bbclass: Mistake in stamp name? Jan Kiszka
2018-02-14 17:10 ` Alexander Smirnov
2018-02-14 17:28 ` Jan Kiszka
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox