From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 01283158090 for ; Fri, 13 May 2022 17:43:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 415B7E0855; Fri, 13 May 2022 17:43:49 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2BC15E0855 for ; Fri, 13 May 2022 17:43:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 91610341A76 for ; Fri, 13 May 2022 17:43:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id ECE66448 for ; Fri, 13 May 2022 17:43:45 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1652463735.214bb3d849d5bf7ce2314aab1858ed6e72b28108.mattst88@gentoo> Subject: [gentoo-commits] proj/catalyst:stage4-user-groups-fixes commit in: catalyst/base/ X-VCS-Repository: proj/catalyst X-VCS-Files: catalyst/base/stagebase.py X-VCS-Directories: catalyst/base/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: 214bb3d849d5bf7ce2314aab1858ed6e72b28108 X-VCS-Branch: stage4-user-groups-fixes Date: Fri, 13 May 2022 17:43:45 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c8ffccce-8c3e-463f-a103-51d1eece0873 X-Archives-Hash: efac6da1dd8fee832185da7dbcca1efc commit: 214bb3d849d5bf7ce2314aab1858ed6e72b28108 Author: Daniel Cordero 0xdc io> AuthorDate: Thu Apr 21 07:08:24 2022 +0000 Commit: Matt Turner gentoo org> CommitDate: Fri May 13 17:42:15 2022 +0000 URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=214bb3d8 catalyst/stage4: don't run split on a list "groups" has been normalised into a list and does not have a split() method. Fixes: 5be6069b ("catalyst: support 3 new options") Signed-off-by: Daniel Cordero 0xdc.io> Signed-off-by: Matt Turner gentoo.org> catalyst/base/stagebase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/catalyst/base/stagebase.py b/catalyst/base/stagebase.py index 1d71c59d..7e6b9e32 100644 --- a/catalyst/base/stagebase.py +++ b/catalyst/base/stagebase.py @@ -931,7 +931,7 @@ class StageBase(TargetBase, ClearBase, GenBase): env=self.env) def groups(self): - for x in self.settings["groups"].split(): + for x in self.settings["groups"]: log.notice("Creating group: '%s'", x) cmd(["groupadd", "-R", self.settings['chroot_path'], x], env=self.env) From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3785E158090 for ; Fri, 13 May 2022 17:45:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5691AE0837; Fri, 13 May 2022 17:45:19 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 40C46E0837 for ; Fri, 13 May 2022 17:45:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6A0B23411B6 for ; Fri, 13 May 2022 17:45:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E0184448 for ; Fri, 13 May 2022 17:45:16 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1652463735.214bb3d849d5bf7ce2314aab1858ed6e72b28108.mattst88@gentoo> Subject: [gentoo-commits] proj/catalyst:master commit in: catalyst/base/ X-VCS-Repository: proj/catalyst X-VCS-Files: catalyst/base/stagebase.py X-VCS-Directories: catalyst/base/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: 214bb3d849d5bf7ce2314aab1858ed6e72b28108 X-VCS-Branch: master Date: Fri, 13 May 2022 17:45:16 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c9f170a9-78a2-48de-bca0-a544719a2011 X-Archives-Hash: 016d62b1861f04dd738fb1d12944f34a Message-ID: <20220513174516.dbwooxL-bqwvz1eXivZblM84IQxQIG5f70vlG-_Fg6A@z> commit: 214bb3d849d5bf7ce2314aab1858ed6e72b28108 Author: Daniel Cordero 0xdc io> AuthorDate: Thu Apr 21 07:08:24 2022 +0000 Commit: Matt Turner gentoo org> CommitDate: Fri May 13 17:42:15 2022 +0000 URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=214bb3d8 catalyst/stage4: don't run split on a list "groups" has been normalised into a list and does not have a split() method. Fixes: 5be6069b ("catalyst: support 3 new options") Signed-off-by: Daniel Cordero 0xdc.io> Signed-off-by: Matt Turner gentoo.org> catalyst/base/stagebase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/catalyst/base/stagebase.py b/catalyst/base/stagebase.py index 1d71c59d..7e6b9e32 100644 --- a/catalyst/base/stagebase.py +++ b/catalyst/base/stagebase.py @@ -931,7 +931,7 @@ class StageBase(TargetBase, ClearBase, GenBase): env=self.env) def groups(self): - for x in self.settings["groups"].split(): + for x in self.settings["groups"]: log.notice("Creating group: '%s'", x) cmd(["groupadd", "-R", self.settings['chroot_path'], x], env=self.env) From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 31BC1158020 for ; Sun, 20 Nov 2022 00:21:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 77BAEE0A7E; Sun, 20 Nov 2022 00:21:30 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 57D10E0A7E for ; Sun, 20 Nov 2022 00:21:30 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7BEC33411E3 for ; Sun, 20 Nov 2022 00:21:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A3C38760 for ; Sun, 20 Nov 2022 00:21:26 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1652463735.214bb3d849d5bf7ce2314aab1858ed6e72b28108.mattst88@gentoo> Subject: [gentoo-commits] proj/catalyst:wip/mattst88 commit in: catalyst/base/ X-VCS-Repository: proj/catalyst X-VCS-Files: catalyst/base/stagebase.py X-VCS-Directories: catalyst/base/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: 214bb3d849d5bf7ce2314aab1858ed6e72b28108 X-VCS-Branch: wip/mattst88 Date: Sun, 20 Nov 2022 00:21:26 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 19c98ee3-c173-437d-b91b-9cd1cb58726c X-Archives-Hash: 17b9b4d860ae51bf927df543129d307e Message-ID: <20221120002126.6ueMF9-C0LVmimUl7T1dycdnaoNpcJBiCJe11au5ETs@z> commit: 214bb3d849d5bf7ce2314aab1858ed6e72b28108 Author: Daniel Cordero 0xdc io> AuthorDate: Thu Apr 21 07:08:24 2022 +0000 Commit: Matt Turner gentoo org> CommitDate: Fri May 13 17:42:15 2022 +0000 URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=214bb3d8 catalyst/stage4: don't run split on a list "groups" has been normalised into a list and does not have a split() method. Fixes: 5be6069b ("catalyst: support 3 new options") Signed-off-by: Daniel Cordero 0xdc.io> Signed-off-by: Matt Turner gentoo.org> catalyst/base/stagebase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/catalyst/base/stagebase.py b/catalyst/base/stagebase.py index 1d71c59d..7e6b9e32 100644 --- a/catalyst/base/stagebase.py +++ b/catalyst/base/stagebase.py @@ -931,7 +931,7 @@ class StageBase(TargetBase, ClearBase, GenBase): env=self.env) def groups(self): - for x in self.settings["groups"].split(): + for x in self.settings["groups"]: log.notice("Creating group: '%s'", x) cmd(["groupadd", "-R", self.settings['chroot_path'], x], env=self.env)