24 lines
416 B
Bash
Executable File
24 lines
416 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
. scripts/modules.sh
|
|
|
|
|
|
rm -rf openwrt/tmp
|
|
rm -rf openwrt/feeds
|
|
rm -rf openwrt/package/feeds
|
|
|
|
(
|
|
echo 'src-link gluon_base ../../package'
|
|
for feed in $FEEDS; do
|
|
echo "src-link $feed ../../packages/$feed"
|
|
done
|
|
for feed in $(echo "$DEFAULT_FEEDS" | grep -vxF "$FEEDS"); do
|
|
echo "src-dummy $feed"
|
|
done
|
|
) > openwrt/feeds.conf
|
|
|
|
openwrt/scripts/feeds update -a
|
|
openwrt/scripts/feeds install -a
|