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)
This commit is contained in:
Steve Langasek 2017-09-28 09:34:31 -04:00 committed by Balint Reczey
parent 527a7b165e
commit 95b06ff341

View File

@ -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)