summaryrefslogtreecommitdiffstats
path: root/images
Commit message (Collapse)AuthorAgeFilesLines
* Make the installer as first entry and enable timeout to fall through Gabriel Ionescu2019-08-121-3/+3
| | | | | | to the installer Change-Id: I170f961cc9d6bc257fa159481a24d9689c4b4a49
* ostree and otaimg enhancementsMatei Valeanu2019-06-261-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* enea-nfv-access: remove aktualizr packages from imageMatei Valeanu2019-06-051-1/+3
| | | | | | | ostree is not dependant on the aktualizr packages Change-Id: Ib2118bac710fa4106b1c4f4ee65e2baf58bdbaa8 Signed-off-by: Matei Valeanu <Matei.Valeanu@enea.com>
* dpkg: move status files to /usr/dpkg/lib/dpkgMatei Valeanu2019-05-241-2/+2
| | | | | | | This is where ostree dpkg is now expecting the files to be Change-Id: Ifdb7d86f9a72b3a5bb59814439643fecc1aa78c1 Signed-off-by: Matei Valeanu <Matei.Valeanu@enea.com>
* Split grub_efi class overrideAdrian Dudau2019-05-231-0/+1
| | | | | | | | | 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>
* Implement efi-secure-boot as distro feature overrideAdrian Dudau2019-05-231-4/+10
| | | | | | | | | | | | This will allow us to override variables depending on this distro feature more easily. Make Secure Boot related changes apply only efi-secure-boot distro feature is enabled. This will avoid any errors when building without the feature enabled. Change-Id: If07256977a647386cd43c5940357a0dedc95f95d Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
* Override image_types_ostree classAdrian Dudau2019-05-131-0/+1
| | | | | | | | 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>
* Add Secure Boot supportAdrian Dudau2019-05-132-0/+19
| | | | | Change-Id: I09c9b0bad8e85e75fb1510ff374540fad3c3b5d1 Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
* disable the syslinux timeoutSona Sarmadi2019-05-071-2/+4
| | | | | | | | From syslinux doc: ”A timeout of zero will disable the timeout completely.” Change-Id: Ic71ed27ee1d2f9fecf2e9fab983848b65f569f04 Signed-off-by: Sona Sarmadi <sona.sarmadi@enea.com>
* rename enea-nfv-access-edgelink-netconf image nameSona Sarmadi2019-03-222-9/+2
| | | | | | | rename enea-nfv-access-edgelink-netconf to enea-nfv-access Change-Id: Ia55a1e0b4b3581f77633e1a30235687a50c278c5 Signed-off-by: Sona Sarmadi <sona.sarmadi@enea.com>
* enea-nfv-access-host-common: Fix /var/lib/dpkg move errorAdrian Dudau2019-02-071-2/+4
| | | | | | | | | | | | | | | A forced build of do_image_ostree task results in error due to /var/lib/dpkg folder being empty after it was moved out in previous builds. | mv: cannot stat '/data/fb/addu/nfv-rocko/poky/build-xeond-sb/tmp/work/xeon_d-enea-linux/enea-nfv-access-edgelink-netconf/1.0-r0/rootfs/var/lib/dpkg/*': No such file or directory | WARNING: exit code 1 from a shell command. | ERROR: Function failed: do_image_ostree Change-Id: Ia61278eeabec9062e57cc508348be2efcf7599e1 Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
* Disable automatic boot selection in installerSona Sarmadi2019-01-301-4/+3
| | | | | Change-Id: Ifc322d78f4ef8634b16635fd0e8b008f6a56473c Signed-off-by: Sona Sarmadi <sona.sarmadi@enea.com>
* Remove creation of '0644' folderGabriel Ionescu2019-01-031-1/+1
| | | | | Change-Id: Ic063f096643ad52556b84f97f230b5fbf776f4f0 Signed-off-by: Gabriel Ionescu <gabriel.ionescu@enea.com>
* DPKG: Move /var/lib/dpkg to /usr/dpkg to make DPKG work with OSTreeGabriel Ionescu2018-12-171-0/+8
| | | | | Change-Id: I7b9fad743da343bc73c0ad11374faa944e5b3627 Signed-off-by: Gabriel Ionescu <gabriel.ionescu@enea.com>
* Remove grub-efi-utils dependencyGabriel Ionescu2018-12-121-1/+0
| | | | | Change-Id: Ibadaa8052fcae85f5860a095ea127e69ee421a76 Signed-off-by: Gabriel Ionescu <gabriel.ionescu@enea.com>
* OStree: Add support for generating the built in grub config fileGabriel Ionescu2018-12-121-0/+4
| | | | | Change-Id: I3ccdcd42ba9d1c718ed7d8266c5272e98394f9bc Signed-off-by: Gabriel Ionescu <gabriel.ionescu@enea.com>
* OSTree: Remove grub dependencies added by ostreeGabriel Ionescu2018-12-121-0/+7
| | | | | Change-Id: I90ebfc33309181fcfd2c5f331ceb4f5ba53e60e2 Signed-off-by: Gabriel Ionescu <gabriel.ionescu@enea.com>
* OSTree: Add OSTree kernel parameters to enable live bootingGabriel Ionescu2018-11-221-0/+12
| | | | | Change-Id: I9275a7a3a7ebf5f7f3a8c1384d8eade98cd8043c Signed-off-by: Gabriel Ionescu <gabriel.ionescu@enea.com>
* Merge "OSTree: Add OSTree specific images as image types" into rockoCristian Scrieciu2018-11-201-0/+2
|\
| * OSTree: Add OSTree specific images as image typesGabriel Ionescu2018-11-201-0/+2
| | | | | | | | | | Change-Id: I9b82298fce155d695256d8302c5dfd96cabc0c8f Signed-off-by: Gabriel Ionescu <gabriel.ionescu@enea.com>
* | Merge "OSTree: Include ostree-switchroot in initramfs" into rockoCristian Scrieciu2018-11-201-0/+4
|\ \
| * | OSTree: Include ostree-switchroot in initramfsGabriel Ionescu2018-11-091-0/+4
| |/ | | | | | | | | Change-Id: I2639a39eb0595c3e5f10bcbc82d387ee1e224cbf Signed-off-by: Gabriel Ionescu <gabriel.ionescu@enea.com>
* / Force build the otaimg before the hddimgGabriel Ionescu2018-11-201-0/+7
|/ | | | | Change-Id: I244a945b95d498b0d46364ab39705102c5fad659 Signed-off-by: Gabriel Ionescu <gabriel.ionescu@enea.com>
* enea-nfv-access-host: add utilities for GRUB failoverBogdan Pricope2018-09-251-0/+1
| | | | | | | | | Add utilities required to manage GRUB environment block. Utilities are useful for GRUB failover mechanism. Change-Id: I4cb6b6cfc773c575004a454bdc39483392f5d8fb Signed-off-by: Bogdan Pricope <Bogdan.Pricope@enea.com>
* boot menu: Add graphics and serial choicesMatei Valeanu2018-09-211-5/+5
| | | | | | | | | | | 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>
* enea-nfv-access-host-common: add packagegroup for 4G usb modemsBogdan Pricope2018-09-141-0/+1
| | | | | | | | 4G usb modems require additional tools like ModemManager and usb_modeswitch. Change-Id: I5804219323779df59c8d5ef53eae549a3c352e70 Signed-off-by: Bogdan Pricope <Bogdan.Pricope@enea.com>
* enea-nfv-access-edgelink-netconf: remove nfv-init-host from imageMartin Borg2018-06-291-1/+0
| | | | | | | nfv-init-host is now integrated into element-vcpe recipe Signed-off-by: Martin Borg <martin.borg@enea.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
* fix missing console option in grubAdrian Calianu2018-06-211-3/+4
| | | | | | | | take another aproach on setting the console options for syslinux and grub since GRUB_SERIAL is used only for graphical interface which is not on our interest. Signed-off-by: Adrian Calianu <adrian.calianu@enea.com>
* enea-nfv-access-sdk: Add kernel-devsrc to the SDK instead of the imageAdrian Dudau2018-06-201-1/+2
| | | | | Signed-off-by: Adrian Dudau <adrian.dudau@enea.com> Signed-off-by: Martin Borg <martin.borg@enea.com>
* remove ODM target kit from sdkAdrian Calianu2018-06-191-1/+0
| | | | | Signed-off-by: Adrian Calianu <adrian.calianu@enea.com> Signed-off-by: Martin Borg <martin.borg@enea.com>
* nfv-access-host-common: set default console optionsAdrian Calianu2018-06-191-5/+8
| | | | | | | | | | Some options were inherited from syslinux and grub-efi bbclass and we ended up with duplicates. Issue fixed! Increased timeout on syslinux boot menu to 5sec. Signed-off-by: Adrian Calianu <adrian.calianu@enea.com> Signed-off-by: Martin Borg <martin.borg@enea.com>
* enea-nfv-access-sdk: Add element-odm-sdkAdrian Dudau2018-06-071-0/+1
| | | | | Signed-off-by: Adrian Dudau <adrian.dudau@enea.com> Signed-off-by: Martin Borg <martin.borg@enea.com>
* enea-nfv-access-vnf: generate disk imageAdrian Calianu2018-05-181-6/+2
| | | | | | | | image-vm/qcow2 bbclass was removed from poky and replaced with wic.qcow2. For this solution we need a customer wks file. Signed-off-by: Adrian Calianu <adrian.calianu@enea.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
* Restructure imagesAdrian Dudau2018-05-146-46/+15
| | | | | | | | | | | | | | | | | | | We will have two main host images now: enea-nfv-access (which includes element-odm) and enea-nfv-access-edgelink-netconf (which includes element-vcpe) We also have two images used to build the sdks: enea-nfv-access-sdk (based on enea-nfv-access) enea-nfv-access-esdk (based on enea-image-common from meta-el-common) For the gues side, we only have one image used instead of the old guest image: enea-nfv-access-vnf All the other images are getting dropped. Signed-off-by: Adrian Dudau <adrian.dudau@enea.com> Signed-off-by: Martin Borg <martin.borg@enea.com>
* Add support for building the ESDKAdrian Dudau2018-05-071-0/+7
| | | | | | | | | Add new image used for building the ESDK. Add template based on qemux86-64 containing the list of layers included in the ESDK. Signed-off-by: Adrian Dudau <adrian.dudau@enea.com> Signed-off-by: Martin Borg <martin.borg@enea.com>
* enea-nfv-access-openstack: Drop imageAdrian Dudau2018-05-071-17/+0
| | | | | | | And remove layer dependency on meta-openstack. Signed-off-by: Adrian Dudau <adrian.dudau@enea.com> Signed-off-by: Martin Borg <martin.borg@enea.com>
* nfv-installer: Integrate NFV installer into all host imagesGabriel Ionescu2018-04-232-127/+10
| | | | | Signed-off-by: Gabriel Ionescu <gabriel.ionescu@enea.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
* odm image: add boot time host initialization serviceAdrian Calianu2018-04-231-0/+1
| | | | | Signed-off-by: Adrian Calianu <adrian.calianu@enea.com> Signed-off-by: Martin Borg <martin.borg@enea.com>
* Don't remove ext4 image as it's needed to generate the ISOGabriel Ionescu2018-04-111-5/+1
| | | | | Signed-off-by: Gabriel Ionescu <gabriel.ionescu@enea.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
* core-image-minimal: Add kernel modules to imageGabriel Ionescu2018-04-111-1/+1
| | | | | | | The kernel modules are needed for the installer to start up. Signed-off-by: Gabriel Ionescu <gabriel.ionescu@enea.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
* Remove build-qcow-image.incMartin Borg2018-02-284-20/+3
| | | | | | This functionality is available in upstream poky/rocko. Signed-off-by: Martin Borg <martin.borg@enea.com>
* Remove cn8304 u-boot specific image typeMartin Borg2018-02-271-3/+0
| | | | Signed-off-by: Martin Borg <martin.borg@enea.com>
* Customize NFV Access image for ODM kitGabriel Ionescu2018-02-121-0/+130
| | | | | | | Include element-odm in the image and customize the boot scripts Signed-off-by: Gabriel Ionescu <gabriel.ionescu@enea.com> Signed-off-by: Martin Borg <martin.borg@enea.com>
* VNF image for NFV AccessAdrian Calianu2018-02-121-0/+21
| | | | | | | | | | comparing to generic guest image it: - incorparates kernel, rootfs and boot params - add cloud-init support - includes iperf3 Signed-off-by: Adrian Calianu <adrian.calianu@enea.com> Signed-off-by: Martin Borg <martin.borg@enea.com>
* Add nfv-installer to core image minimal initramfsGabriel Ionescu2018-02-121-0/+1
| | | | | Signed-off-by: Gabriel Ionescu <gabriel.ionescu@enea.com> Signed-off-by: Martin Borg <martin.borg@enea.com>
* Replace Dropbear with OpenSSHGabriel Ionescu2017-10-041-0/+2
| | | | | | | This patch replaces Dropbear with OpenSSH for all NFV Access images Signed-off-by: Gabriel Ionescu <gabriel.ionescu@enea.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
* Rename imagesAdrian Dudau2017-10-028-11/+8
| | | | | Signed-off-by: Adrian Dudau <adrian.dudau@enea.com> Signed-off-by: Martin Borg <martin.borg@enea.com>
* Added tar.gz fstype for guestDragos Motrea2017-09-282-3/+1
| | | | | | | | The tar.gz file system is needed for docker import command. Signed-off-by: Dragos Motrea <Dragos.Motrea@enea.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
* Integrated Element ODM packagegroupDragos Motrea2017-09-221-0/+4
| | | | | Signed-off-by: Dragos Motrea <Dragos.Motrea@enea.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
* build u-boot specific images for cn8304Adrian Dudau2017-09-071-0/+3
| | | | | Signed-off-by: Adrian Dudau <adrian.dudau@enea.com> Signed-off-by: Martin Borg <martin.borg@enea.com>