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
|
|
|
|
|
|
|
|
echo "PACKAGE_URL_PREFIX=$PACKAGE_URL_PREFIX" > $BUILDINFO_CONFIG
|
|
|
|
echo "SONIC_VERSION_CONTROL_COMPONENTS=$SONIC_VERSION_CONTROL_COMPONENTS" >> $BUILDINFO_CONFIG
|
2023-02-10 11:33:54 -06:00
|
|
|
echo "export MIRROR_SNAPSHOT=$MIRROR_SNAPSHOT" >> $BUILDINFO_CONFIG
|