| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Mike Sul <ext-mykhaylo.sul@here.com>
|
|
|
|
|
|
| |
Some of our tests use pathlib which ends up in there...
Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
|
|
|
|
|
|
| |
It no longer exists.
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
|
|
|
|
| |
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
|
|
|
|
| |
Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
|
|
|
|
|
|
|
| |
The trick to add it in do_compile from cmake.bbclass does not work with
do_compile_ptest_base
Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
|
|
|
|
| |
Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
|
|
|
|
| |
Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
|
|
|
|
|
|
| |
For controlling systemd cgroups configuration of the aktualizr daemon
Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
|
|
|
|
| |
Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
|
|
|
|
|
|
|
|
|
| |
* remove whole RIOT repo
* remove intermediary static libraries, only useful during build
Should be around 500MB saving in total
Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
|
|
|
|
|
|
|
| |
For python: less headaches, it's already huge anyway.
Curl is needed by some shell-backed tests.
Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
|
|
|
|
| |
Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
|
|
|
|
| |
Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
|
|
|
|
|
|
|
|
|
| |
Original work from Patrick.
Laurent: dropped a patch for a change in aktualizr we
now support directly
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
|
|
|
|
|
|
| |
With necessary changes for ptest!
Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
|
|
|
|
|
|
| |
Should be less surprising
Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
|
|
|
|
|
|
|
|
|
| |
Some shell require the -e argument when using escape sequences
in echo. This has been observed when building images on a
Fedora machine, where the configuration files ended up including
"\n" sequences instead of newlines.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
|
|
|
|
|
|
|
| |
Two modes:
- `GARAGE_SIGN_AUTOVERSION=0`: use archive and version from aktualizr's recipe
- `GARAGE_SIGN_AUTOVERSION=1`: let aktualizr fetching it automatically
Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
|
|
|
|
|
|
| |
Includes the new way of fetching garage-signa.
Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
|
|
|
|
|
|
|
|
| |
When SOTA_DEPLOY_CREDENTIALS got introduced deployment of the
provisioning credientials has been moved to
aktualizr-ca-implicit-prov-creds. Move the warning accordingly.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
|
|
| |
Signed-off-by: Mike Sul <ext-mykhaylo.sul@here.com>
|
|\
| |
| | |
aktualizr-auto-prov-creds: remove API Gateway URL if it exists.
|
| |
| |
| |
| |
| |
| | |
It will only be used by garage-sign.
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
|
|\| |
|
| |
| |
| |
| |
| |
| |
| | |
To 2aa9d93ccea09ec327789eecf858de561ef632da, which changed the
installation result reporting format
Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
|
|/
|
|
|
|
| |
functionality
Signed-off-by: Mike Sul <ext-mykhaylo.sul@here.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch mainly aims to fix the following issues:
- ${libdir}/sota/conf.d is being put into aktualizr package, but
${libdir}/sota/*.toml is being put into aktualizr-host-tools, this
does not make sense, if a end user only install aktualizr-host-tools
to a target, he will miss the config files in ${libdir}/sota/conf.d.
- A user should be able to install garage-deploy garage-push to a board
if he wants to do that by choosing building aktualizr with sota-tools,
but now it's not in that case, garage-deploy garage-push are only
available for native.
- It's not necessary to distinguish native/target when installing
systemd services, they will be dropped by sstate from native sysroot
any way.
- It would be better that all binaries to be put into their own
packages, so a end user can choose to install a package only with one
binary, rather than having to install the entire aktualizr-host-tools.
Introduce per-binary based packages for host tools, and gather all
config files to aktualizr-configs, it will be depended by binary
packages and main aktualizr package.
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There are several flaws in current aktualizr recipe:
- It builds with 'BUILD_SYSTEMD=ON' by default but does not set DEPENDS
to systemd, this is not leading to compilation errors so far because
systemd is deployed into recipe sysroot by ostree if 'systemd' exists
in DISTRO_FEATURES, but in other cases, it will cause compilation
errors.
- GARAGE_SIGN_SHA256 is being passed to EXTRA_OECMAKE even it's not set
anythere, this will lead a wrong GARAGE_SIGN_SHA256_ARG to be set in
cmake files.
- pkgconfig is being called in aktualizr CMakeFile, so it needs inherit
pkgconfig.bbclass
To fix the above flaws, meanwhile to keep the code cleaner, we introduce
PACKAGECONFIG to handle the configurations.
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
|
|
|
|
|
|
|
| |
"${bindir}/aktualizr-check-discovery" is being set in both FILES_${PN}
and FILES_${PN}-tools, drop it from FILES_${PN}.
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
|
|
|
|
|
|
|
|
|
| |
- OStree installations are considered complete after a reboot under the
new version
- image downloads are not parallelized anymore
- various enhancements and bug fixes
Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
|
|
|
|
|
|
|
| |
Search made with the following regex: getVar ?\((.*), True\), this is
to be consistent with OE.
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
|
|
|
|
|
|
| |
Some OSTree improvements, reboot detection, retry failed downloads.
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
|
|
|
|
|
|
|
|
| |
Just trying to be careful and consistent. I didn't change every variable in
places where it seemed like it was obvious that we were dealing with purely
local variables.
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
|
|
|
|
|
|
|
|
|
| |
When calling bbfatal, it reports error message and exit 1, it should be
used to replace of 'bberror && exit 1' to avoid being redundant.
Also fixed some incorrect bberror usages and typos.
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
|
|
|
|
| |
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
|
|
|
|
| |
Signed-off-by: Serhiy Stetskovych <patriotyk@gmail.com>
|
|
|
|
| |
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
|
|
|
|
|
|
|
| |
This should make the secondary config dir process better anyway, and it
finally gets rid of a hacky workaround that we'd been using for ages.
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
|
|
|
|
|
|
| |
Use -d and warn if directory is invalid.
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
|
|
|
|
|
|
|
|
| |
Use /etc/sota/ecus as using /var/sota/ecus was conflicting with the
provisioning recipes that also use /var/sota. Not totally ideal, but the
best compromise I could find.
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
|
|
|
|
| |
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
|
|
|
|
| |
Bump to the latest version as well.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Includes test fixes and async downloads.
|
| |
|
|
|
|
| |
should be provisioned
|