| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
should be provisioned
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The reasoning here is to allow initramfs generated by this recipe
to be included in FIT.
To do so w/o changing openembedded-core (it allows only cpio format) -
init script should be able to execute from a rootfs (i.e. true initramfs),
not ramdisk (initrd).
See [1] for more information on these keywords.
The gist of this change is switch from `pivot_root` to `switch_root`.
This also allows to get rid of some clutter, since `switch_root` handles
transition to new sysroot all by itself.
Again, see [1] for details on these utility/syscall.
[1] https://www.kernel.org/doc/Documentation/filesystems/ramfs-rootfs-initramfs.txt
Signed-off-by: Yevgeny Popovych <yevgenyp@pointgrab.com>
|
|
|
|
|
|
|
|
| |
This will reduce the level of indirection and improve compatibility
with the rest of OE.
For example, FIT that includes initramfs may now be built.
Signed-off-by: Yevgeny Popovych <yevgenyp@pointgrab.com>
|
| |
|
| |
|
| |
|
|
|
|
| |
It needs a plain compressed file system and not an u-boot legacy image
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
sota_raspberrypi can handle the rpi differences if required.
Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
|
|
|
|
|
|
| |
- New garage-sign interface
- Remove garage-sign recipe (now installed with aktualizr-native)
- Small but critical bugfixes in aktualizr
|
| |
|
| |
|
|
|
|
|
|
|
| |
Helpful for debugging, etc.
Mostly copied from here:
https://github.com/openivimobility/meta-oim/blob/master/classes/image-repo-manifest.bbclass
|
| |
|
| |
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
Support Renesas R Car Starter Kit Generation 3 (m3ulcb).
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
|
| |
|
| |
|
| |
|
|\
| |
| | |
Prefix OSTREE_BRANCHNAME with ${MACHINE}-
|
| |
| |
| |
| |
| | |
As a temporary fix, treehub is going to use this to derive the relevant
hardwareIdentifier for a push.
|
|/ |
|
|\ |
|
| | |
|
|/
|
|
|
|
|
| |
Classes are and bbappends are reworked so that mere inclusion of
this layer to bbappends.conf doesn't change anything. In addition
class behavior can now be controlled by both inheriting sota.bblcass
and enabling "sota" DISTRO_FEATURE.
|
|
They are more flexible and allow tricks like conditionally inheriting
machine-related classes from the main one which makes things easier
for external users like AGL
|