]> git.ipfire.org Git - thirdparty/systemd.git/commit
meson: support both separate and merged sbin-bin directories 8319/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 1 Mar 2018 09:28:29 +0000 (10:28 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 1 Mar 2018 11:27:33 +0000 (12:27 +0100)
commit157baa87e437001004160018fc009c1ccb07c573
treec3d206d7a808915d4cb1594a78be82c0d6e687b9
parent2675413e39a38106949683bbda8fbf051d0aa021
meson: support both separate and merged sbin-bin directories

Follow-up for ba7f4ae6178309dc937e10cf7dce0eca9dafb8de.

By default, we detect if the real root has a separate /usr/sbin directory, but
this can be overrides with -Dsplit-bin=true|false. The check assumes that
/usr/sbin is split if it is not a symlink, so it'll return a false negative
with some more complicated setups. But that's OK, in those cases this should be
configured explicitly.

This will copy the structure of the directories in the root file system to
$DESTDIR. If a directory is a directory in $DESTDIR but a symlink in the root
file system, this script will fail. This means that it's not possible to reuse
a $DESTDIR from between ba7f4ae61 and this patch.
meson.build
meson_options.txt