summaryrefslogtreecommitdiffstats
path: root/recipes-core
Commit message (Collapse)AuthorAgeFilesLines
* meta: introduce ostree-kernel-initramfs recipeMing Liu2020-07-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | 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>
* initramfs-ostree-image: drop qemuboot from IMAGE_CLASSESMing Liu2020-06-021-1/+1
| | | | | | | 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>
* initramfs-ostree-image: drop image_repo_manifest from IMAGE_CLASSESMing Liu2020-01-301-2/+2
| | | | | | | | 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>
* Don't try to put the repo manifest in the initramfs image.fix/initramfs-no-manifestPatrick Vacek2019-09-091-1/+1
| | | | | | It isn't very useful there and just takes up space. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* initramfs-ostree-image: unset EXTRA_IMAGEDEPENDS to avoid extra dependenciesinitramfsRicardo Salveti2019-07-241-0/+3
| | | | | | | | 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>
* classes, images: Use standard variables for initramfsYevgeny Popovych2018-08-141-1/+1
| | | | | | | | 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>
* Replace INITRAMFS_FSTYPES with OSTREE_INITRAMFS_FSTYPESRicardo Salveti2018-02-091-1/+1
| | | | | | | | | | 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>
* sota: introduce INITRAMFS_FSTYPESMing Liu2017-11-201-2/+1
| | | | | | | | | | | | | 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>
* Fix incompatibilities with latest pyro, use wic on RPiAnton Gerasimov2017-11-071-1/+0
|
* Set IMAGE_OVERHEAD_FACTOR for fixed initrd sizeJan-Simon Möller2017-08-141-0/+1
| | | | | | Set IMAGE_OVERHEAD_FACTOR = "1.0" Otherwise the initrd was 12M due to the default overhead (x1.3).
* Override IMAGE_ROOTFS_EXTRA_SPACEPhil Wise2017-06-261-0/+4
| | | | | AGL sets this to 500MB to allow extra space in the default image. Set it to 0 in the initramfs.
* Inherit u-boot when u-boot images are requiredAnton Gerasimov2017-04-121-0/+1
|
* OSTree-enabled image for raspberry PiAnton Gerasimov2016-10-271-2/+2
| | | | | | | | | | | | | 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>
* Fix initramfs build for sotaJan-Simon Möller2016-10-121-1/+3
| | | | | | | The initramfs_fstypes default to cpio.gz, we need ext4.gz. Change-Id: Ib35e7ff23767fbe02b25f7605a22fcfb7b5899c8 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
* Tuned initrd image and pseudo environment to fix bugs with extendedAnton Gerasimov2016-10-041-1/+1
| | | | | | | | | security attributes. Bug-AGL: SPEC-259 Change-Id: I44499ce3f5f1924aecf63689a93d1f20e779225e Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
* Added initramfs image and fixed several error to make AGL rootfsAnton Gerasimov2016-09-261-0/+23
bootable as an OSTree deployment Bug-AGL: SPEC-253 Change-Id: If636a282d51a64c73c46ce70a361518c1f70cdd6 Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>