From 95b06ff341c9b25e8ef52379f331a900c3ddda59 Mon Sep 17 00:00:00 2001 From: Steve Langasek Date: Thu, 28 Sep 2017 09:34:31 -0400 Subject: [PATCH] Export the subproject into config/chroot and config/binary, so that this information is available to per-project hooks that need to be subproject-aware (e.g., to skip steps when SUBPROJECT=minimize) --- live-build/auto/config | 2 ++ 1 file changed, 2 insertions(+) diff --git a/live-build/auto/config b/live-build/auto/config index a28b6bc6..fbafaa76 100755 --- a/live-build/auto/config +++ b/live-build/auto/config @@ -664,8 +664,10 @@ lb config noauto \ "$@" echo "LB_CHROOT_HOOKS=\"$CHROOT_HOOKS\"" >> config/chroot +echo "SUBPROJECT=\"$SUBPROJECT\"" >> config/chroot echo "LB_BINARY_HOOKS=\"$BINARY_HOOKS\"" >> config/binary echo "BUILDSTAMP=\"$NOW\"" >> config/binary +echo "SUBPROJECT=\"$SUBPROJECT\"" >> config/binary case $ARCH+$SUBARCH in armhf+raspi2)