summaryrefslogtreecommitdiffstats
path: root/classes
Commit message (Collapse)AuthorAgeFilesLines
* Make the serial console as the first choice in GRUB and SYSLINUXGabriel Ionescu2019-08-091-2/+2
| | | | Change-Id: I146aafd422d0f99b25ef222380e053b08239c02f
* ostree and otaimg enhancementsMatei Valeanu2019-06-264-14/+117
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | override_image_types_ostree.inc - do_image_ostree task: -add dirs, cleandirs flags, to avoid mktemp, rm, cd, and to also remove at clean -add subimages, imgsuffix flags, to use automatic link creation -create image in IMGDEPLOYDIR, instead of DEPLOY_DIR_IMAGE to use the automatic deploy and clean mechanism (also helps in cleaning old images) override_image_types_ota.inc - do_image_otaimg task: -add dirs, cleandirs flags, to avoid mktemp, rm, cd, and to also remove at clean -avoid untar-ing the ostree image, and use OSTREE_ROOTFS -create image in IMGDEPLOYDIR, instead of DEPLOY_DIR_IMAGE to use the automatic deploy and clean mechanism Move OSTREE_REPO to "${WORKDIR}/ostree-repo", instead of DEPLOY_DIR_IMAGE, this repo is needed for otaimg creation sota_xeon-d.bbclass sota_atom-c3000.bbclass: -set ROOTFS_sota to IMGDEPLOYDIR insted of DEPLOY_DIR_IMAGE, as this is where the otaimg is now created; also use IMAGE_LINK_NAME istead of IMAGE_NAME, to have the correct reference to the image, even if the image was built in a previous run (IMAGE_NAME differs in this case) Change-Id: I44e87311d1819b80d34f924630d09e429d411d41 Signed-off-by: Matei Valeanu <Matei.Valeanu@enea.com>
* Include UEFI certificates into the hddimgAdrian Dudau2019-06-131-0/+4
| | | | | Change-Id: I27cd60e16b0b9cc469af916842141de294bddd14 Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
* Split grub_efi class overrideAdrian Dudau2019-05-232-28/+27
| | | | | | | | | Split the class override into generic changes and Secure Boot specific (efi_populate). This allows us to override the secureboot parts only if the efi-secure-boot distro feature is enabled. Change-Id: I68ab1a9eae2ffceecd057506ef493b4388ff5343 Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
* do_image_ostree: fix build issueMatei Valeanu2019-05-201-1/+1
| | | | | | | ostree_repo may exist even if not initialized Change-Id: Iae1d17114646128c74646cfb696f4db09638930b Signed-off-by: Matei Valeanu <Matei.Valeanu@enea.com>
* Override image_types_ostree classAdrian Dudau2019-05-131-0/+150
| | | | | | | | Override the class to install the kernel and initramfs signature files into the ostree image. Change-Id: I3cd9d1b0dcb2519802443d9a959a3b35e8a9a823 Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
* Override efi-populate function from grub-efi classAdrian Dudau2019-05-131-0/+28
| | | | | | | | This override is needed to install kernel and initramfs signature files onto the hddimg. Change-Id: Id1434b930312cc601ca2c1782c8b5b5699ce3fd6 Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
* set ramdisk size from kernel configSona Sarmadi2019-05-072-2/+2
| | | | | | | | We have big number of kernel params and at some point it will be difficult to maintain all kernel boot params. Change-Id: I51ba9d21e4c041fb7e77d618d7572704715a3a25 Signed-off-by: Sona Sarmadi <sona.sarmadi@enea.com>
* OSTree: Add sota machine specific classesGabriel Ionescu2018-11-202-0/+26
| | | | | Change-Id: I5dad6a1bcb4f22e1c7c3fa4971a49d87212e15d6 Signed-off-by: Gabriel Ionescu <gabriel.ionescu@enea.com>
* boot menu: Add graphics and serial choicesMatei Valeanu2018-09-211-0/+89
Add override_grub-efi.inc to override "build_efi_cfg" function from grub-efi.bbclass, in order to add GRUB_GRAPHICS variable for grub menuentry specific parameters. Set "console=tty0" for graphic console options for grub and syslinux, and also "console=ttyS0" for serial. Change-Id: If338d9f7e1b82fc91a026ef48ae30647c1049f8b Signed-off-by: Matei Valeanu <Matei.Valeanu@enea.com>