summaryrefslogtreecommitdiff
path: root/repo/system/utmps.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-03-10 11:59:16 +0000
committerdavidovski <david@davidovski.xyz>2022-03-10 11:59:16 +0000
commitbb499959d88da1b3937c23b5405089c907188a81 (patch)
treed9ddba6d0c8f1152c3919067a52250c6bf0759f9 /repo/system/utmps.xibuild
parent3602ce227f784f1c6233ef6ad3cd8f5ccad28e66 (diff)
added and patched broken packages
Diffstat (limited to 'repo/system/utmps.xibuild')
-rw-r--r--repo/system/utmps.xibuild10
1 files changed, 10 insertions, 0 deletions
diff --git a/repo/system/utmps.xibuild b/repo/system/utmps.xibuild
index 0d45319..c92c210 100644
--- a/repo/system/utmps.xibuild
+++ b/repo/system/utmps.xibuild
@@ -32,4 +32,14 @@ Requires.private: skalibs
Libs: -lutmps
Cflags: -I/usr/include/utmps
EOF
+
+ #ln -s utmps/wtmp /var/log/wtmp
+}
+
+postinstall () {
+ useradd -c "utmps user" -d /run/utmps \
+ -u 984 -g utmp -s /bin/false utmp
+ [ -d /var/log/utmps ] || mkdir -p /var/log/utmps
+ chown -R utmp:utmp /var/log/utmps
+
}