Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[systemd] Fix /sbin/init symlink. Fixes JB#50668
  • Loading branch information
martyone committed Jul 31, 2020
1 parent 17d247f commit 60752ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpm/systemd.spec
Expand Up @@ -319,7 +319,7 @@ chmod 600 %{buildroot}/%{_sysconfdir}/crypttab
# Create SysV compatibility symlinks. systemctl/systemd are smart
# enough to detect in which way they are called.
mkdir -p %{buildroot}/sbin
ln -s ..%{system_unit_dir} %{buildroot}/sbin/init
ln -s ..%{pkgdir}/systemd %{buildroot}/sbin/init
ln -s ../..%{_bindir}/systemctl %{buildroot}%{_sbindir}/reboot
ln -s ../..%{_bindir}/systemctl %{buildroot}%{_sbindir}/halt
ln -s ../..%{_bindir}/systemctl %{buildroot}%{_sbindir}/poweroff
Expand Down

0 comments on commit 60752ea

Please sign in to comment.