ta/image-provision.git
4 years agoEFI support for installmedia dracut module 88/1988/10 master
Alexandru Avadanii [Fri, 15 Nov 2019 14:19:01 +0000 (15:19 +0100)]
EFI support for installmedia dracut module

- fix non-printable character in sh script;
- add UEFI and GPT partition table handling:
  * move backup GPT data structures to the end of the disk after
    dumping the image to disk;
  * mount the 3rd partition as root if EFI system partition (ESP) is
    present, while also mounting ESP separately;
  * use the appropiate path for grub.cfg depending on whether UEFI
    is used or not;
  * add a few seconds of delay to allow all GPT partitions to be
    properly discovered before attempting to mount sysroot;
- extend requires to include the full `cloud-utils` package and its
  dependencies (e.g. util-linux, qemu-img-ev, cloud-utils-growpart)
  since the AArch64 base image does not include growpart like the
  x86_64 base image does (x86_64 base image qcow2 being newer than
  its aarch64 counterpart - version 1801 versus 1708);

While at it, fix loading the ipmi_ssif kernel module on AArch64.

Co-authored-by: Jimmy Lafontaine Rivera <lafonj@gmail.com>
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Change-Id: Ibef1b8fc16c3d95eca1ac87ec8cc3b449df1eb0a

4 years agodracut conf: Add ipmi_ssif to initrd 66/1766/1
Alexandru Avadanii [Thu, 10 Oct 2019 12:43:43 +0000 (14:43 +0200)]
dracut conf: Add ipmi_ssif to initrd

Certain nodes require the ipmi_ssif kernel module to access the
IPMI over SMBus, so add it to the initrd-provisioning.img.

Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Co-authored-by: Jimmy Lafontaine Rivera <lafonj@gmail.com>
Change-Id: I97f5ab26d3ff2d5eb37bb2227d9c81c0a21ca963

4 years agoIncrease minor version to generate new RPM 50/850/1
Ossi Koivistoinen [Sat, 25 May 2019 14:21:34 +0000 (17:21 +0300)]
Increase minor version to generate new RPM

Signed-off-by: Ossi Koivistoinen <ossi.koivistoinen@nokia.com>
Change-Id: I7292cd41e05e57e50dde968a5d1b5163fcf38104

4 years agoMake exact match on `GRUB_CMDLINE_LINUX` 37/837/2
Krisztian Lengyel [Fri, 24 May 2019 19:56:24 +0000 (15:56 -0400)]
Make exact match on `GRUB_CMDLINE_LINUX`

Using the pattern `^GRUB_CMDLINE_LINUX` both `GRUB_CMDLINE_LINUX` and
`GRUB_CMDLINE_LINUX_DEFAULT`options are matching, however only
`GRUB_CMDLINE_LINUX` intented to be configured.

Change-Id: Iae564f5a97694d036c450f0535ec7b4705d506b7
Signed-off-by: Krisztian Lengyel <krisztian.lengyel@nokia.com>
4 years agoAdd certificates support 52/752/1
Jyrki Aaltonen [Tue, 14 May 2019 13:20:43 +0000 (16:20 +0300)]
Add certificates support

Change-Id: Ie272a20f4af32bb8ea677c620e5237155415b3f9
Signed-off-by: Jyrki Aaltonen <jyrki.aaltonen@nokia.com>
4 years agoSeed code for image-provision 42/642/1
Janne Suominen [Wed, 8 May 2019 12:28:36 +0000 (15:28 +0300)]
Seed code for image-provision

Seed code for image-provision

Change-Id: Ifcb8a8b1dcc17f7c333c3724eb5746e3c1d1257b
Signed-off-by: Janne Suominen <janne.suominen@nokia.com>
4 years agoInitial empty repository
Eric Ball [Wed, 1 May 2019 00:25:29 +0000 (00:25 +0000)]
Initial empty repository