spec: fix certain symlink targets
commit04794c33c0274b2127da1e9c4efcc447db245b25
authorArseny Maslennikov <arseny@altlinux.org>
Wed, 17 Apr 2024 14:00:00 +0000 (17 17:00 +0300)
committerArseny Maslennikov <arseny@altlinux.org>
Thu, 18 Apr 2024 14:00:00 +0000 (18 17:00 +0300)
treefb1b9a0df7664159b2ca6b08a1694d29e983835f
parentd93fb0440e38186584c5ed416d279d56b5069648
spec: fix certain symlink targets

Symlinks under legacy directories which point outside the set of legacy
directories break after the usrmerge operation and have to be fixed,
both at runtime and in the package.

The systemd package has 2 symlinks which need attention to work on
merged-usr hierarchies:

  '/usr/lib/environment.d/99-environment.conf' -> '../../../etc/environment'
  '/usr/sbin/mount.ddi' -> '../../usr/bin/systemd-dissect'

Set the correct targets and add a conflict on unmerged-usr filesystem.
systemd.spec