| 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>
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Make sure to use the custom target version when creating
installed_versions if defined by the user.
Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
|
|
|
|
|
|
|
| |
/boot/grub2/grub.cfg should reflect the grub.cfg used by the boot process
instead of being an empty file.
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>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
We should also do this in the recipes
|
|
|
| |
calculate_size had a typo that made one of the cases fail. This patch fixes it.
|
|\ |
|
| | |
|
|\|
| |
| |
| | |
Bring over fixes from the last couple months from pyro in rocko.
|
| | |
|
|/ |
|
|
|
|
| |
Fixes SPEC-761 in AGL
|
| |
|
|\
| |
| | |
Remove unneeded image types
|
| | |
|
|/
|
|
|
|
|
|
|
| |
Aktualizr currently supports OSTree updates in non-autoprovisioned mode. Add a
systemd service to run it in that mode. It uses the same location for the
config file as rvi-sota-client (/sysroot/boot/sota.toml)
Also, the aktualizr recipe is reformatted according to
meta-openembedded/contrib/oe-stylize.py (which follows the OE styleguide)
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
by live image recipe
Bug-AGL: SPEC-296
Change-Id: Idbb00f33fd04b2a2d9fa8c615347f9b85d917d4a
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>
|
|
|
|
|
|
|
|
|
| |
build with otaimg
Bug-AGL: SPEC-236
Change-Id: I60f5b535467819cd03a591a12b725f2d7fc2cd31
Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
|
|
|
|
|
|
|
|
|
| |
otaimg is now a live image.
Bug-AGL: SPEC-236
Change-Id: I5a56ffbdb098c1b4eb33fceeae32e28611b83fb7
Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
|
|
u-boot that can be used as BIOS, machine that uses both and fork of poky
runqemu supporting the new live image.
Bug-AGL: SPEC-236
Change-Id: Id99d122c05a00eb94902e8f6907455a1e681f2a3
Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
|