From e41ae36a7007d7ec02fb019bdc2c0b2a21338672 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20H=C3=B6glund?= Date: Mon, 18 Feb 2019 13:29:41 +0100 Subject: [PATCH] feeds_update: Fix error message. Adding -p flag to install removes: WARNING: No feed for package 'targets' found, maybe it's already part of the standard packages? --- iop/scripts/feeds_update.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/iop/scripts/feeds_update.sh b/iop/scripts/feeds_update.sh index e031c664a..78dabc995 100755 --- a/iop/scripts/feeds_update.sh +++ b/iop/scripts/feeds_update.sh @@ -35,12 +35,12 @@ function feeds_update { targets="iopsys-brcm63xx-mips iopsys-brcm63xx-arm iopsys-ramips intel_mips" for target in $targets do - rm target/linux/$target - ./scripts/feeds install targets $target + rm -f target/linux/$target + ./scripts/feeds install -p targets $target done # install all packages - ./scripts/feeds install -a + ./scripts/feeds install -a # remove broken symlinks ( for packages that are no longer in the feed ) find -L package/feeds -maxdepth 2 -type l -delete @@ -49,7 +49,7 @@ function feeds_update { make defconfig # record when we last run this script - touch tmp/.iop_bootstrap + touch tmp/.iop_bootstrap # always return true exit 0