aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArmin Kuster <akuster808@gmail.com>2018-11-28 13:21:01 -0700
committerArmin Kuster <akuster808@gmail.com>2018-12-31 09:01:46 -0800
commit4a5a01409205a909e4fd1f2521d3feb311603c0a (patch)
tree3e07d8bde4a93a18240663e657a7ac196f375f9b
parent344f975950d8d43e85756cc7dd7592c88a0836f5 (diff)
downloadmeta-openembedded-contrib-4a5a01409205a909e4fd1f2521d3feb311603c0a.tar.gz
meta-openembedded-contrib-4a5a01409205a909e4fd1f2521d3feb311603c0a.tar.bz2
meta-openembedded-contrib-4a5a01409205a909e4fd1f2521d3feb311603c0a.zip
meta-webserver: add pkg group and image
Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta-webserver/recipes-core/images/meta-webserver-image-base.bb7
-rw-r--r--meta-webserver/recipes-core/images/meta-webserver-image.bb3
-rw-r--r--meta-webserver/recipes-core/packagesgroups/packagegroup-meta-webserver.bb37
3 files changed, 47 insertions, 0 deletions
diff --git a/meta-webserver/recipes-core/images/meta-webserver-image-base.bb b/meta-webserver/recipes-core/images/meta-webserver-image-base.bb
new file mode 100644
index 0000000000..a4ce10f674
--- /dev/null
+++ b/meta-webserver/recipes-core/images/meta-webserver-image-base.bb
@@ -0,0 +1,7 @@
+SUMMARY = "meta-webserver build test image"
+
+IMAGE_INSTALL = "packagegroup-core-boot"
+
+LICENSE = "MIT"
+
+inherit core-image
diff --git a/meta-webserver/recipes-core/images/meta-webserver-image.bb b/meta-webserver/recipes-core/images/meta-webserver-image.bb
new file mode 100644
index 0000000000..ce4f8a0387
--- /dev/null
+++ b/meta-webserver/recipes-core/images/meta-webserver-image.bb
@@ -0,0 +1,3 @@
+require meta-webserver-image-base.bb
+
+IMAGE_INSTALL += "packagegroup-meta-webserver"
diff --git a/meta-webserver/recipes-core/packagesgroups/packagegroup-meta-webserver.bb b/meta-webserver/recipes-core/packagesgroups/packagegroup-meta-webserver.bb
new file mode 100644
index 0000000000..fc117850b4
--- /dev/null
+++ b/meta-webserver/recipes-core/packagesgroups/packagegroup-meta-webserver.bb
@@ -0,0 +1,37 @@
+SUMMARY = "Meta-webserver packagegroups"
+
+inherit packagegroup
+
+PROVIDES = "${PACKAGES}"
+PACKAGES = ' \
+ packagegroup-meta-webserver \
+ packagegroup-meta-webserver-http \
+ packagegroup-meta-webserver-php \
+ packagegroup-meta-webserver-support \
+ packagegroup-meta-webserver-webadmin \
+'
+
+RDEPENDS_packagegroup-meta-webserver = "\
+ packagegroup-meta-webserver-http \
+ packagegroup-meta-webserver-php \
+ packagegroup-meta-webserver-support \
+ packagegroup-meta-webserver-webadmin \
+"
+
+RDEPENDS_packagegroup-meta-webserver-http = "\
+ nginx monkey cherokee hiawatha nostromo apache-websocket \
+ apache2 sthttpd \
+ "
+
+RDEPENDS_packagegroup-meta-webserver-php = "\
+ phpmyadmin xdebug \
+ "
+
+RDEPENDS_packagegroup-meta-webserver-support = "\
+ spawn-fcgi fcgi \
+ "
+
+RDEPENDS_packagegroup-meta-webserver-webadmin = "\
+ netdata webmin \
+ "
+EXCLUDE_FROM_WORLD = "1"