[systemd-devel] [PATCH] build-sys: Fix move-to-rootlibdir
Mike Gilbert
floppym at gentoo.org
Tue Mar 11 15:53:36 PDT 2014
On Tue, Mar 11, 2014 at 6:42 PM, Lennart Poettering
<lennart at poettering.net> wrote:
> On Tue, 11.03.14 18:14, Mike Gilbert (floppym at gentoo.org) wrote:
>
>> Since we now use ln -s --relative, using this sed statement is redundant
>> and causes broken symlinks to be installed.
>
> Hmm, wouldn't it be nicer to just drop the --relative here?
>
> Quite honestly, I don't grok the code, neither the old nor the new one...
>
I'm having a hard time understanding the original code myself, but I
think it is supposed to create a relative symlink without using ln
--relative. It would probably break if rootlibdir is not a directory
immediately under the root directory (/).
I think the newer method is probably more robust, but obviously
requires newer coreutils.
More information about the systemd-devel
mailing list