public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@siemens.com>
To: isar-users <isar-users@googlegroups.com>
Subject: [PATCH 2/3] populate_sdk: Remove redundant logic
Date: Thu, 23 Aug 2018 10:43:42 +0200	[thread overview]
Message-ID: <78e97b2758922a3664ea5e9c7070904a40d1ddc1.1535013823.git.jan.kiszka@siemens.com> (raw)
In-Reply-To: <cover.1535013823.git.jan.kiszka@siemens.com>
In-Reply-To: <cover.1535013823.git.jan.kiszka@siemens.com>

From: Jan Kiszka <jan.kiszka@siemens.com>

All of this is already done by sdkchroot:do_build which this task
depends on.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 meta/classes/image.bbclass | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 990aff3..6a5f0e9 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -97,14 +97,7 @@ 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}/rootfs"
-
 do_populate_sdk() {
-    if [ ${HOST_DISTRO} != "debian-stretch" ]; then
-         bbfatal "SDK doesn't support ${HOST_DISTRO}"
-    fi
-    sudo cp -Trpfx ${DEPLOY_DIR_APT}/${HOST_DISTRO}  ${SDKCHROOT_DIR}/isar-apt
 }
 
 do_populate_sdk[stamp-extra-info] = "${MACHINE}-${DISTRO}"
-- 
2.16.4


  parent reply	other threads:[~2018-08-23  8:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-23  8:43 [PATCH 0/3] SDK-related fixes and enhancements Jan Kiszka
2018-08-23  8:43 ` [PATCH 1/3] sdkchroot: Handle host-target permutation corner cases Jan Kiszka
2018-08-23  8:43 ` Jan Kiszka [this message]
2018-08-23  8:43 ` [PATCH 3/3] sdk: Properly deploy Jan Kiszka
2018-08-27 22:13 ` [PATCH 0/3] SDK-related fixes and enhancements 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=78e97b2758922a3664ea5e9c7070904a40d1ddc1.1535013823.git.jan.kiszka@siemens.com \
    --to=jan.kiszka@siemens.com \
    --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