diff options
author | davidovski <david@davidovski.xyz> | 2022-03-10 11:59:16 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-03-10 11:59:16 +0000 |
commit | bb499959d88da1b3937c23b5405089c907188a81 (patch) | |
tree | d9ddba6d0c8f1152c3919067a52250c6bf0759f9 /repo/system/utmps.xibuild | |
parent | 3602ce227f784f1c6233ef6ad3cd8f5ccad28e66 (diff) |
added and patched broken packages
Diffstat (limited to 'repo/system/utmps.xibuild')
-rw-r--r-- | repo/system/utmps.xibuild | 10 |
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 + } |