Commit graph

39 commits

Author SHA1 Message Date
Erik Karlsson
0e1ac637ac iop: feeds_update: return 1 on failure and add -i to update index only
Handle failures correctly so that CI for example will terminate. Add
-i option to update index only and not heads.

Change-Id: Idabcd8c855eb513bf702c0808aff28b28262c9c7
2023-05-23 14:26:05 +00:00
Jani Juvan
c708007d0b iop: Remove iopsys- prefix from targets 2023-04-27 08:02:32 +00:00
Andreas Gnau
350a814e95 Revert "iop: feeds_update: Workaround OpenWrt bug wrt targets"
This reverts commit e26a9affbd. We updated
to v22.03.4, so the workaround causes problems because the actual issue
has been fixed.
2023-04-18 12:57:03 +00:00
Andreas Gnau
7de9e6c348 iop: feeds_update: Move feed-devices generation earlier
Move feed-devices generation earlier, before target installation to
ensure that generated files are correct earlier.

Fixes: 3472f88614 ("iop: feeds_update: Generate list of feed-devices dirs")
Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>
2023-03-30 11:17:32 +02:00
Andreas Gnau
3472f88614 iop: feeds_update: Generate list of feed-devices dirs
During feeds_update, generate a list of directories that contain
additional device profiles. Via some includes in the target image
Makefiles, any <BOARD/image/<SUBTARGET>.mk inside those directories will
get included, thus allowing to extend the list of devices from an
external feed. Motivation for this is that the external feed might have
a different access permission than the target-definition.

This code should probably live in the Perl script scripts/feeds in the
future, but for now, while we are experimenting with the feature, the
existing approach in feeds_update is considered good enough.

Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>
2023-03-30 10:53:35 +02:00
Andreas Gnau
e26a9affbd iop: feeds_update: Workaround OpenWrt bug wrt targets
Workaround a bug in the OpenWrt build system that was introduced when
the installed target path had been moved to target/linux/feeds.
Config.in and Makefile from installed targets are not properly included
from the new location. This hack is to be removed once the issues are
fixed.

Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>
2022-07-01 08:48:32 +02:00
Andreas Gnau
26b3432f9a iop: feeds_update: Reformat with shfmt
The file was indented with a mix of spaces and tabs. Unify formating by
running shfmt on the file.

Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>
2022-06-23 10:39:03 +00:00
Sukru Senli
5eb40eb826 iop: fix feed_update script 2022-03-05 12:35:57 +01:00
Sukru Senli
2948de9994 iop: feeds_update: do not hardcode targets 2022-03-05 12:28:02 +01:00
Andreas Gnau
aa25a78ff1 iop: feeds_update: Make dev-check check for SSH instead of non-HTTP
Similarly to 986fc5ea (Make dev-check check for SSH instead of non-HTTP,
2020-06-23), check for SSH instead of whether the repo was cloned via
HTTP. Developers might have other remotes such as OpenWrt's configured.
2021-09-14 09:57:48 +02:00
Bartlomiej Grzeskowiak
f5cdc3a3e7 iop: Add iopsys-econet en7562
./iop genconfig en7562

Signed-off-by: Bartlomiej Grzeskowiak <bartlomiej.grzeskowiak@iopsys.eu>
2021-05-21 13:19:14 +00:00
Bartlomiej Grzeskowiak
1c9afee81c iopsys-mediatek: Add iopsys-mediatek (bpi_bananapi-r64)
- ./iop genconfig -c bpi_bananapi-r64
2021-05-07 11:15:39 +00:00
Oskar Viljasaar
104805a36e feeds_update: add support for iopsys-bcm27xx 2020-11-02 17:32:25 +01:00
Sukru Senli
5c744f71e3 remove reference to iopsys_brcm63xx_mips target 2020-11-01 10:42:32 +01:00
Sukru Senli
0e0bbb2339 iop: add support for iopsys-armvirt target 2020-05-31 10:58:20 +02:00
Jakob Olsson
45190fb2fd iop: add iopsys-x86 target support 2020-05-28 17:25:12 +02:00
Jonas Höglund
73124c3d37 Overwrite from openwrt_core 2019-11-20 15:12:48 +01:00
Jonas Höglund
e41ae36a70 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?
2019-02-18 13:29:41 +01:00
Kenneth Johansson
5d36e88aae feeds_update: fix installation of targets.
intel target moved. make sure the old link is gone.
2019-02-15 10:57:28 +01:00
Kenneth Johansson
89afdc3012 rename target iopsys-grx to intel_mips. 2018-10-04 17:30:28 +02:00
Sukru Senli
35ab5d6f1e iop: adapt to feed structure change 2018-09-26 19:33:06 +02:00
Sukru Senli
1eff197fda iop: adapt to new iopsys git repositories 2018-09-23 11:18:37 +02:00
Kenneth Johansson
3ca325dfec add grx intel target. 2018-09-03 15:28:09 +02:00
Jonas Höglund
7ee675aa5c Override packets from feed_inteno_lede 2017-12-17 13:14:06 +01:00
Ronny Nilsson
15314c65d5 Always recreate the feeds indices to cope with packages
being moved between feeds.
2017-04-21 15:08:37 +02:00
Jonas Höglund
4c480833e0 Only delete broken symlinks in feed dirs 2016-08-29 10:11:45 +02:00
Jonas Höglund
0a0c3b4f87 Remove broken symlinks after feeds_update 2016-08-25 16:34:46 +02:00
Jonas Höglund
5ae9fb9733 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.
2016-08-25 15:46:53 +02:00
Jonas Höglund
869e86677b asterisk18 removed from feed-openwrt-packages 2016-08-25 15:25:44 +02:00
Jonas Höglund
fd7e0147fd Cleanup of feeds_update 2016-08-25 14:55:37 +02:00
Jonas Höglund
6edd832d9c libwebsockets has been removed from feed_openwrt_packages 2016-08-25 14:26:43 +02:00
Jonas Höglund
55d5cac52e Remove modified qrencode package from feeds_inteno_packages 2016-08-25 12:49:50 +02:00
Jonas Höglund
30aaa67434 Remove unneeded commands from feeds_update 2016-08-24 15:45:58 +02:00
Jonas Höglund
525f6a0eff Add -n option to feeds update to disable override for feed_inteno_openwrt 2016-08-23 13:38:04 +02:00
Jonas Höglund
5dc797e2c4 Add iopsys-ramips target 2016-08-22 13:00:21 +02:00
Sukru Senli
72738752d9 install libwebsockets from feed_inteno_juci 2016-06-08 10:13:47 +02:00
Jonas Höglund
150b9bd694 Install feeds_inteno_openwrt 2016-04-21 12:47:49 +02:00
Jonas Höglund
0afa6e264c Updated description of feeds_update 2016-04-13 11:33:58 +02:00
Jonas Höglund
92fafa4245 Renamed script to match command name 2016-04-13 11:33:58 +02:00
Renamed from iop/scripts/iop_feeds_update.sh (Browse further)