| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Anton Gerasimov <anton.gerasimov@here.com>
|
|\
| |
| | |
aktualizr: bump to latest 1cad6d10286ade64b24021ca0e23de0d3b64f520
|
| |
| |
| |
| |
| |
| | |
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>
|
|\
| |
| | |
Update softhsm and libp11 to latest
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
Also drop workaround patch for OpenSSL 1.0.2.m since OE OpenSSL version
is now at 1.1.1a.
Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Changes in 2.5.0:
- Support for cross-compilation
- Use RDRAND in OpenSSL if that engine is available
- Support for EDDSA with vendor defined mechanisms
- Replace PKCS11 headers with a version from p11-kit
Recipe updated to build support for EdDSA since that is already
available in latest OpenSSL (1.1.1a).
HOMEPAGE and LICENSE also changed to match upstream.
Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
|
|\
| |
| | |
Some cleaning up
|
| |
| |
| |
| |
| |
| |
| | |
Search made with the following regex: getVar ?\((.*), True\), this is
to be consistent with OE.
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
|
|/
|
|
|
|
| |
type -> size.
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
|
|\
| |
| | |
classes/image_types_ostree.bbclass: fix checksum calculation
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Adds initramfs and/or devicetree into checksum calculation.
According to ostree documentation if devicetree and/or initramfs are
included into ostree, checksum should also include them.
Signed-off-by: Luka Pivk <luka.pivk@toradex.com>
|
|\ \
| |/
|/| |
sc-hsm-embedded: removed as it was never actually used.
|
|/
|
|
| |
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
|
|\
| |
| | |
Configure oe-selftests to run on specific node label
|
| |
| |
| |
| | |
Signed-off-by: Manikandan Kandasamy <manikandan.kandasamy@here.com>
|
|\ \
| | |
| | |
| | |
| | | |
advancedtelematic/fix/OTA-1866/simultaneous-garage-sign
image_garagesign: Use a lock to fix concurrency problems.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
|\ \ \
| |/ /
|/| | |
ostree: upgrade to v2018.9
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
|\ \
| |/
|/| |
classes/image_types_ostree.bbclass: add device tree to boot/devicetree
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Include device trees into boot/devicetree-*-checksum. Device trees with
this name format get picked up by ostree and copied into boot/.
Ostree also generates entry inside uEnv.txt called fdt_file pointing to
this device tree.
Normaly one would include only one device tree. If KERNEL_DEVICETREE
includes more then one device tree this will add all the device trees
but ostree will still pick only one device tree and include it into
boot.
We are working on modifications to ostree so it will pickup all
the device trees.
Signed-off-by: Luka Pivk <luka.pivk@toradex.com>
|
|\ \
| | |
| | | |
Add the requirement to sign a DCO
|
| | |
| | |
| | |
| | | |
Signed-off-by: Anton Gerasimov <tossel@gmail.com>
|
|\ \ \
| | | |
| | | | |
aktualizr: Bump to latest (d00d1a04cc2366d1a5f143b84b9f507f8bd32c44).
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Some OSTree improvements, reboot detection, retry failed downloads.
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
|
|\ \ \ \
| |/ / /
|/| | | |
Use usrmerge
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
OpenEmbedded's usrmerge implementation checks that nothing is
installing in /bin, /sbin or /lib. Hence those directories
are empty by default. There is no need for the manual usrmove
anymore.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Make usrmerge a mandatory DISTRO feature when using the ostree class.
This will allow to remove the "manual" usrmerge implementation.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
OSTree needs UsrMove to be implemented, meaning that everything
should be in /usr. OpenEmbedded has a distro feature usrmerge which
implements exactly that, and makes sure that no package install
anything in /bin, /sbin or /lib. Make use of it.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|\ \ \ \
| |/ / /
|/| | | |
aktualizr and image_types_ota: more curly braces.
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
|\ \ \
| | | |
| | | | |
image_types_ostree: use OSTree repo location for lockfiles
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
OSTree does not allow concurrent access to the repository. If
two bitbake instances use the same OSTree repository, then they
might access it simultanously. The lockfile to prevent such
simultaneous access should really be in the same location where
the OSTree repository is stored.
Revert back to the location inside the OSTree repository.
Fixes: e97975d6113c ("image_types_ostree/ota.bbclass: refactor ostree task")
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|\ \ \
| |_|/
|/| | |
Fix bloated OTA image
|
|/ /
| |
| |
| |
| |
| | |
Curly braces are necessary around bitbake variables
Signed-off-by: Anton Gerasimov <anton.gerasimov@here.com>
|
|\ \
| | |
| | | |
oe-selftest: rpi-basic-image is deprecated. Use core-image-basic.
|
| | |
| | |
| | |
| | | |
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
|
|\ \ \
| |/ /
|/| | |
Fixed some issues
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Move the dependency do_image_wic -> do_image_ota_ext4 from sota.bbclass
to image_types_ota.bbclass, since it's a image specific dependency.
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
There are several flaws with ostree tasks, as follows:
- ${IMAGE_NAME}.rootfs.ostree.tar.bz2 is generated, but it's not being
used during ostree commit, so it should be removed if it's just a
intermittent artifact. Or if we intend to deploy this tar.bz2 file,
it should be tracked by sstate cache, that is to day, it should be
generated in ${IMGDEPLOYDIR} rather than in ${DEPLOY_DIR_IMAGE}.
- There are quite a few redundant code like mktemp/cd/rm a directory,
which can be replaced by setting 'dirs', 'cleandirs' varflags.
- There are some redundant variable check logic in image_types_ostree
and image_types_ota bbclass.
To fix the above, we make the following changes:
- Introduce a new conversion image type 'tar', it could convert ostree
and ota to ostree.tar, ota.tar, hence we can drop the code generating
ostree.tar.bz2 in image_types_ostree.bbclass, and also drop the
do_image_ota-tar task. To let this conversion type take effect, the
otasetup task needs to be changed to ota.
- Introduce BUILD_OSTREE_TARBALL variable, when being set to 1, a
ostree.tar.bz2 tarball would be built, BUILD_OSTREE_TARBALL defaults
to be 1, to be consistent with original behavior.
- Replace 'ota-tar ota-tar.xz' with ota.tar.xz in IMAGE_FSTYPES.
- Add a sanity check bbclass sota_sanity.bbclass, to ensure ostree or
ota is not in OVERRIDES, this is to prevent potential naming
pollution with other meta layers, and also check the required
variables are not empty. This sota_sanity.bbclass is a common class
that could be extended easily in furture, and one of its most
advantages is that all the check are done in bb.event.SanityCheck
event handler, so the end users could get the error message at very
beginning of the recipe parsing time.
Signed-off-by: Ming Liu <liu.ming50@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>
|
|\ \
| | |
| | | |
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>
|