2017-01-18 16:21:43 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
. scripts/modules.sh
|
|
|
|
|
|
|
|
FEEDS="$GLUON_SITE_FEEDS $GLUON_FEEDS"
|
|
|
|
|
|
|
|
(
|
|
|
|
cat lede/feeds.conf.default
|
|
|
|
echo 'src-link gluon ../../package'
|
|
|
|
for feed in $FEEDS; do
|
|
|
|
echo "src-link packages_$feed ../../packages/$feed"
|
|
|
|
done
|
|
|
|
) > lede/feeds.conf
|
|
|
|
|
2017-10-29 17:44:30 +00:00
|
|
|
rm -rf lede/tmp
|
2017-01-18 16:21:43 +00:00
|
|
|
rm -rf lede/feeds
|
|
|
|
rm -rf lede/package/feeds
|
|
|
|
|
|
|
|
mkdir -p lede/overlay
|
|
|
|
rm -f lede/overlay/gluon
|
|
|
|
ln -s ../../overlay lede/overlay/gluon
|
|
|
|
|
|
|
|
lede/scripts/feeds update 'gluon'
|
|
|
|
for feed in $FEEDS; do
|
|
|
|
lede/scripts/feeds update "packages_$feed"
|
|
|
|
done
|
|
|
|
|
|
|
|
lede/scripts/feeds install -a
|