Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge branch 'jb50668' into 'master'
[systemd] Fix /sbin/init symlink. Fixes JB#50668

See merge request mer-core/systemd!34
  • Loading branch information
xfade committed Aug 4, 2020
2 parents 17d247f + 60752ea commit 21fef17
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 21fef17

Please sign in to comment.