]> git.ipfire.org Git - thirdparty/systemd.git/commit - meson.build
check nobody user/group validity only when not cross compiling
authorChen Qi <Qi.Chen@windriver.com>
Mon, 23 Jul 2018 06:53:09 +0000 (14:53 +0800)
committerLennart Poettering <lennart@poettering.net>
Mon, 23 Jul 2018 11:08:32 +0000 (13:08 +0200)
commit2484bff32bc5af4af811381393df1090d6e4586f
treed0d4e11175a97ef24d6673971866698770a089f4
parent0ffa4c7c4bd802b9c291cd94a644b983edeca840
check nobody user/group validity only when not cross compiling

Using `getent' and `id' command in case of cross compiling does not
make much sense. This is because it is the host files that are checked.

Besides, in some restricted cross compilation environment, these two
command may not even be available. This is to avoid host comtamination.

So we should only check the validity using getent and id when not
cross compiling.
meson.build