| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
| |
Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
|
|
|
|
|
|
| |
The output was moved from stdout to stderr in a recent aktualizr commit.
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
Should be less surprising
Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
do_image_wic task is a standalone task that depending on
do_image_ota_ext4, so it's possible that do_image_wic runs
(taskhash contaminated) but do_image_ota_ext4 does not (taskhash not
contaminated), in which case, the otaimage would be in DEPLOY_DIR_IMAGE
instead of in IMGDEPLOYDIR, so we need check both of them.
Also, the logger.error is not supposed to raise a error, it just
prints out a error message, so we should use WicError.
And another typo is it checks IMGDEPLOYDIR but reports DEPLOY_DIR_IMAGE
not exist, also fix that.
Signed-off-by: Ming Liu <liu.ming50@gmail.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>
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
Now provided by connman and networkd-dhcp-conf, added to images in our
supported platforms
Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
|
|
|
|
| |
Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
|
|
|
|
|
|
|
| |
No sense to force that if poky does not, let's move it to
platform-specific for now.
Signed-off-by: Laurent Bonnans <laurent.bonnans@here.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>
|
|
|
|
|
|
|
|
| |
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>
|
|\
| |
| | |
Backport/sumo/auto reboot etc
|
| |
| |
| |
| |
| | |
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
Suggested-by: Ben Luck <benjamin.luck@here.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
It was a nice idea when we were less confident about bitbaking and
oe-selftest, but at this point, it is redundant and provides no useful
information while adding extraneous time to the already long test suite.
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
|
| |
| |
| |
| |
| |
| |
| | |
Put each item on its own line to make versioning and manual
modififcation easier going forward.
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: Mike Sul <ext-mykhaylo.sul@here.com>
|
| |
| |
| |
| |
| |
| | |
It will only be used by garage-sign.
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
To enable simultaneous bitbaking of two images with the same branch name, create
a new ref in the OSTree repo using the basename of the image.
As @OYTIS has pointed out, this probably won't solve every problem that might
come up with simultaneous bitbaking, such as if the two images use different
bootloaders. However, it does solve the immediate problem that comes up with our
primary-image + secondary-image example.
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
|
|/
|
|
| |
Signed-off-by: Mike Sul <mykhaylo.sul@innoteka.com>
|
|\
| |
| |
| |
| | |
advancedtelematic/backport/sumo/garage-sign-lock-etc
Backport/sumo/garage sign lock etc
|
| |
| |
| |
| | |
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Use reproducible builds by default. OSTree sets mtime to 0 at
commit time anyway. This makes sure that all mtime timestamps
are 0 already at build time. This is relevant for programs
which relies on mtime of deployed artifacts at runtime.
Python for instance writes the mtime of the source file into
bytecode files (pyc) at build time. When OSTree then clears
the mtime Python considers all bytecode files as stale.
Reproducible binaries also avoid unnecessary differences
between two OSTree commits. E.g. if the sstate cache is
cleared between two OSTree commits OpenEmbedded might create
slightly different binaries.
Note however that not all all recipe generate reproducible
binaries at this time.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
libp11 0.4.9 gives an error when EC keys are used for signing
(pkcs11_try_pkey_ec_sign() not implemented), so bump to git 57ca68f
(post 0.4.9) for EC signing support.
Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
|
| |
| |
| |
| |
| |
| | |
type -> size.
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We remove GARAGE_SIGN_REPO at the start and end of this task, which
causes trouble if two images call this task at the same time. This
probably could be fixed in a better fashion (like putting the repo in an
image-specific subdirectory) but this is quick and easy, and the task
usually doesn't take long to run, so the lack of parallelization is not
a big loss.
Signed-off-by: Patrick Vacek <patrickvacek@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>
|
| |
| |
| |
| | |
Signed-off-by: Anton Gerasimov <tossel@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>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
There are quite a few 'export' syntax, they are either not necessary or
being redundant. Actually only the variables being referred in ostree
or aktualizr need to be exported, we can move them into sota.bbclass so
they can be exported once only for all other classes referring to them.
And drop all other unnecessary exports.
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- unzip-native:do_populate_sysroot should be depended by
do_image_garagesign task instead of by do_image_ostree task.
- openssl-native:do_populate_sysroot can be removed since it's being
depended by aktualizr-native already.
- do_image_garagesign and do_image_garagecheck does not have to depend
on aktualizr-native:do_populate_sysroot, that dependency is being
added by do_image_ostreepush -> aktualizr-native:do_populate_sysroot.
- drop ostreepush dependency from IMAGE_TYPEDEP_garagecheck, that is
redundant.
Signed-off-by: Ming Liu <liu.ming50@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>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The qemucommand.py script uses kvm-ok to determine whether KVM
is available. However, kvm-ok is very Ubuntu specific and not
readily available on Fedora.
Use QEMU_USE_KVM variable which is also used in OpenEmbedded
selftests. The variable must contain True to enable KVM for
machines containing x86 in its name, or contain a list of
machines. For meta-updater this makes sure KVM is used for all
tests:
QEMU_USE_KVM = "intel-corei7-64 qemux86-64"
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|\ \
| |/
|/|
| |
| | |
advancedtelematic/bugfix/OTA-1436/sumo-secondary-results
Bump aktualizr (sumo)
|
|/
|
|
|
|
|
| |
To 2aa9d93ccea09ec327789eecf858de561ef632da, which changed the
installation result reporting format
Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
|
|\
| |
| | |
Sumo aktualizr pkgconfig
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
|\
| |
| | |
Feat/sumo latest aktualizr
|
| |
| |
| |
| |
| |
| | |
CLI has changed
Signed-off-by: Laurent Bonnans <laurent.bonnans@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>
|