# HG changeset patch # User Rob Landley # Date 1396522871 18000 # Node ID a242ea5d6bb42bdc60bfb52eb11dd4a0d967bb09 # Parent cc716bec3527a71e5a391a5ce6f488811f3541b2 Make host-tools.sh update the record-commands wrapper so we can log the distcc, genext2fs, e2fsprogs, and mksquashfs builds. diff -r cc716bec3527 -r a242ea5d6bb4 host-tools.sh --- a/host-tools.sh Wed Apr 02 05:19:06 2014 -0500 +++ b/host-tools.sh Thu Apr 03 06:01:11 2014 -0500 @@ -35,10 +35,9 @@ blank_tempdir "$WORK" mkdir -p "$STAGE_DIR" || dienow -# If we're not recording the host command lines, then populate a directory -# with host versions of all the command line utilities we're going to install -# into root-filesystem. When we're done, PATH can be set to include just this -# directory and nothing else. +# Populate a directory with host versions of all the command line utilities +# we're going to install into root-filesystem. When we're done, PATH can be +# set to include just this directory and nothing else. # This serves three purposes: # @@ -133,6 +132,10 @@ # remove the old ones. PATH="$(hosttools_path)" +if [ -e "$BUILD"/record-commands ] +then + cd "$TOP" && more/record-commands.sh || dienow +fi # This is optionally used by root-filesystem to accelerate native builds when # running under qemu. It's not used to build root-filesystem, or to build