From: Jan Kiszka <jan.kiszka@siemens.com>
To: "Maxim Yu. Osipov" <mosipov@ilbers.de>, isar-users@googlegroups.com
Subject: Re: [PATCH] sdk: Move deployment to populate_sdk
Date: Tue, 28 Aug 2018 13:09:35 +0200 [thread overview]
Message-ID: <8246c6e1-96cd-65a8-d7c6-6ba6fc6409fa@siemens.com> (raw)
In-Reply-To: <20180828094626.24172-1-mosipov@ilbers.de>
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.
Jan
--
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux
next prev parent reply other threads:[~2018-08-28 11:09 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 [this message]
2018-09-05 8:38 ` Maxim Yu. Osipov
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=8246c6e1-96cd-65a8-d7c6-6ba6fc6409fa@siemens.com \
--to=jan.kiszka@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