diff options
author | Adrian Dudau <adrian.dudau@enea.com> | 2017-08-30 15:45:02 +0200 |
---|---|---|
committer | Adrian Dudau <adrian.dudau@enea.com> | 2017-09-01 10:51:20 +0200 |
commit | 9528b94a291d648bb62f28826e2b946a229c8cb0 (patch) | |
tree | badcab9e0ff1d1cad2ae1a74697ce1114bd610b8 /images | |
download | meta-el-nfv-access-9528b94a291d648bb62f28826e2b946a229c8cb0.tar.gz |
Initial commit
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Diffstat (limited to 'images')
-rw-r--r-- | images/build-qcow-image.inc | 10 | ||||
-rw-r--r-- | images/enea-image-nfv-access-common.inc | 13 | ||||
-rw-r--r-- | images/enea-image-nfv-access-guest-sdk.bb | 13 | ||||
-rw-r--r-- | images/enea-image-nfv-access-guest.bb | 9 | ||||
-rw-r--r-- | images/enea-image-nfv-access-host-common.inc | 12 | ||||
-rw-r--r-- | images/enea-image-nfv-access-host-odm.bb | 3 | ||||
-rw-r--r-- | images/enea-image-nfv-access-host-openstack.bb | 17 | ||||
-rw-r--r-- | images/enea-image-nfv-access-host-sdk.bb | 18 | ||||
-rw-r--r-- | images/enea-image-nfv-access-host.bb | 3 |
9 files changed, 98 insertions, 0 deletions
diff --git a/images/build-qcow-image.inc b/images/build-qcow-image.inc new file mode 100644 index 0000000..deace60 --- /dev/null +++ b/images/build-qcow-image.inc | |||
@@ -0,0 +1,10 @@ | |||
1 | inherit image-vm | ||
2 | IMAGE_FSTYPES += "qcow2" | ||
3 | |||
4 | # To reduce storage size remove the intermediate images | ||
5 | do_clean_unused_img() { | ||
6 | rm ${IMGDEPLOYDIR}/*.hdddirect | ||
7 | rm ${IMGDEPLOYDIR}/*.ext4 | ||
8 | } | ||
9 | |||
10 | addtask clean_unused_img after do_vmimg before do_image_complete | ||
diff --git a/images/enea-image-nfv-access-common.inc b/images/enea-image-nfv-access-common.inc new file mode 100644 index 0000000..453d152 --- /dev/null +++ b/images/enea-image-nfv-access-common.inc | |||
@@ -0,0 +1,13 @@ | |||
1 | require images/enea-image-common.inc | ||
2 | |||
3 | IMAGE_INSTALL += " \ | ||
4 | packagegroup-enea-virtualization \ | ||
5 | kernel-modules \ | ||
6 | " | ||
7 | |||
8 | IMAGE_FSTYPES = "ext4.gz" | ||
9 | |||
10 | #keep only the archive | ||
11 | do_image_ext4_append() { | ||
12 | rm ${IMGDEPLOYDIR}/*.ext4 | ||
13 | } | ||
diff --git a/images/enea-image-nfv-access-guest-sdk.bb b/images/enea-image-nfv-access-guest-sdk.bb new file mode 100644 index 0000000..0e909b1 --- /dev/null +++ b/images/enea-image-nfv-access-guest-sdk.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | DESCRIPTION = "Image for the guest side of the Enea NFV Access Platform" | ||
2 | |||
3 | require images/enea-image-nfv-access-common.inc | ||
4 | |||
5 | IMAGE_INSTALL += " \ | ||
6 | packagegroup-enea-virtualization-guest \ | ||
7 | packagegroup-enea-virtualization-tools \ | ||
8 | kernel-devsrc \ | ||
9 | " | ||
10 | |||
11 | IMAGE_FEATURES += "dbg-pkgs dev-pkgs" | ||
12 | |||
13 | require images/build-qcow-image.inc | ||
diff --git a/images/enea-image-nfv-access-guest.bb b/images/enea-image-nfv-access-guest.bb new file mode 100644 index 0000000..2317e23 --- /dev/null +++ b/images/enea-image-nfv-access-guest.bb | |||
@@ -0,0 +1,9 @@ | |||
1 | DESCRIPTION = "Image for the guest side of the Enea NFV Access Platform" | ||
2 | |||
3 | require images/enea-image-nfv-access-common.inc | ||
4 | |||
5 | IMAGE_INSTALL += " \ | ||
6 | packagegroup-enea-virtualization-guest \ | ||
7 | " | ||
8 | |||
9 | require images/build-qcow-image.inc | ||
diff --git a/images/enea-image-nfv-access-host-common.inc b/images/enea-image-nfv-access-host-common.inc new file mode 100644 index 0000000..f3c673a --- /dev/null +++ b/images/enea-image-nfv-access-host-common.inc | |||
@@ -0,0 +1,12 @@ | |||
1 | require images/enea-image-nfv-access-common.inc | ||
2 | |||
3 | IMAGE_INSTALL += " \ | ||
4 | packagegroup-enea-virtualization-host \ | ||
5 | " | ||
6 | |||
7 | IMAGE_FSTYPES += "tar.gz" | ||
8 | |||
9 | # Due to a legacy include from corei7 machine we need to stop building following images | ||
10 | NOHDD = "1" | ||
11 | NOISO = "1" | ||
12 | INITRD_IMAGE_LIVE = "" | ||
diff --git a/images/enea-image-nfv-access-host-odm.bb b/images/enea-image-nfv-access-host-odm.bb new file mode 100644 index 0000000..d325588 --- /dev/null +++ b/images/enea-image-nfv-access-host-odm.bb | |||
@@ -0,0 +1,3 @@ | |||
1 | DESCRIPTION = "Image for the host side of the Enea NFV Access Platform that provides ODM support" | ||
2 | |||
3 | require enea-image-nfv-access-host.bb | ||
diff --git a/images/enea-image-nfv-access-host-openstack.bb b/images/enea-image-nfv-access-host-openstack.bb new file mode 100644 index 0000000..3429c94 --- /dev/null +++ b/images/enea-image-nfv-access-host-openstack.bb | |||
@@ -0,0 +1,17 @@ | |||
1 | DESCRIPTION = "Image for the host side of the Enea NFV Access Platform that provides Oopenstack support" | ||
2 | |||
3 | require images/enea-image-nfv-access-host-common.inc | ||
4 | |||
5 | IMAGE_INSTALL = " \ | ||
6 | packagegroup-core-boot \ | ||
7 | packagegroup-cloud-compute \ | ||
8 | packagegroup-cloud-debug \ | ||
9 | packagegroup-cloud-extras \ | ||
10 | " | ||
11 | |||
12 | IMAGE_FEATURES += "ssh-server-openssh" | ||
13 | |||
14 | inherit openstack-base | ||
15 | inherit monitor | ||
16 | |||
17 | IMAGE_ROOTFS_EXTRA_SPACE_append += "+ 3000000" | ||
diff --git a/images/enea-image-nfv-access-host-sdk.bb b/images/enea-image-nfv-access-host-sdk.bb new file mode 100644 index 0000000..add2689 --- /dev/null +++ b/images/enea-image-nfv-access-host-sdk.bb | |||
@@ -0,0 +1,18 @@ | |||
1 | DESCRIPTION = "Image for the host side of the Enea NFV Access Platform" | ||
2 | |||
3 | require images/enea-image-nfv-access-common.inc | ||
4 | |||
5 | IMAGE_INSTALL += " \ | ||
6 | packagegroup-enea-virtualization-host \ | ||
7 | packagegroup-enea-virtualization-tools \ | ||
8 | kernel-devsrc \ | ||
9 | " | ||
10 | |||
11 | IMAGE_FEATURES += "dbg-pkgs dev-pkgs" | ||
12 | |||
13 | IMAGE_FSTYPES += "tar.gz" | ||
14 | |||
15 | # Due to a legacy include from corei7 machine we need to stop building following images | ||
16 | NOHDD = "1" | ||
17 | NOISO = "1" | ||
18 | INITRD_IMAGE_LIVE = "" | ||
diff --git a/images/enea-image-nfv-access-host.bb b/images/enea-image-nfv-access-host.bb new file mode 100644 index 0000000..0f5faae --- /dev/null +++ b/images/enea-image-nfv-access-host.bb | |||
@@ -0,0 +1,3 @@ | |||
1 | DESCRIPTION = "Image for the host side of the Enea NFV Access Platform" | ||
2 | |||
3 | require images/enea-image-nfv-access-host-common.inc | ||