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.
This commit is contained in:
parent
9906d69322
commit
63c16c01a0
1
scripts/default_feeds.sh
Normal file
1
scripts/default_feeds.sh
Normal file
@ -0,0 +1 @@
|
||||
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\""
|
||||
|
Loading…
Reference in New Issue
Block a user