From 6ffa68c625c858799fd8d643a9a51c59c879b8f2 Mon Sep 17 00:00:00 2001 From: Andre Marianiello Date: Tue, 6 Aug 2024 15:35:21 -0400 Subject: [PATCH] manifest: add passwd when users are created org.usbuild.users runs passwd in the os tree using chroot, but this package wasn't guaranteed to be installed --- pkg/manifest/os.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/manifest/os.go b/pkg/manifest/os.go index 614aed1e6..3878ec76c 100644 --- a/pkg/manifest/os.go +++ b/pkg/manifest/os.go @@ -255,7 +255,7 @@ func (p *OS) getPackageSetChain(Distro) []rpmmd.PackageSet { // should already have the required packages, but some minimal image // types, like 'tar' don't, so let's add them for the stage to run and // to enable user management in the image. - packages = append(packages, "shadow-utils", "pam") + packages = append(packages, "shadow-utils", "pam", "passwd") }