| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
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>
|
|/
|
|
| |
Signed-off-by: Mike Sul <mykhaylo.sul@innoteka.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>
|
|
|
|
| |
Signed-off-by: Anton Gerasimov <anton.gerasimov@here.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>
|
|
|
|
|
|
|
|
|
|
| |
Update libostree to the v2018.9 release.
Upstream release notes since v2018.7:
- https://github.com/ostreedev/ostree/releases/tag/v2018.8
- https://github.com/ostreedev/ostree/releases/tag/v2018.9
Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|\
| |
| |
| |
| | |
advancedtelematic/refactor/remove-legacy-secondaries
aktualizr: remove example-interface.
|
| | |
|
| | |
|
|/
|
|
|
|
|
| |
OSTree removed libgsystem dependency since v2016.8. Drop it
from the OSTree recipe too.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
|
|
| |
Includes test fixes and async downloads.
|
| |
|
|
|
|
| |
should be provisioned
|
| |
|
|
|
|
| |
Should only be needed when using the u-boot env rollback feature
|
| |
|
| |
|
| |
|
|
|
|
| |
And bump aktualizr recipe
|
|
|
|
| |
Includes fixes for Ubuntu 18.04.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The reasoning here is to allow initramfs generated by this recipe
to be included in FIT.
To do so w/o changing openembedded-core (it allows only cpio format) -
init script should be able to execute from a rootfs (i.e. true initramfs),
not ramdisk (initrd).
See [1] for more information on these keywords.
The gist of this change is switch from `pivot_root` to `switch_root`.
This also allows to get rid of some clutter, since `switch_root` handles
transition to new sysroot all by itself.
Again, see [1] for details on these utility/syscall.
[1] https://www.kernel.org/doc/Documentation/filesystems/ramfs-rootfs-initramfs.txt
Signed-off-by: Yevgeny Popovych <yevgenyp@pointgrab.com>
|
|\
| |
| | |
aktualizr: bump to latest for key rotation and storage updates (master)
|
| |
| |
| |
| |
| | |
Work around a bug in oe-selftest with migration and aktualizr-info
interplay by forcing --allow-migrate for now.
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Upgrade OSTree to a git revision ahead of the v2018.7 release in order
to include additional memory leak fixes.
Upstream release notes since v2017.13+:
- https://github.com/ostreedev/ostree/releases/tag/v2017.14
- https://github.com/ostreedev/ostree/releases/tag/v2017.15
- https://github.com/ostreedev/ostree/releases/tag/v2018.1
- https://github.com/ostreedev/ostree/releases/tag/v2018.2
- https://github.com/ostreedev/ostree/releases/tag/v2018.3
- https://github.com/ostreedev/ostree/releases/tag/v2018.4
- https://github.com/ostreedev/ostree/releases/tag/v2018.5
- https://github.com/ostreedev/ostree/releases/tag/v2018.6
- https://github.com/ostreedev/ostree/releases/tag/v2018.7
Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
|
| |
|
| |
|
| |
|