From 0f4fcbc7d31f0b3b67c63cfb093aa6ac2e37d9b3 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Lallement Date: Wed, 14 Nov 2018 09:57:45 +0100 Subject: [PATCH] lb_chroot_layered: Export _PASS as PASS to be available in hooks --- live-build/lb_chroot_layered | 1 + 1 file changed, 1 insertion(+) diff --git a/live-build/lb_chroot_layered b/live-build/lb_chroot_layered index 5457e539..9a3b3905 100755 --- a/live-build/lb_chroot_layered +++ b/live-build/lb_chroot_layered @@ -47,6 +47,7 @@ LASTPASS=$(echo $PASSES|wc -w) LOWER_LAYERS="" for _PASS in $PASSES do + export PASS=${_PASS} if [ $CURPASS -gt 1 ]; then mkdir chroot.${_PASS}