2015-05-03 13:13:38 -06:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
cd "$BUILDROOTBASE"
|
|
|
|
|
|
|
|
# Prep the feeds file
|
|
|
|
echo "src-git arednpackages git://git.aredn.org/aredn_packages;develop" > feeds.conf
|
|
|
|
cat feeds.conf.default >> feeds.conf
|
|
|
|
./scripts/feeds update -a
|
|
|
|
./scripts/feeds install -p arednpackages olsrd
|
|
|
|
./scripts/feeds install perl
|
|
|
|
./scripts/feeds install -p arednpackages vtun
|
2015-07-30 11:28:13 -06:00
|
|
|
./scripts/feeds install -a -p arednpackages
|
2015-05-03 13:13:38 -06:00
|
|
|
./scripts/feeds install snmpd
|
2015-06-18 22:54:30 -06:00
|
|
|
./scripts/feeds install ntpclient
|
2015-05-03 13:13:38 -06:00
|
|
|
|
|
|
|
SHORT_COMMIT=$(echo "$GIT_COMMIT" | awk '{ string=substr($0, 1, 8); print string; }' )
|
|
|
|
SHORT_BRANCH=$(echo "$GIT_BRANCH" | awk 'match($0,"/"){print substr($0,RSTART+1)}')
|
|
|
|
|
|
|
|
if ( -z "$BUILD_SET_VERSION" ); then
|
|
|
|
echo "$BUILD_SET_VERSION" > "$BUILDROOTBASE/files/etc/mesh-release"
|
|
|
|
else
|
|
|
|
echo "${SHORT_BRANCH}-${BUILD_NUMBER}-${SHORT_COMMIT}" > "$BUILDROOTBASE/files/etc/mesh-release"
|
|
|
|
fi
|