From: "Maxim Yu. Osipov" <mosipov@ilbers.de>
To: Jan Kiszka <jan.kiszka@siemens.com>,
isar-users <isar-users@googlegroups.com>
Subject: Re: [PATCH] Fix mounting of downloads dir into buildchroot
Date: Thu, 14 Jun 2018 15:10:44 +0200 [thread overview]
Message-ID: <b1b19e37-cfe1-2625-3510-727ae6edaecb@ilbers.de> (raw)
In-Reply-To: <5e078304-29a8-460f-9859-84a7bfeb13b1@siemens.com>
On 06/12/2018 11:35 PM, Jan Kiszka wrote:
> setup_root_file_system() mounts most of the required paths buildchroot
> needs into its rootfs - except for the downloads dir. But do_build() of
> dpkg-base cannot not detect this gap because it tests for isar-apt being
> mounted.
>
> To close the gap without causing duplicate mounts, just add the missing
> mount to the end of buildchroot do_build().
>
> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
> ---
> meta/recipes-devtools/buildchroot/buildchroot.bb | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/meta/recipes-devtools/buildchroot/buildchroot.bb b/meta/recipes-devtools/buildchroot/buildchroot.bb
> index 538c577..2ed5cf2 100644
> --- a/meta/recipes-devtools/buildchroot/buildchroot.bb
> +++ b/meta/recipes-devtools/buildchroot/buildchroot.bb
> @@ -78,4 +78,6 @@ do_build() {
> # Configure root filesystem
> sudo install -m 755 ${WORKDIR}/configscript.sh ${BUILDCHROOT_DIR}
> sudo chroot ${BUILDCHROOT_DIR} /configscript.sh
> +
> + sudo mount --bind ${DL_DIR} ${BUILDCHROOT_DIR}/downloads
> }
>
Applied to the 'next'.
Thanks,
Maxim.
--
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-06-14 13:10 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-12 21:35 Jan Kiszka
2018-06-14 8:40 ` Henning Schild
2018-06-14 8:43 ` Jan Kiszka
2018-06-14 11:15 ` Henning Schild
2018-06-14 12:09 ` Jan Kiszka
2018-06-14 13:10 ` 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=b1b19e37-cfe1-2625-3510-727ae6edaecb@ilbers.de \
--to=mosipov@ilbers.de \
--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