fix elogind

This commit is contained in:
aliriza committed 2024-01-20 14:54:37 +00:00
1 parent afb36a7181
commit 868016df16
2 files changed
+6 -1

No files matched your search

+1 -1
View File
@@ -15,8 +15,8 @@ depend() {
}
start_pre() {
# systemd is running stuff
checkpath --mode 0700 -d /run/systemd/
checkpath --mode 0700 -d /run/systemd/system/
ln -s elogind /sys/fs/cgroup/systemd
}
extra_started_commands="reload"
+5
View File
@@ -24,6 +24,7 @@ cd $name-$version
setup(){
meson setup build --prefix=/usr \
--libdir=/lib64/ \
-Drootlibdir=/lib64 \
-Dudevrulesdir=/lib64/udev/rules.d \
-Dcgroup-controller=elogind \
-Dhalt-path=/sbin/halt \
@@ -67,5 +68,9 @@ package(){
# shadow system-auth.d file
mkdir -p "${DESTDIR}"/etc/pam.d/system-auth.d/
echo "session include elogind-user" > "${DESTDIR}"/etc/pam.d/system-auth.d/99-elogind
# ld.so.conf
mkdir -p "${DESTDIR}"/etc/ld.so.conf.d/
echo "/lib64/elogind" > "${DESTDIR}"/etc/ld.so.conf.d/elogind.conf
}