A CycloneDX SBOM is generated by the OpenWrt build system. It the same
license information as the license report. Remove the license report
script.
Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>
It was used to update branches of feeds according to the commit hashes
in feeds.conf. Mostly used when doing release branches for the
first time. We do it manually now, so it is not needed anymore.
CFE is no longer. Remove the script. In the future, we might integrate
U-Boot upgrade into iopupgrade.
Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>
This script has been broken for several years and DSL as a techology is
not that common anymore. Remove it.
Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>
Work around config generation issue on fresh clone by running genconfig
twice. This is a temporary "fix" until the cause is found for a broken
config being generated in some specific situations.
Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>
The update_package command no longer works with the new genconfig
design. For now, replace it with a message until its replacement has
been merged.
Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>
This is a hack to retain existing behaviour in case of ambiguities of
device names between differen targets. For now, let Broadcom have the
lowest priority.
genconfig script is to be replaced soon and the existing code makes
adding a proper check hard and we need some way to deal with the
ambiguity quickly.
Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>
Handle failures correctly so that CI for example will terminate. Add
-i option to update index only and not heads.
Take two of this which allows silent failures when updating the
feeds. This is not good but it is necessary as a workaround for the
issue with private feeds. This should be solved in a different
way. Reproducibility of builds in case of network outages for example
cannot be guaranteed as long as silent failure is allowed.
Handle failures correctly so that CI for example will terminate. Add
-i option to update index only and not heads.
Change-Id: Idabcd8c855eb513bf702c0808aff28b28262c9c7
Add hack to consume configs from custom-devices in a separate feed
custom-devices, but only in that feed and not in other feeds. There is
no value in implementing a generic solution, because the whole genconfig
system will be replaced with something else.
Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>
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>
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>
A recent change broke genconfig for targets with hyphens. Fix this.
Fixes: a22898c92b ("iop: genconfig: Get subtarget using data from OpenWrt")
Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>
Determine the subtarget for a given device using data generated from the
OpenWrt build system instead of parsing the image makefiles directly.
This provides correct results even when fancy tricks like includes
inside the Makefiles are used, which is the case for an upcoming feature
where additional devices can be defined in external feeds.
Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>
OpenWrt normalises the version number in the image name to lowercase.
For consistency set the version already in lowercase in the config so
that there is not inconsistency between the version stored in
/etc/os-release and the image name.
Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>
Use a new version format:
* More strict regex for filtering tags for determining version which
prevents OpenWrt and hopefully other tags from becoming the IOWRT
version
* version follows standard git-describe format with -dirty
* customerconfigs are appended to the version
Example-versions:
* 7.1.0BETA1
* 7.1.0BETA1-29-g1292f9102e-dirty
* 7.1.0BETA1-29-g1292f9102e-secureboot
* 7.1.0BETA1-29-g1292f9102e-securebooteval
Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>