public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH] Dockerfile.isar: Pull qemu-user-static from buster-backports
@ 2020-09-23  7:56 Jan Kiszka
  2020-09-24  9:14 ` Jan Kiszka
  2020-09-24 11:12 ` [PATCH v2] " Jan Kiszka
  0 siblings, 2 replies; 5+ messages in thread
From: Jan Kiszka @ 2020-09-23  7:56 UTC (permalink / raw)
  To: kas-devel; +Cc: isar-users, Baurzhan Ismagulov

From: Jan Kiszka <jan.kiszka@siemens.com>

This is needed for running fakeroot from bullseye and sid which triggers
an unimplemented syscall with the current version.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 Dockerfile.isar | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Dockerfile.isar b/Dockerfile.isar
index 6b325f3..739dfab 100644
--- a/Dockerfile.isar
+++ b/Dockerfile.isar
@@ -3,7 +3,9 @@
 FROM kasproject/kas:latest
 
 ENV LC_ALL=en_US.UTF-8
-RUN apt-get update && \
+RUN echo 'deb http://deb.debian.org/debian buster-backports main' > /etc/apt/sources.list.d/buster-backports.list && \
+    echo "Package: qemu-user-static binfmt-support\nPin: release n=buster-backports\nPin-Priority: 501\n\nPackage: *\nPin: release n=buster-backports\nPin-Priority: -1" > /etc/apt/preferences.d/qemu-user-static && \
+    apt-get update && \
     apt-get install -y -f --no-install-recommends \
             autoconf automake gdisk libtool bash-completion \
             sudo grub2 grub-efi-amd64-bin grub-efi-ia32-bin \
-- 
2.26.2

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-09-24 14:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-23  7:56 [PATCH] Dockerfile.isar: Pull qemu-user-static from buster-backports Jan Kiszka
2020-09-24  9:14 ` Jan Kiszka
2020-09-24 11:12 ` [PATCH v2] " Jan Kiszka
2020-09-24 11:52   ` Henning Schild
2020-09-24 14:50     ` Jan Kiszka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox