| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| | |
into backport/thud/garage-sign-lock-etc
|
| |\
| | |
| | | |
sota.bbclass: fix a variable assignment regression
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
A regression was introduced by commit 9dcfcdb9:
[ classes, images: Use standard variables for initramfs ]
it replaced OSTREE_INITRAMFS_IMAGE with INITRAMFS_FSTYPES which is
fine, but the '??=' should be changed to "?=" as well, or else it will
not take effect since INITRAMFS_FSTYPES's already set in bitbake.conf
with '?='.
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
|
| |\ \
| | | |
| | | | |
Master 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>
|
| |\ \
| | | |
| | | | |
Add support for device tree overlays in FIT images
|
| | |/
| | |
| | |
| | | |
Signed-off-by: Anton Gerasimov <anton.gerasimov@here.com>
|
| |\ \
| | |/
| |/| |
sota.conf: use reproducible builds by default
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |\
| | |
| | | |
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>
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Thud 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/thud 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>
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Feat/thud/hardware id etc
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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>
|