From: "Maxim Yu. Osipov" <mosipov@ilbers.de>
To: isar-users@googlegroups.com
Subject: [PATCH 2/4] isar-bootdtrap-helper: test explicit value
Date: Fri, 26 Oct 2018 12:32:39 +0200 [thread overview]
Message-ID: <20181026103241.23755-3-mosipov@ilbers.de> (raw)
In-Reply-To: <20181026103241.23755-1-mosipov@ilbers.de>
Suggested-by: Henning Schild <henning.schild@siemens.com>
Signed-off-by: Maxim Yu. Osipov <mosipov@ilbers.de>
---
meta/classes/isar-bootstrap-helper.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/classes/isar-bootstrap-helper.bbclass b/meta/classes/isar-bootstrap-helper.bbclass
index 8f5e583..a316fe8 100644
--- a/meta/classes/isar-bootstrap-helper.bbclass
+++ b/meta/classes/isar-bootstrap-helper.bbclass
@@ -137,7 +137,7 @@ setup_root_file_system() {
/usr/bin/apt-get purge --yes $pkg
done
if [ ${CLEAN} ]; then
- if [ ${KEEP_APT_CACHE} ]; then
+ if [ ${KEEP_APT_CACHE} -eq 1 ]; then
mkdir -p ${WORKDIR}/apt_cache
sudo mv $(find $ROOTFSDIR/var/cache/apt -name '*.deb') ${WORKDIR}/apt_cache
sudo chown $USER ${WORKDIR}/apt_cache/*
--
2.11.0
next prev parent reply other threads:[~2018-10-26 10:32 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-26 10:32 [PATCH 0/4] Fixes/improvements to local apt repo to cache upstream debian packages for offline usage Maxim Yu. Osipov
2018-10-26 10:32 ` [PATCH 1/4] isar-bootstrap: eliminate workaround --allow-unauthenticated Maxim Yu. Osipov
2018-10-26 10:32 ` Maxim Yu. Osipov [this message]
2018-10-26 10:32 ` [PATCH 3/4] base-apt-helper: fix missed echo in command Maxim Yu. Osipov
2018-10-26 10:32 ` [PATCH 4/4] base-apt-helper: Introduce function compare_pkg_md5sums Maxim Yu. Osipov
2018-10-26 10:45 ` [PATCH 0/4] Fixes/improvements to local apt repo to cache upstream debian packages for offline usage Henning Schild
2018-10-31 11:14 ` 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=20181026103241.23755-3-mosipov@ilbers.de \
--to=mosipov@ilbers.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