From a6a685456a562726f915213e8d69b535c5d4aaab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jonas=20H=C3=B6ppner?= <jonas.hoeppner@garz-fricke.com>
Date: Mon, 23 May 2022 08:47:02 +0200
Subject: [PATCH] network: Fix distrooverride for network: set mac address,
 removed networkd

The distrooverride changed from guf to seconorth, but these recipes
haven't been adapted yet and the syntax was not changed to the new.
---
 recipes-core/systemd/systemd_%.bbappend    | 2 +-
 recipes-seconorth/sharedconf/sharedconf.bb | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes-core/systemd/systemd_%.bbappend b/recipes-core/systemd/systemd_%.bbappend
index 4e623d75..3ef490e7 100644
--- a/recipes-core/systemd/systemd_%.bbappend
+++ b/recipes-core/systemd/systemd_%.bbappend
@@ -1,3 +1,3 @@
 # We use network manager for the guf distro
 # ( in fngsystem it is still in use)
-PACKAGECONFIG:remove:guf = " networkd "
+PACKAGECONFIG:remove:seconorth = " networkd "
diff --git a/recipes-seconorth/sharedconf/sharedconf.bb b/recipes-seconorth/sharedconf/sharedconf.bb
index 80d96a61..6dcedca9 100644
--- a/recipes-seconorth/sharedconf/sharedconf.bb
+++ b/recipes-seconorth/sharedconf/sharedconf.bb
@@ -98,7 +98,7 @@ do_install() {
     install -m 0644  ${S}/config-default-wlan0-ap.xml ${D}/usr/share/sharedconf/
 }
 
-pkg_postinst_ontarget:${PN}-network_guf () {
+pkg_postinst_ontarget:${PN}-network:seconorth () {
     # Write Network Manager connections SECO North device config during first boot
     ${sbindir}/gf-network-conf.sh --format=networkmanager generate
 }
-- 
GitLab