summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIskander Amara <iamara@alfred.lan>2024-04-15 15:28:34 +0200
committerIskander Amara <iskander.amara@theobroma-systems.com>2024-04-17 10:44:59 +0200
commitaf3fb45defc153e5adc0aa0999e5a74db245b31e (patch)
tree0c348f0518453e72793113ff2f052cb10bfc7b8e
parent8df6115ceeb94db67026efc0809909aa1b766b1e (diff)
poky-theobroma: Initiate Poky Theobroma distributionHEADkirkstone
By default, Yocto uses POKY as the standard distribution. To maintain consistency between the build options offered (KAS or bitbake), we add a new configuration file for our own DISTRO (poky-theobroma). As the name suggests, it is based on poky DISTRO. So basically we implement the same policies as POKY plus our specific guidelines that apply to all theobrama products that explicitly specify the use of poky-theobroma distro during build stage. In this regard, also kas-theobroma.yml needed to be changed: 1- use poky-theobroma distro. 2- remove any particularity => Now, since everything is defined in the distro config file. Relates-to: JAG-233 Signed-off-by: Iskander Amara <iskander.amara@theobroma-systems.com>
-rw-r--r--conf/distro/poky-theobroma.conf10
-rw-r--r--kas-theobroma.yml14
2 files changed, 11 insertions, 13 deletions
diff --git a/conf/distro/poky-theobroma.conf b/conf/distro/poky-theobroma.conf
new file mode 100644
index 0000000..3f7048b
--- /dev/null
+++ b/conf/distro/poky-theobroma.conf
@@ -0,0 +1,10 @@
+require conf/distro/poky.conf
+DISTRO = "poky-theobroma"
+DISTRO_NAME = "Poky Theobroma (Theobroma Projects Distro)"
+DISTRO_VERSION = "1.0"
+
+# TODO: Once https://lore.kernel.org/openembedded-core/20230109-optional-ifupdown-v1-1-18a8f3aee85b@theobroma-systems.com/
+# is merged, replace with BAD_RECOMMENDATIONS += "init-ifupdown" in
+# image recipe.
+SYSVINIT_SCRIPTS:remove = "init-ifupdown"
+NETWORKMANAGER_DNS_RC_MANAGER_DEFAULT ?= "file"
diff --git a/kas-theobroma.yml b/kas-theobroma.yml
index 1f865c2..2235042 100644
--- a/kas-theobroma.yml
+++ b/kas-theobroma.yml
@@ -3,19 +3,7 @@ header:
includes:
- repo: meta-theobroma-systems-bsp
file: kas-theobroma.yml
-# TODO: Once https://lore.kernel.org/openembedded-core/20230109-optional-ifupdown-v1-1-18a8f3aee85b@theobroma-systems.com/
-# is merged, replace with BAD_RECOMMENDATIONS += "init-ifupdown" in
-# image recipe.
-local_conf_header:
- meta-theobroma-systems-extended: |
- SYSVINIT_SCRIPTS:remove:ringneck-haikou = "init-ifupdown"
- SYSVINIT_SCRIPTS:remove:jaguar = "init-ifupdown"
- SYSVINIT_SCRIPTS:remove:tiger-haikou = "init-ifupdown"
- SYSVINIT_SCRIPTS:remove:puma-haikou = "init-ifupdown"
- NETWORKMANAGER_DNS_RC_MANAGER_DEFAULT:ringneck-haikou ?= "file"
- NETWORKMANAGER_DNS_RC_MANAGER_DEFAULT:jaguar ?= "file"
- NETWORKMANAGER_DNS_RC_MANAGER_DEFAULT:tiger-haikou ?= "file"
- NETWORKMANAGER_DNS_RC_MANAGER_DEFAULT:puma-haikou ?= "file"
+distro: poky-theobroma
target:
- theobroma-extended-image
repos: