| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We package kernel image, devicetrees, initramfs and install them to
/usr/lib/modules/${KERNEL_VERSION}, which is the preferred location
according to ostree's new implementation, this could simplify the
deployment.
Reference:
https://github.com/ostreedev/ostree/commit/3ab0d5e6644885440bac6abd17b6d2637df5435f
To let initramfs-ostree-image be able to be depended by
ostree-kernel-initramfs, it must inherit nopackages to avoid a annoying
QA warning like the follows:
| WARNING: initramfs-ostree-image-0.0.1-r0 do_package: Manifest ...initramfs-ostree-image.packagedata
| not found in colibri_imx6 armv7ahf-neon-imx armv7at2hf-neon-imx armv7at2hf-neon armv7ahf-neon armv7at2hf-vfp
| armv7ahf-vfp armv6thf-vfp armv6hf-vfp armv5tehf-vfp armv5ehf-vfp armv5thf-vfp armv5hf-vfp allarch
| x86_64_x86_64-nativesdk (variant '')?
Also we need define OSTREE_KERNEL, OSTREE_DEPLOY_DEVICETREE and
OSTREE_DEVICETREE in sota.bbclass so they could be accessed in other
recipes as well as in image recipes.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Ming Liu <ming.liu@toradex.com>
|
|
|
|
|
|
|
| |
To avoid generating a qemuboot.conf for qemu machines, it's useless for
a initramfs image.
Signed-off-by: Ming Liu <ming.liu@toradex.com>
|
|
|
|
|
|
|
|
| |
We should remove image_repo_manifest from IMAGE_CLASSES instead of
dropping buildinfo_manifest from IMAGE_PREPROCESS_COMMAND, which would
ensure the entire class not to be inherited.
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
|
|
|
|
|
|
| |
It isn't very useful there and just takes up space.
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
|
|
|
|
|
|
|
|
| |
It is common for machine configurations to set EXTRA_IMAGEDEPENDS, which
can end up causing circular dependencies when building the initramfs
image (they are usually only required for the actual rootfs image).
Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
| |
Set
IMAGE_OVERHEAD_FACTOR = "1.0"
Otherwise the initrd was 12M due to the default overhead (x1.3).
|
|
|
|
|
| |
AGL sets this to 500MB to allow extra space in the default image. Set it to 0
in the initramfs.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
The initramfs_fstypes default to cpio.gz, we need ext4.gz.
Change-Id: Ib35e7ff23767fbe02b25f7605a22fcfb7b5899c8
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>
|