From: claudius.heine.ext@siemens.com
To: isar-users@googlegroups.com
Cc: Claudius Heine <ch@denx.de>
Subject: [PATCH v3 2/2] meta-isar/*-configscript: added removal of qemu-*-static binaries
Date: Thu, 12 Apr 2018 09:01:21 +0200 [thread overview]
Message-ID: <20180412070121.31332-3-claudius.heine.ext@siemens.com> (raw)
In-Reply-To: <20180412070121.31332-1-claudius.heine.ext@siemens.com>
From: Claudius Heine <ch@denx.de>
After the image has finished building, the qemu-*-static binaries that
are installed by quemu-debootstrap can be removed because they are no
longer needed.
Reported-by: Henning Schild <henning.schild@siemens.com>
Signed-off-by: Claudius Heine <ch@denx.de>
---
meta-isar/recipes-core/images/files/debian-configscript.sh | 3 +++
meta-isar/recipes-core/images/files/raspbian-configscript.sh | 3 +++
2 files changed, 6 insertions(+)
diff --git a/meta-isar/recipes-core/images/files/debian-configscript.sh b/meta-isar/recipes-core/images/files/debian-configscript.sh
index 042b530..e6d5335 100755
--- a/meta-isar/recipes-core/images/files/debian-configscript.sh
+++ b/meta-isar/recipes-core/images/files/debian-configscript.sh
@@ -63,3 +63,6 @@ fi
# Purge unused locale and installed packages' .deb files
localepurge
apt-get clean
+
+# Remove qemu-*-static:
+find /usr/bin -maxdepth 1 -name 'qemu-*-static' -delete
diff --git a/meta-isar/recipes-core/images/files/raspbian-configscript.sh b/meta-isar/recipes-core/images/files/raspbian-configscript.sh
index ec05a6b..d7bdc07 100644
--- a/meta-isar/recipes-core/images/files/raspbian-configscript.sh
+++ b/meta-isar/recipes-core/images/files/raspbian-configscript.sh
@@ -63,3 +63,6 @@ EOF
localepurge
apt-get clean
+
+# Remove qemu-*-static:
+find /usr/bin -maxdepth 1 -name 'qemu-*-static' -delete
--
2.16.3
next prev parent reply other threads:[~2018-04-12 7:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-12 7:01 [PATCH v3 0/2] Cleanup of the configscripts claudius.heine.ext
2018-04-12 7:01 ` [PATCH v3 1/2] meta-isar/isar-image-base: remove uncesessary cmd lines from cfg scripts claudius.heine.ext
2018-04-12 7:01 ` claudius.heine.ext [this message]
2018-05-14 11:47 ` [PATCH v3 2/2] meta-isar/*-configscript: added removal of qemu-*-static binaries Alexander Smirnov
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=20180412070121.31332-3-claudius.heine.ext@siemens.com \
--to=claudius.heine.ext@siemens.com \
--cc=ch@denx.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