2020-12-21 01:31:10 -06:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
BUILDINFO_PATH=src/sonic-build-hooks
|
|
|
|
|
|
|
|
BUILDINFO_CONFIG=$BUILDINFO_PATH/buildinfo/config/buildinfo.config
|
|
|
|
|
|
|
|
mkdir -p $BUILDINFO_PATH/buildinfo/config
|
|
|
|
|
2022-12-11 19:20:56 -06:00
|
|
|
echo "export PACKAGE_URL_PREFIX=$PACKAGE_URL_PREFIX" > $BUILDINFO_CONFIG
|
|
|
|
echo "export SONIC_VERSION_CONTROL_COMPONENTS=$SONIC_VERSION_CONTROL_COMPONENTS" >> $BUILDINFO_CONFIG
|
|
|
|
echo "export SONIC_VERSION_CACHE=${SONIC_VERSION_CACHE}" >> $BUILDINFO_CONFIG
|
|
|
|
echo "export SONIC_VERSION_CACHE_SOURCE=${SONIC_VERSION_CACHE_SOURCE}" >> $BUILDINFO_CONFIG
|
|
|
|
echo "export DISTRO=${DISTRO}" >> $BUILDINFO_CONFIG
|
2023-01-13 02:16:35 -06:00
|
|
|
echo "export MIRROR_SNAPSHOT=$MIRROR_SNAPSHOT" >> $BUILDINFO_CONFIG
|
2023-10-23 05:05:22 -05:00
|
|
|
echo "export PIP_HTTP_TIMEOUT=$PIP_HTTP_TIMEOUT" >> $BUILDINFO_CONFIG
|