Skip to content

Commit

Permalink
[systemd] Fix dangling symlink in /etc
Browse files Browse the repository at this point in the history
... it would point to /usr/lib64 on aarch64

apply the fix in the right place
also fix commit author
  • Loading branch information
nephros authored and nephros committed Oct 8, 2024
1 parent 024d36f commit a81f651
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rpm/systemd-mini.spec
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ rm -rf %{buildroot}/%{_docdir}
# Systemd naturually uses later one
# But we support both by adding link
mkdir -p %{buildroot}%{_sysconfdir}/rpm
ln -s %{_libdir}/rpm/macros.d/macros.systemd %{buildroot}%{_sysconfdir}/rpm/macros.systemd
ln -s %{_rpmconfigdir}/macros.d/macros.systemd %{buildroot}%{_sysconfdir}/rpm/macros.systemd

# Remove unneeded files
rm %{buildroot}%{_sysconfdir}/X11/xinit/xinitrc.d/50-systemd-user.sh
Expand Down
2 changes: 1 addition & 1 deletion rpm/systemd.spec
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ rm -rf %{buildroot}/%{_docdir}
# Systemd naturually uses later one
# But we support both by adding link
mkdir -p %{buildroot}%{_sysconfdir}/rpm
ln -s %{_libdir}/rpm/macros.d/macros.systemd %{buildroot}%{_sysconfdir}/rpm/macros.systemd
ln -s %{_rpmconfigdir}/macros.d/macros.systemd %{buildroot}%{_sysconfdir}/rpm/macros.systemd

# Remove unneeded files
rm %{buildroot}%{_sysconfdir}/X11/xinit/xinitrc.d/50-systemd-user.sh
Expand Down

0 comments on commit a81f651

Please sign in to comment.