| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
| |
calculate_size had a typo that made one of the cases fail. This patch fixes it.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
IMAGE_DEPENDS is deprecated in latest OE, replace it with:
do_image_<type>[depends] += "<recipe>:<task>"
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
|
| |
|
|\
| |
| | |
Explicitly include ca-certificates as a dependency for garage-push
|
| |
| |
| |
| |
| | |
/etc is not added to the sysroot by default, so force it. Also, move the
dependency to where it is actually used.
|
| | |
|
|/
|
|
|
|
|
| |
Helpful for debugging, etc.
Mostly copied from here:
https://github.com/openivimobility/meta-oim/blob/master/classes/image-repo-manifest.bbclass
|
|\
| |
| | |
Feat/remerge recipes
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
I found the trick to allow specifiying target vs native variables and
tasks. It's a bit wordy but better than having three separate files for
the aktualizr recipe.
Oddly and annoyingly, while only "aktualizr" must be specified in
sota_bleeding.inc, both "BRANCH_pn-aktualizr" and
"BRANCH_pn-aktualizr-native" must be specified in local.conf to
correctly use a given branch.
|
|/ |
|
|
|
|
|
|
| |
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
|
|\
| |
| | |
Hacky ability to provide client credentials and install them on the device
|
| | |
|
|/ |
|
|\
| |
| | |
Pyro needs coreutils-native (we call sync) b/c rss
|
| |
| |
| |
| |
| | |
We need to make sure 'sync' is in place.
Unzip-native could probably also use ":do_populate_sysroot".
|
|/
|
|
|
|
|
| |
Append recipe aktualizr-auto-prov for provisioning of
systemd service and configurations to the SOTA image.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
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>
|
|\
| |
| | |
Compress rpi-sdimg-ota
|
| | |
|
| |
| |
| | |
We could make that a option to the user ...
|
|\ \
| | |
| | | |
Remove also compressed rpi-sdimg.xz
|
| |/ |
|
|/ |
|
|
|
|
|
| |
Perform sync() after provisioning
Store sota.toml in updatable /usr directory
|
|
|
|
|
|
| |
Support Renesas R Car Starter Kit Generation 3 (m3ulcb).
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
|
|
|
|
| |
Fixes SPEC-761 in AGL
|
|\
| |
| | |
Add uptane-capable aktualizr
|
| | |
|
| | |
|
| | |
|
|/ |
|
|\
| |
| | |
Add support for zipped credentials
|
| | |
|
| | |
|
| | |
|
|\ \
| | |
| | | |
Remove unneeded image types
|