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}