mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2026-03-02 15:34:05 +01:00
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?
This commit is contained in:
parent
5d36e88aae
commit
e41ae36a70
1 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue