diff options
author | davidovski <david@davidovski.xyz> | 2022-02-11 01:36:28 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-02-11 01:36:28 +0000 |
commit | 370a9018e5286b9bf3c90b405aebe15ec767da2d (patch) | |
tree | c792c36e7a8c97ef4ecad83b639f732722bbe9ab /repo | |
parent | c80bbb498e7fec79e925eb8f60667550e5926102 (diff) |
added postinstall for shadow
Diffstat (limited to 'repo')
-rw-r--r-- | repo/system/shadow.xibuild | 7 |
1 files changed, 6 insertions, 1 deletions
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 } |