summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-02-11 01:36:28 +0000
committerdavidovski <david@davidovski.xyz>2022-02-11 01:36:28 +0000
commit370a9018e5286b9bf3c90b405aebe15ec767da2d (patch)
treec792c36e7a8c97ef4ecad83b639f732722bbe9ab
parentc80bbb498e7fec79e925eb8f60667550e5926102 (diff)
added postinstall for shadow
-rw-r--r--repo/system/shadow.xibuild7
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
}