summaryrefslogtreecommitdiffstats
path: root/images
diff options
context:
space:
mode:
authorAdrian Dudau <adrian.dudau@enea.com>2017-08-30 15:45:02 +0200
committerAdrian Dudau <adrian.dudau@enea.com>2017-09-01 10:51:20 +0200
commit9528b94a291d648bb62f28826e2b946a229c8cb0 (patch)
treebadcab9e0ff1d1cad2ae1a74697ce1114bd610b8 /images
downloadmeta-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.inc10
-rw-r--r--images/enea-image-nfv-access-common.inc13
-rw-r--r--images/enea-image-nfv-access-guest-sdk.bb13
-rw-r--r--images/enea-image-nfv-access-guest.bb9
-rw-r--r--images/enea-image-nfv-access-host-common.inc12
-rw-r--r--images/enea-image-nfv-access-host-odm.bb3
-rw-r--r--images/enea-image-nfv-access-host-openstack.bb17
-rw-r--r--images/enea-image-nfv-access-host-sdk.bb18
-rw-r--r--images/enea-image-nfv-access-host.bb3
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 @@
1inherit image-vm
2IMAGE_FSTYPES += "qcow2"
3
4# To reduce storage size remove the intermediate images
5do_clean_unused_img() {
6 rm ${IMGDEPLOYDIR}/*.hdddirect
7 rm ${IMGDEPLOYDIR}/*.ext4
8}
9
10addtask 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 @@
1require images/enea-image-common.inc
2
3IMAGE_INSTALL += " \
4 packagegroup-enea-virtualization \
5 kernel-modules \
6 "
7
8IMAGE_FSTYPES = "ext4.gz"
9
10#keep only the archive
11do_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 @@
1DESCRIPTION = "Image for the guest side of the Enea NFV Access Platform"
2
3require images/enea-image-nfv-access-common.inc
4
5IMAGE_INSTALL += " \
6 packagegroup-enea-virtualization-guest \
7 packagegroup-enea-virtualization-tools \
8 kernel-devsrc \
9 "
10
11IMAGE_FEATURES += "dbg-pkgs dev-pkgs"
12
13require 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 @@
1DESCRIPTION = "Image for the guest side of the Enea NFV Access Platform"
2
3require images/enea-image-nfv-access-common.inc
4
5IMAGE_INSTALL += " \
6 packagegroup-enea-virtualization-guest \
7 "
8
9require 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 @@
1require images/enea-image-nfv-access-common.inc
2
3IMAGE_INSTALL += " \
4 packagegroup-enea-virtualization-host \
5 "
6
7IMAGE_FSTYPES += "tar.gz"
8
9# Due to a legacy include from corei7 machine we need to stop building following images
10NOHDD = "1"
11NOISO = "1"
12INITRD_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 @@
1DESCRIPTION = "Image for the host side of the Enea NFV Access Platform that provides ODM support"
2
3require 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 @@
1DESCRIPTION = "Image for the host side of the Enea NFV Access Platform that provides Oopenstack support"
2
3require images/enea-image-nfv-access-host-common.inc
4
5IMAGE_INSTALL = " \
6 packagegroup-core-boot \
7 packagegroup-cloud-compute \
8 packagegroup-cloud-debug \
9 packagegroup-cloud-extras \
10 "
11
12IMAGE_FEATURES += "ssh-server-openssh"
13
14inherit openstack-base
15inherit monitor
16
17IMAGE_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 @@
1DESCRIPTION = "Image for the host side of the Enea NFV Access Platform"
2
3require images/enea-image-nfv-access-common.inc
4
5IMAGE_INSTALL += " \
6 packagegroup-enea-virtualization-host \
7 packagegroup-enea-virtualization-tools \
8 kernel-devsrc \
9 "
10
11IMAGE_FEATURES += "dbg-pkgs dev-pkgs"
12
13IMAGE_FSTYPES += "tar.gz"
14
15# Due to a legacy include from corei7 machine we need to stop building following images
16NOHDD = "1"
17NOISO = "1"
18INITRD_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 @@
1DESCRIPTION = "Image for the host side of the Enea NFV Access Platform"
2
3require images/enea-image-nfv-access-host-common.inc