| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
User is able to customize the init script via OSTREE_INITRAMFS_IMAGE but
there is no way to set INITRAMFS_FSTYPES as it gets defined by
sota.bbclass. Create a new variable called OSTREE_INITRAMFS_IMAGE to
handle the INITRAMFS_FSTYPES update, and also allow the user to override
it.
Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
RAMDISK_EXT and IMAGE_FSTYPES of initramfs-ostree-image should not be
defined separately, because they are representing the same fstype of
a same initramfs image, or else, they turn out to be inconsistent if
the users change one of them.
So we use INITRAMFS_FSTYPES already defined in bitbake.conf, to be able
to set fstype for initramfs. And it should default to ext4.gz.u-boot or
ext4.gz depending on what OSTREE_BOOTLOADER is being set.
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
|
|
|
|
|
|
|
|
| |
It can not determine the init manager is systemd by checking if
DISTRO_FEATURES contains 'systemd', change it to check
VIRTUAL-RUNTIME_init_manager instead.
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
|
|
|
|
|
|
| |
Avoid exposing the sign repo after the build is completed.
Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
|
|
|
|
|
|
|
| |
Both values can be defined by the user, allowing a custom version id and
URL, which is specially useful for CI builds.
Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
|
|
|
|
|
|
|
| |
As a image_types_* bbclass, it does not have to inherit image class, it
is sort of redundant code.
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
|
|
|
|
|
|
| |
Includes the suggestion for using /etc/sota/sota.env if it exists as
recommended by the discussion here:
https://github.com/advancedtelematic/meta-updater/pull/275
|
|\ |
|
| | |
|
|\|
| |
| |
| | |
Bring over fixes from the last couple months from pyro in rocko.
|
| | |
|
| |\
| | |
| | | |
Update documentation, specifically about variables to support secondaries
|
| | |
| | |
| | |
| | |
| | | |
Also add a missing mkdir so that SOTA_SECONDARY_ECUS actually works. We
can improve this in the future but for now it works and I'm using it.
|
| |/
| |
| |
| |
| |
| | |
- New garage-sign interface
- Remove garage-sign recipe (now installed with aktualizr-native)
- Small but critical bugfixes in aktualizr
|
| | |
|
| |
| |
| |
| | |
Also pass this URL to garage-sign
|
| | |
|
|/ |
|
| |
|
|
|
|
|
| |
/etc is not added to the sysroot by default, so force it. Also, move the
dependency to where it is actually used.
|
|
|
|
|
|
| |
No need for sota-tools repo anymore.
Bump aktualizr version to get necessary build fix.
|
|
|
|
|
| |
Also remove implicit-prov from DISTRO_FEATURES. Just specify
SOTA_CLIENT_PROV directly.
|
|
|
|
|
|
|
|
| |
Split aktualizr into basic and native recipes by moving most of the work
to an include file. Use aktualizr-implicit-writer (on host) to do the
actual work of configuring sota.toml and installing files.
Still not quite fully functional.
|
|
|
|
| |
According to https://www.openembedded.org/wiki/Styleguide
|
| |
|
|
|
|
|
| |
We need to make sure 'sync' is in place.
Unzip-native could probably also use ":do_populate_sysroot".
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
Print warnings if variable SOTA_PACKED_CREDENTIALS
is not set or if the specified file does not exist.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
|
| | |
|
| |
| |
| |
| |
| | |
Warn if older credential environment variables are set. They are now
ignored since the credentials aren't unpacked during building.
|
| | |
|
|/
|
|
|
|
|
|
|
| |
The creation of images, such as rpi-basic-image failed
on branch Pyro due to missing/wrong path to unzip.
This patch adds unzip-native as a dependency and
ensures that the image will be created successfully.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
|
|
|
|
|
| |
Perform sync() after provisioning
Store sota.toml in updatable /usr directory
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Change-Id: I36a4d3d24826ab8776bc980b50aef8606af9e7a8
Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
|
|
|
|
|
|
|
|
|
| |
integration code
Bug-AGL: SPEC-194
Change-Id: I650e190bbda67ad48233bc5aedc0c10ff14aa58f
Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
|
|
|
|
|
| |
Change-Id: Iaf00906eb44f50490a67e5f5e5ca229fd1f76028
Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Bug-AGL: SPEC-254
v2 [jsmoeller]: change rpi fdt addr to 200M (fix cma),
re-add inherit gobject-introspection (!)
v3 [oytis]: move boot logic to editable uEnv.txt
Change-Id: Ic54aadc8377ed1e2a8f2f4ab87db2a7a6660cd15
Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
|
|
|
|
|
|
|
| |
security attributes.
Bug-AGL: SPEC-259
Change-Id: I44499ce3f5f1924aecf63689a93d1f20e779225e
Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
|
|
|
|
|
|
|
|
|
| |
bootable as an OSTree deployment
Bug-AGL: SPEC-253
Change-Id: If636a282d51a64c73c46ce70a361518c1f70cdd6
Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
|
|
|
|
|
|
|
| |
Bug-AGL: SPEC-249
Change-Id: Ib5d725f203c0b0545b7c6b3196afb149ac8015c2
Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
|
|
Bug-AGL: SPEC-246
Change-Id: I1390d1aae652f84b61a3b9ca33ae886c138edc50
Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
|