From: "Maxim Yu. Osipov" <mosipov@ilbers.de>
To: Jan Kiszka <jan.kiszka@siemens.com>,
isar-users <isar-users@googlegroups.com>
Cc: Andreas Reichel <Andreas.Reichel@tngtech.com>
Subject: Re: [PATCH] isar-image: umount base-apt when doing offline build
Date: Fri, 7 Dec 2018 16:44:44 +0300 [thread overview]
Message-ID: <d91627ca-1d8d-0cb0-5ff1-b5db9c8a76f4@ilbers.de> (raw)
In-Reply-To: <f9f45b91-4775-a1c8-0f9c-e10e6a1b0a7e@siemens.com>
On 11/29/18 5:19 PM, Jan Kiszka wrote:
> Leaving it mounted "slightly" increases the target image size.
Applied to the 'next'.
Thanks,
Maxim.
> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
> ---
> meta/classes/isar-image.bbclass | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/meta/classes/isar-image.bbclass b/meta/classes/isar-image.bbclass
> index 7aaaecb..23b3a99 100644
> --- a/meta/classes/isar-image.bbclass
> +++ b/meta/classes/isar-image.bbclass
> @@ -63,6 +63,10 @@ isar_image_cleanup() {
> sudo umount -l ${IMAGE_ROOTFS}/proc
> sudo umount -R -l ${IMAGE_ROOTFS}/sys
> sudo rm -f "${IMAGE_ROOTFS}/etc/apt/apt.conf.d/55isar-fallback.conf"
> + if [ "${ISAR_USE_CACHED_BASE_REPO}" = "1" ]; then
> + sudo umount -l ${IMAGE_ROOTFS}/base-apt
> + sudo rmdir ${IMAGE_ROOTFS}/base-apt
> + fi
> }
>
> python do_rootfs() {
>
--
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-12-07 13:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-29 14:19 Jan Kiszka
2018-11-29 14:28 ` Andreas Reichel
2018-11-29 14:55 ` Jan Kiszka
2018-12-07 13:44 ` 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=d91627ca-1d8d-0cb0-5ff1-b5db9c8a76f4@ilbers.de \
--to=mosipov@ilbers.de \
--cc=Andreas.Reichel@tngtech.com \
--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