ta/ipa-deployer.git
4 years agoArch-specific builds, aarch64 support 21/1621/12 master
Alexandru Avadanii [Thu, 19 Sep 2019 11:49:55 +0000 (13:49 +0200)]
Arch-specific builds, aarch64 support

Only x86_64 machines (i386, i686 etc.) use BIOS and have a 'syslinux'
package (currently a dependency of ipa-deployer).

Make ipa-deployer produce arch-specific binaries, adding support for
AArch64 architecture:

- syslinux should be a build dependency only on x86_64;
- diskimage-builder provided by CentOS repos is too old to properly
  support AArch64, rely on PIP to install a working version;
- add EFI system partition (ESP) handling requirements (util-linux,
  dosfstools, gdisk);
- DIB elements: AArch64 requires block-device-efi;
- iso-image-create: Add support for creating EFI images (new args
  "-e", "-E" may be used to specify the path to efiboot.img,
  respectively the EFI directory), handle syslinux only
  on x86, bail if mkisofs fails;
- enable EFI support for x86_64 image too;

Change-Id: Id37164d5eadf5729b8aeb6da0617d3310ba1109b
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
4 years agoDelete extra udev rule 28/928/2
bela.szanics [Fri, 31 May 2019 14:07:35 +0000 (17:07 +0300)]
Delete extra udev rule

Change-Id: I58f2197b80edc393cd7e01bf4bdd895153feff2e
Signed-off-by: bela_szanics <bela.szanics@nokia.com>
4 years agoRun sync and partprobe after wiping fs 51/851/1
Baha Mesleh [Sat, 25 May 2019 22:01:45 +0000 (01:01 +0300)]
Run sync and partprobe after wiping fs

Make sure that the cached data is flushed before exiting from the service which wipes the fs.

Signed-off-by: Baha Mesleh <baha.mesleh@nokia.com>
Change-Id: Icd58f028d99eac98064dfc98219e9e87bc9e4399

4 years agoAdditional check for block device 24/824/1
Janne Suominen [Fri, 24 May 2019 09:16:08 +0000 (12:16 +0300)]
Additional check for block device

This will fix the installation if there is existing partitions.
The check is needed since the data is cached and wiping will be
done first to the actual disk and then to the partition. If such
partition does not exist then it will create a file instead.

Change-Id: I6f8f9388adb20b7d8496be38ad3676576f2eee6a
Signed-off-by: Janne Suominen <janne.suominen@nokia.com>
4 years agoFix problem with installation 63/763/2
Janne Suominen [Tue, 21 May 2019 05:28:05 +0000 (08:28 +0300)]
Fix problem with installation

The erasing is done also for loop devices which is wrong.
Now also skipping the procedure in virtual environment since the
disks are always empty.

Change-Id: Iac6dabb3f4ea6d2fae2cb72f9c4edea71453e97f
Signed-off-by: Janne Suominen <janne.suominen@nokia.com>
4 years agoSeed code for ipa-deployer 36/636/1
Janne Suominen [Thu, 9 May 2019 06:14:21 +0000 (09:14 +0300)]
Seed code for ipa-deployer

Seed code for ipa-deployer

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