3
0
mirror of https://git.launchpad.net/livecd-rootfs synced 2025-03-27 19:01:19 +00:00

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-26 22:39:09 -04:00 committed by Balint Reczey
parent abbbeb8fda
commit e6bbe5f8a5

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