From bb499959d88da1b3937c23b5405089c907188a81 Mon Sep 17 00:00:00 2001 From: davidovski Date: Thu, 10 Mar 2022 11:59:16 +0000 Subject: added and patched broken packages --- repo/system/utmps.xibuild | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'repo/system/utmps.xibuild') 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 + } -- cgit v1.2.1