| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
|\ \
| | |
| | | |
Allow setup custom hardware_id
|
| | |
| | |
| | |
| | | |
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Serhiy Stetskovych <patriotyk@gmail.com>
|
|\ \ \
| |/ /
|/| | |
selftest: introduce QEMU_USE_KVM
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
|\ \
| | |
| | | |
docs: better explanation of oe-selftest requirements.
|
|/ /
| |
| |
| |
| |
| | |
Also remove all references to aktualizr-example-interface. It has been removed.
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
|
|\ \
| | |
| | | |
aktualizr: Bump to latest and fix names.
|
|/ /
| |
| |
| | |
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
|
|\ \
| | |
| | | |
Fix function name conflict
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
buildinfo function name is used in poky:
meta/classes/image-buildinfo.bbclass
Both classes could not be used together
Signed-off-by: Alexandre Bard <alexandre.bard@netmodule.com>
|
|\ \ \
| |/ /
|/| | |
aktualizr: bump to latest for server URL newline fix.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
|\ \
| |/
|/| |
Update README.adoc
|
| |
| |
| |
| | |
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
|
|/
|
|
|
|
| |
Update the reference to https://connect.ota.here.com
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
|
|\
| |
| | |
Added 'thud' to list of supported releases
|
|/ |
|
|\
| |
| | |
classes: image_types_ostree: use locking during OSTree repo update
|
| |
| |
| |
| |
| |
| |
| |
| | |
The OSTree repository might be shared accross several individual
OSTree builders. Use bitbakes lockfiles mechanism to lock the
OSTree for exclusive use.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Currently we assume if the OSTree repo exists, that there is a
OSTree repo in it. This does not need to be true in general, and
when using lockfiles bitbake will create the directory before
the do_image_ostree task is executed the first time.
Use ostree refs to detect whether the target directory contains a
OSTree repo.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|\ \
| | |
| | |
| | |
| | | |
advancedtelematic/fix/master/secondary-image-cred-packages
Update packages removed for secondary-image.
|
| | | |
|
|/ / |
|
|\ \
| | |
| | |
| | |
| | | |
advancedtelematic/feat/OTA-627/master/targetversion-forwardport
Feat/ota 627/master/targetversion forwardport
|
| | | |
|
| | | |
|
| | | |
|
|/ / |
|
|\ \
| |/
|/|
| |
| | |
advancedtelematic/refactor/master/rm-implicit-writer
aktualizr: Remove implicit_writer. It is now unused.
|
|/
|
|
| |
Bump to the latest version as well.
|
|\
| |
| | |
Update aktualizr example secondary config path
|
| | |
|
|/ |
|
|\
| |
| | |
Use IMGDEPLOYDIR
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Do not write directly to the IMAGE_DEPLOY_DIR but to the new
deploy directory IMGDEPLOYDIR.
Also change the image ending to match the image type name (from
otaimg to ota-ext4). This allows to use the automatic symlinking
and output artefact management too.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Do not write directly to the IMAGE_DEPLOY_DIR but to the new
deploy directory IMGDEPLOYDIR. This allows to use the automatic
symlinking too.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|\ \
| |/
|/| |
Extend ostree support
|
| |
| |
| |
| |
| |
| |
| | |
Use OSTREE_UPDATE_SUMMARY to automatically update summary after committing
to ostree repo
Signed-off-by: Luka Pivk <luka.pivk@toradex.com>
|
| |
| |
| |
| |
| |
| |
| | |
Use OSTREE_COMMIT_BODY write custom text to ostree body
Use OSTREE_COMMIT_SUBJECT to write custom subject
Signed-off-by: Luka Pivk <luka.pivk@toradex.com>
|
|\ \
| | |
| | | |
Simplify OTA class
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Almost all code in create_ota is either tar or ext4 specific. Move
the code directly into the respective IMAGE_CMD_ functions. This
gets rid of unnecessary work for the tar image and simplifies code.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
OpenEmbedded makes sure that IMAGE_CMD_type gets only called if the
type is in IMAGE_FSTYPE. There is no need to explicitly check for it.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|