From 7a9f9802ae2f57535ad3244526c3cec9056b33c2 Mon Sep 17 00:00:00 2001
From: Denys Dmytriyenko <denys@konsulko.com>
Date: Thu, 27 Apr 2023 17:38:02 +0000
Subject: [PATCH] files/group: add sgx group with static ID for new systemd

Yocto Project 4.0.9 now comes with systemd v250, which uses sgx group:

https://git.openembedded.org/openembedded-core/commit/?h=kirkstone&id=3fd47697df858d4093d9cb4c6a378fc07aa4d064

Note: here sgx is not related to Imagination PowerVR GPU, but rather
means Intel Software Guard Extensions:

https://en.wikipedia.org/wiki/Software_Guard_Extensions

Bug-AGL: SPEC-4768

Change-Id: I3f8656b5e859f1126388f52d9f8b54bfac0734a7
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28720
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
(cherry picked from commit 718394298c12ab1d1a384d940d883c2b60adf8d9)
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28765
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
---
 meta-agl-core/files/group | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-agl-core/files/group b/meta-agl-core/files/group
index 4765730e5..69a86186e 100644
--- a/meta-agl-core/files/group
+++ b/meta-agl-core/files/group
@@ -95,6 +95,7 @@ systemd-resolve::1006:
 mosquitto::1007:
 pipewire::1008:
 render::1009:
+sgx::1010:
 kuksa::900:
 qemu::901:
 kvm::902:
-- 
2.16.6