From: Jan Kiszka <jan.kiszka@siemens.com>
To: isar-users <isar-users@googlegroups.com>
Subject: Building cross images inside containers
Date: Fri, 1 Sep 2017 20:41:04 +0200 [thread overview]
Message-ID: <e97cb5a2-57f4-a880-e1b5-d35a66da9d52@siemens.com> (raw)
Hi,
trying to cross-build an Isar image for ARM inside a Docker container, I
ran into another dependency that currently prevents unprivileged builds:
transparent cross-execution of binaries via binfmt_misc (configured by
binfmt-support).
In order to allow that, I need to start the container with --privileged
rights, and it will consequently reconfigure the host kernel according
to its own desire. That cannot work on container-based CI systems, only
inside VMs.
So we either need to overcome this feature as well (dunno if/how other
distros are using it) or give up on Docker-based build and go into a VM.
Jan
--
Siemens AG, Corporate Technology, CT RDA ITP SES-DE
Corporate Competence Center Embedded Linux
reply other threads:[~2017-09-01 18:41 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=e97cb5a2-57f4-a880-e1b5-d35a66da9d52@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