From d86e41425673ba672467c5ba229d3a2d039dd15b Mon Sep 17 00:00:00 2001 From: Krzesimir Nowak Date: Fri, 2 Feb 2024 11:31:25 +0100 Subject: [PATCH] overlay profiles: Add a workaround for handling pcscd user in SDK --- .../profiles/coreos/targets/sdk/make.defaults | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/coreos/targets/sdk/make.defaults b/sdk_container/src/third_party/coreos-overlay/profiles/coreos/targets/sdk/make.defaults index 218e9f090f7..4017242e593 100644 --- a/sdk_container/src/third_party/coreos-overlay/profiles/coreos/targets/sdk/make.defaults +++ b/sdk_container/src/third_party/coreos-overlay/profiles/coreos/targets/sdk/make.defaults @@ -16,3 +16,12 @@ QEMU_USER_TARGETS="aarch64" # add cros_host to bootstrapping USE flags so SDK / toolchains bootstrapping # will use vim's vimrc instead of baselayouts', BOOTSTRAP_USE="$BOOTSTRAP_USE cros_host" + +# The acct-user/pcscd package wants to add pcscd user to pcscd, openct +# and usb groups. The first two are writable so it succeeds, the last +# one, usb, is immutable - it's defined as a part of +# baselayout. Temporarily drop the usb group from the list. +# +# TODO: Drop this hack when user and group databases are dropped from +# baselayout. +ACCT_USER_PCSCD_GROUPS="pcscd openct"