From 370a9018e5286b9bf3c90b405aebe15ec767da2d Mon Sep 17 00:00:00 2001 From: davidovski Date: Fri, 11 Feb 2022 01:36:28 +0000 Subject: added postinstall for shadow --- repo/system/shadow.xibuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'repo/system/shadow.xibuild') diff --git a/repo/system/shadow.xibuild b/repo/system/shadow.xibuild index 99330ff..26387d1 100644 --- a/repo/system/shadow.xibuild +++ b/repo/system/shadow.xibuild @@ -178,7 +178,12 @@ EOF [ -f $PKG_DEST/etc/login.access ] && mv -v $PKG_DEST/etc/login.access{,.NOUSE} || true [ -f $PKG_DEST/etc/limits ] && mv -v $PKG_DEST/etc/limits{,.NOUSE} || true +} +postinstall () { + /usr/sbin/pwconv + /usr/sbin/grpconv + mkdir -p /etc/default - + /usr/sbin/useradd -D --gid 999 } -- cgit v1.2.1