UmVirt LFS Package info
DB commit: eeb5b556770c9a541df710c0fd927901d6de9d66
APP commit:
systemd
While systemd was installed when building LFS, there are many features provided by the package that were not included in the initial installation because Linux-PAM was not yet installed. The systemd package needs to be rebuilt to provide a working systemd-logind service, which provides many additional features for dependent packages.Package info
Codename: systemd
Source file: systemd-254.tar.gz
Source directory: systemd-254
Package URL: https://ulfs.org/linux/downloads/package_files/0.2/packages/s/systemd-254.tar.gz
Package md5-checksum URL: https://ulfs.org/linux/downloads/package_files/0.2/packages/s/systemd-254.tar.gz.md5sum
Dependances: polkit-123, Linux-PAM.
Dependance of: alsa-lib, udisks, accountsservice, gnome-session, NetworkManager, gvfs, colord, tigervnc-server.
Patches: *** NO PATCHES FOUND ***
Addons: *** NO ADDONS FOUND ***
Nestings *** NO NESTINGS FOUND ***
Configuration script:
sed -i -e 's/GROUP="render"/GROUP="video"/' \
-e 's/GROUP="sgx", //' rules.d/50-udev-default.rules.in
mkdir build &&
cd build &&
meson setup .. \
--prefix=/usr \
--buildtype=release \
-Ddefault-dnssec=no \
-Dfirstboot=false \
-Dinstall-tests=false \
-Dldconfig=false \
-Dman=auto \
-Dsysusers=false \
-Drpmmacrosdir=no \
-Dhomed=false \
-Duserdb=false \
-Dmode=release \
-Dpam=true \
-Dpamconfdir=/etc/pam.d \
-Ddev-kvm-mode=0660 \
-Ddocdir=/usr/share/doc/systemd-254
Build script:
cd build &&
ninja
if [[ "$ULFS_PKG_TEST" == "YES" ]]
then
ninja test
fi
Install script:
cd build &&
ninja install
grep 'pam_systemd' /etc/pam.d/system-session ||
cat >> /etc/pam.d/system-session << "EOF"
# Begin Systemd addition
session required pam_loginuid.so
session optional pam_systemd.so
# End Systemd addition
EOF
cat > /etc/pam.d/systemd-user << "EOF"
# Begin /etc/pam.d/systemd-user
account required pam_access.so
account include system-account
session required pam_env.so
session required pam_limits.so
session required pam_unix.so
session required pam_loginuid.so
session optional pam_keyinit.so force revoke
session optional pam_systemd.so
auth required pam_deny.so
password required pam_deny.so
# End /etc/pam.d/systemd-user
EOF
Apache/2.4.62 (Debian) Server at ulfs.org Port 443