Skip to content
Snippets Groups Projects
Unverified Commit 63c16c01 authored by Matthias Schiffer's avatar Matthias Schiffer
Browse files

scripts: move DEFAULT_FEEDS definition to a separate file

modules.sh can't depend on openwrt/feeds.conf.default, otherwise the
initial update will fail.
parent 9906d693
No related branches found
No related tags found
No related merge requests found
DEFAULT_FEEDS="$(awk '{print $2}' openwrt/feeds.conf.default)"
......@@ -3,6 +3,7 @@
set -e
. scripts/modules.sh
. scripts/default_feeds.sh
rm -rf openwrt/tmp
......
......@@ -2,7 +2,6 @@
[ ! -f "$GLUON_SITEDIR"/modules ] || . "$GLUON_SITEDIR"/modules
FEEDS="$(echo $GLUON_FEEDS $GLUON_SITE_FEEDS | tr ' ' '\n')"
DEFAULT_FEEDS="$(awk '{print $2}' openwrt/feeds.conf.default)"
GLUON_MODULES=openwrt
......
......@@ -2,6 +2,7 @@
. scripts/modules.sh
. scripts/default_feeds.sh
config "CONFIG_GLUON_SITEDIR=\"$GLUON_SITEDIR\""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment