From: "Maxim Yu. Osipov" <mosipov@ilbers.de>
To: Jan Kiszka <jan.kiszka@siemens.com>, isar-users@googlegroups.com
Subject: Re: [PATCH] sdk: Move deployment to populate_sdk
Date: Wed, 5 Sep 2018 10:38:10 +0200 [thread overview]
Message-ID: <1b92ced8-b6d6-7d91-0d4e-71958174f364@ilbers.de> (raw)
In-Reply-To: <8246c6e1-96cd-65a8-d7c6-6ba6fc6409fa@siemens.com>
On 08/28/2018 01:09 PM, Jan Kiszka wrote:
> On 2018-08-28 11:46, Maxim Yu. Osipov wrote:
>> Deploy SDK after Isar packages get deployed to
>> local Isar apt repo which is copied afterwards
>> to sdkchroot.
>>
>> Signed-off-by: Maxim Yu. Osipov <mosipov@ilbers.de>
>> ---
>> meta/classes/image.bbclass | 11 +++++++++++
>> meta/recipes-devtools/sdkchroot/sdkchroot.bb | 8 --------
>> 2 files changed, 11 insertions(+), 8 deletions(-)
>>
>> diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
>> index 6a5f0e9..30f8eaa 100644
>> --- a/meta/classes/image.bbclass
>> +++ b/meta/classes/image.bbclass
>> @@ -97,7 +97,18 @@ addtask copy_boot_files before do_build after
>> do_rootfs
>> do_copy_boot_files[dirs] = "${DEPLOY_DIR_IMAGE}"
>> do_copy_boot_files[stamp-extra-info] = "${DISTRO}-${MACHINE}"
>> +SDKCHROOT_DIR =
>> "${TMPDIR}/work/${DISTRO}-${DISTRO_ARCH}/sdkchroot-${HOST_DISTRO}-${HOST_ARCH}"
>>
>> +
>> do_populate_sdk() {
>> + # Copy isar-apt with deployed Isar packages
>> + sudo cp -Trpfx ${DEPLOY_DIR_APT}/${HOST_DISTRO}
>> ${SDKCHROOT_DIR}/rootfs/isar-apt
>
> That also creates the general SDK question: What's the deal with
> ${DEPLOY_DIR_APT}/${HOST_DISTRO} vs. ${DEPLOY_DIR_APT}/${DISTRO}. May
> both contain packages? Where do locally built packages go to, in native
> as well as cross mode? /me still confused.
This is a bug - we have to copy prebuilt packages for target-distro.
Fixed in V2.
Thanks,
Maxim.
--
Maxim Osipov
ilbers GmbH
Maria-Merian-Str. 8
85521 Ottobrunn
Germany
+49 (151) 6517 6917
mosipov@ilbers.de
http://ilbers.de/
Commercial register Munich, HRB 214197
General Manager: Baurzhan Ismagulov
prev parent reply other threads:[~2018-09-05 8:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-28 9:46 Maxim Yu. Osipov
2018-08-28 11:09 ` Jan Kiszka
2018-09-05 8:38 ` Maxim Yu. Osipov [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=1b92ced8-b6d6-7d91-0d4e-71958174f364@ilbers.de \
--to=mosipov@ilbers.de \
--cc=isar-users@googlegroups.com \
--cc=jan.kiszka@siemens.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