From 3a5cf2ae71ba48cbfb1b77f026a89557256a9a6b Mon Sep 17 00:00:00 2001
From: Robert Nelson <robertcnelson@gmail.com>
Date: Mon, 7 Sep 2015 15:40:07 -0500
Subject: [PATCH] chroot: busybox: we need run-parts from debianutils

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
---
 scripts/chroot.sh | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/scripts/chroot.sh b/scripts/chroot.sh
index bc86a44c4..de5974b45 100755
--- a/scripts/chroot.sh
+++ b/scripts/chroot.sh
@@ -511,6 +511,12 @@ cat > ${DIR}/chroot_script.sh <<-__EOF__
 				if [ -f /usr/local/bin/tar ] ; then
 					rm -f /usr/local/bin/tar
 				fi
+
+				#run-parts: unrecognized option '--list'
+				#BusyBox v1.22.1 (Debian 1:1.22.0-9+deb8u1) multi-call binary.
+				if [ -f /usr/local/bin/run-parts ] ; then
+					rm -f /usr/local/bin/run-parts
+				fi
 			fi
 		fi
 	}
-- 
GitLab