]> git.ipfire.org Git - thirdparty/systemd.git/commit
units: replace symlinks in units/user/ by real files 11152/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 13 Dec 2018 19:19:45 +0000 (20:19 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 13 Dec 2018 19:23:43 +0000 (20:23 +0100)
commit634cc94f475b5683a30a13cba1a27fccb409ffcb
treec5777c76a7d47033ee5770c03a27443f7f3d2036
parentdf134443395f6e043e0cd2a45ab529583df96e4e
units: replace symlinks in units/user/ by real files

We already *install* those as real files since de78fa9ba0be55b01066ca5a716c6673d76b817b.
Meson will start to copy symlinks as-is, so we would get dangling symlinks in
/usr/lib/systemd/user/.

I considered the layout in our sources to match the layout in the installation
filesystem (i.e. creating units/system/ and moving all files from units/ to
units/system/), but that seems overkill. By using normal files for both we get
some duplication, but those files change rarely, so it's not a big downside in
practice.

Fixes #9906.
units/user/bluetooth.target [changed from symlink to file mode: 0644]
units/user/paths.target [changed from symlink to file mode: 0644]
units/user/printer.target [changed from symlink to file mode: 0644]
units/user/shutdown.target [changed from symlink to file mode: 0644]
units/user/smartcard.target [changed from symlink to file mode: 0644]
units/user/sockets.target [changed from symlink to file mode: 0644]
units/user/sound.target [changed from symlink to file mode: 0644]
units/user/timers.target [changed from symlink to file mode: 0644]