[elbe-devel] [PATCH 1/6] elbepack: finetuning: fix "groupadd -r"

Thomas Weißschuh thomas.weissschuh at linutronix.de
Tue May 28 10:26:21 CEST 2024


The dash was accidentally dropped.

It practice this didn't matter because the "system" attribute is a
xsd:boolean for which "True" is not a valid value anyways.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh at linutronix.de>
---
 elbepack/finetuning.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/elbepack/finetuning.py b/elbepack/finetuning.py
index f80e21a43cb8..986b64dc11ce 100644
--- a/elbepack/finetuning.py
+++ b/elbepack/finetuning.py
@@ -232,7 +232,7 @@ class AddGroupAction(FinetuningAction):
             if 'gid' in att:
                 options.extend(['-g', att['gid']])
             if 'system' in att and att['system'] == 'True':
-                options.append('r')
+                options.append('-r')
             chroot(target.path, ['/usr/sbin/groupadd', *options, self.node.et.text])
 
 

-- 
2.45.1



More information about the elbe-devel mailing list