The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/lxc-ci/pull/109

This e-mail was sent by the LXC bot, direct replies will not reach the author
unless they happen to be subscribed to this list.

=== Description (from pull-request) ===
Signed-off-by: Thomas Hipp <thomas.h...@canonical.com>
From cc6e942812d2c156755d1599a6276c8653b6d189 Mon Sep 17 00:00:00 2001
From: Thomas Hipp <thomas.h...@canonical.com>
Date: Thu, 20 Feb 2020 15:41:45 +0100
Subject: [PATCH] bin/build-image-distrobuilder: Allow access to loop
 partitions

Signed-off-by: Thomas Hipp <thomas.h...@canonical.com>
---
 bin/build-image-distrobuilder | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/bin/build-image-distrobuilder b/bin/build-image-distrobuilder
index 5c9264b..b573f33 100755
--- a/bin/build-image-distrobuilder
+++ b/bin/build-image-distrobuilder
@@ -14,7 +14,8 @@ TARGET="$2"
 
 # Create the container
 lxc init "images:ubuntu/bionic/${ARCH}" build-distrobuilder-cache \
-    -c security.privileged=true -c security.nesting=true
+    -c security.privileged=true -c security.nesting=true \
+    -c raw.lxc="lxc.cgroup.devices.allow = b 259:* rw"
 
 # Setup loop devices
 (
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to