mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2026-03-14 21:10:11 +01:00
Speed up feeds_update
Don't remove all installed packages at the start of feeds_update. Remove duplicate feed installs as named feeds are included with the install -a command later.
This commit is contained in:
parent
869e86677b
commit
5ae9fb9733
1 changed files with 2 additions and 9 deletions
|
|
@ -4,7 +4,7 @@ function feeds_update {
|
|||
|
||||
developer=0
|
||||
override=1
|
||||
|
||||
start=$(date -u +'%s');
|
||||
while getopts "n" opt; do
|
||||
case $opt in
|
||||
n)
|
||||
|
|
@ -18,25 +18,18 @@ function feeds_update {
|
|||
|
||||
cp .config .genconfig_config_bak
|
||||
|
||||
rm -rf package/feeds
|
||||
|
||||
#if -d argument is passed, clone feeds with ssh instead of http
|
||||
if [ $developer == 1 ]; then
|
||||
./scripts/feeds update -g
|
||||
else
|
||||
./scripts/feeds update
|
||||
fi
|
||||
|
||||
|
||||
# replace core packages with iopsys versions
|
||||
if [ $override == 1 ]; then
|
||||
./scripts/feeds install -f -p feed_inteno_openwrt -a
|
||||
fi
|
||||
|
||||
# install our feeds first to enable replacing a package in another feed
|
||||
./scripts/feeds install -p feed_inteno_juci -a
|
||||
./scripts/feeds install -p feed_inteno_packages -a
|
||||
./scripts/feeds install -p feed_inteno_broadcom -a
|
||||
|
||||
# targets need to be installed explicitly
|
||||
./scripts/feeds install -p feed_inteno_targets iopsys-brcm63xx-mips
|
||||
./scripts/feeds install -p feed_inteno_targets iopsys-brcm63xx-arm
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue