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

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 <[email protected]>
From d1900772eaefe3ec1069c3aa467c0042feb756ab Mon Sep 17 00:00:00 2001
From: Thomas Hipp <[email protected]>
Date: Tue, 8 May 2018 18:18:31 +0200
Subject: [PATCH] test: Fix busybox image

Signed-off-by: Thomas Hipp <[email protected]>
---
 test/deps/import-busybox | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/test/deps/import-busybox b/test/deps/import-busybox
index bcd44ed14..d0fa0c5fd 100755
--- a/test/deps/import-busybox
+++ b/test/deps/import-busybox
@@ -215,7 +215,8 @@ class Busybox(object):
         busybox.wait()
 
         for path in busybox.stdout.read().split("\n"):
-            if not path.strip():
+            # Prevent filesystem loop
+            if not path.strip() or path.strip() == "bin/busybox":
                 continue
 
             symlink_file = tarfile.TarInfo()
_______________________________________________
lxc-devel mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to