summaryrefslogtreecommitdiff
path: root/meta-unit-distro
diff options
context:
space:
mode:
Diffstat (limited to 'meta-unit-distro')
-rw-r--r--meta-unit-distro/LICENSE21
-rw-r--r--meta-unit-distro/conf/distro/include/containers.inc6
-rw-r--r--meta-unit-distro/conf/distro/include/graphics.inc6
-rw-r--r--meta-unit-distro/conf/distro/include/systemd.inc1
-rw-r--r--meta-unit-distro/conf/distro/unit-poky.conf12
-rw-r--r--meta-unit-distro/conf/layer.conf11
6 files changed, 57 insertions, 0 deletions
diff --git a/meta-unit-distro/LICENSE b/meta-unit-distro/LICENSE
new file mode 100644
index 0000000..c41c5ae
--- /dev/null
+++ b/meta-unit-distro/LICENSE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2024 unitexe
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/meta-unit-distro/conf/distro/include/containers.inc b/meta-unit-distro/conf/distro/include/containers.inc
new file mode 100644
index 0000000..77adbb5
--- /dev/null
+++ b/meta-unit-distro/conf/distro/include/containers.inc
@@ -0,0 +1,6 @@
+require conf/distro/include/meta-virt-container-podman.inc
+
+DISTRO_FEATURES:append = " virtualization"
+DISTRO_FEATURES:append = " pam"
+
+VIRTUAL-RUNTIME_dbus = "dbus-broker"
diff --git a/meta-unit-distro/conf/distro/include/graphics.inc b/meta-unit-distro/conf/distro/include/graphics.inc
new file mode 100644
index 0000000..f141001
--- /dev/null
+++ b/meta-unit-distro/conf/distro/include/graphics.inc
@@ -0,0 +1,6 @@
+DISTRO_FEATURES:remove = "directfb"
+DISTRO_FEATURES:remove = "x11"
+
+DISTRO_FEATURES:append = " wayland"
+DISTRO_FEATURES:append = " pam"
+DISTRO_FEATURES:append = " opengl"
diff --git a/meta-unit-distro/conf/distro/include/systemd.inc b/meta-unit-distro/conf/distro/include/systemd.inc
new file mode 100644
index 0000000..116315b
--- /dev/null
+++ b/meta-unit-distro/conf/distro/include/systemd.inc
@@ -0,0 +1 @@
+INIT_MANAGER = "systemd"
diff --git a/meta-unit-distro/conf/distro/unit-poky.conf b/meta-unit-distro/conf/distro/unit-poky.conf
new file mode 100644
index 0000000..27315f5
--- /dev/null
+++ b/meta-unit-distro/conf/distro/unit-poky.conf
@@ -0,0 +1,12 @@
+require conf/distro/poky.conf
+require conf/distro/include/systemd.inc
+require conf/distro/include/containers.inc
+require conf/distro/include/graphics.inc
+
+DISTRO = "unit-poky"
+DISTRO_NAME = "Unit Poky"
+DISTRO_VERSION = "0.1-snapshot-${DATE}"
+
+MAINTAINER = "unitexe <unitexe70@gmail.com>"
+
+DISTROOVERRIDES = "poky"
diff --git a/meta-unit-distro/conf/layer.conf b/meta-unit-distro/conf/layer.conf
new file mode 100644
index 0000000..84a5773
--- /dev/null
+++ b/meta-unit-distro/conf/layer.conf
@@ -0,0 +1,11 @@
+BBPATH .= ":${LAYERDIR}"
+
+BBFILES += "${LAYERDIR}/recipes*/*/*.bb ${LAYERDIR}/recipes*/*/*.bbappend"
+
+BBFILE_COLLECTIONS += "unit-distro"
+BBFILE_PATTERN_unit-distro := "^${LAYERDIR}/"
+BBFILE_PRIORITY_unit-distro = "9"
+
+LAYERDEPENDS_unit-distro = "core yocto virtualization-layer"
+
+LAYERSERIES_COMPAT_unit-distro = "whinlatter"