Mail archive
alpine-devel

[alpine-devel] [PATCH abuild 1/4] buildlab: fix chroot umounting

From: Eivind Uggedal <eu_at_eju.no>
Date: Mon, 6 May 2019 21:47:44 +0000

Before this change running buildlab would
umount your system's proper non bind mounted
/dev, /proc, and /sys!
---
 buildlab.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/buildlab.in b/buildlab.in
index b5129ff17270..e0d64d665380 100644
--- a/buildlab.in
+++ b/buildlab.in
_at_@ -100,7 +100,7 @@ do_chroot_action() {
 	chroot "$path" /bin/sh /.chroot-action.sh
 	rm "$path"/.chroot-action.sh
 
-	do_chroot_close
+	do_chroot_close "$path"
 }
 
 update_chroot() {
-- 
2.20.1
---
Unsubscribe:  alpine-devel+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-devel+help_at_lists.alpinelinux.org
---
Received on Mon May 06 2019 - 21:47:44 UTC