From e6bbe5f8a54af47dbfb2ce16c0440eae36e5c946 Mon Sep 17 00:00:00 2001 From: Steve Langasek Date: Tue, 26 Sep 2017 22:39:09 -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 927b4641..3a3b5a82 100755 --- a/live-build/auto/config +++ b/live-build/auto/config @@ -687,8 +687,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)