acct-group/dhcp acct-user/dhcp: Add stub for dhcp group and user. BUG=b/223987136 TEST=presubmit RELEASE_NOTE=None Change-Id: Ide7e765ee9a1395be4120c47b3293a41b4da89e6 Reviewed-on: https://cos-review.googlesource.com/c/third_party/overlays/eclass-overlay/+/30864 Tested-by: Cusky Presubmit Bot <presubmit@cos-infra-prod.iam.gserviceaccount.com> Reviewed-by: Robert Kolchmeyer <rkolchmeyer@google.com> (cherry picked from commit d2c1f0967b1b06b02fb9b3cefd8528469bc7d3e7) Reviewed-on: https://cos-review.googlesource.com/c/third_party/overlays/eclass-overlay/+/31001
diff --git a/acct-group/dhcp/dhcp-0.0.1.ebuild b/acct-group/dhcp/dhcp-0.0.1.ebuild new file mode 100644 index 0000000..7efa28b --- /dev/null +++ b/acct-group/dhcp/dhcp-0.0.1.ebuild
@@ -0,0 +1,15 @@ +# Copyright 2022 The Chromium OS Authors. All rights reserved. +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +SLOT="0" +KEYWORDS="*" + +inherit user + +# TODO(crbug.com/1026816): this ebuild is just a placeholder (to satisfy Gentoo +# dependencies) while we wait to implement acct-{group,user} properly. +pkg_setup() { + enewgroup dhcp +}
diff --git a/acct-user/dhcp/dhcp-0.0.1.ebuild b/acct-user/dhcp/dhcp-0.0.1.ebuild new file mode 100644 index 0000000..983a6d9 --- /dev/null +++ b/acct-user/dhcp/dhcp-0.0.1.ebuild
@@ -0,0 +1,15 @@ +# Copyright 2022 The Chromium OS Authors. All rights reserved. +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +SLOT="0" +KEYWORDS="*" + +inherit user + +# TODO(crbug/1026816): this is a placeholder (to satisfy Gentoo +# openssh dependencies) while acct-{group,user} are implemented. +pkg_setup() { + enewuser dhcp +}