There was a typo in old installation process, so the wrong target files
have been removed. As a result of this, the system started with no additional services,
gettys and also the rootfs was read-only mounted.
Fixes #10093.
name = systemd
version = 44
-release = 3
+release = 4
maintainer = Stefan Schantl <stefan.schantl@ipfire.org>
groups = System/Base
cp -vf %{DIR_SOURCE}/{locale,vconsole}.conf %{BUILDROOT}%{sysconfdir}
# Recreate all targets
- rm -rfv %{BUILDROOT}%{unitdir}/*.target.wants
- for i in basic.target.wants default.target.wants dbus.target.wants syslog.target.wants; do
- mkdir -pv %{BUILDROOT}%{unitdir}/${i} || exit 1
+ rm -rfv %{BUILDROOT}/%{sysconfdir}/systemd/system/*.target.wants
+ for i in basic.target.wants default.target.wants dbus.target.wants getty.target.wants \
+ multi-user.target.wants syslog.target.wants; do
+ mkdir -pv %{BUILDROOT}/%{sysconfdir}/systemd/system/${i} || exit 1
done
# Remove runlevel targets and graphical.target