namespace: set up OS hierarchy only after mounting the new root, not before
authorLennart Poettering <lennart@poettering.net>
Wed, 8 Nov 2017 17:35:16 +0000 (18:35 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 13 Nov 2017 09:22:36 +0000 (10:22 +0100)
commit4e0c20de9781a9b46e11657b1aff535dd385fa51
treec7e265bdaeeaffa930696dd3d52508644abf50ee
parent521cdf01e4d57227e0e3ff87214a08423ce5ce85
namespace: set up OS hierarchy only after mounting the new root, not before

Otherwise it's a pointless excercise, as we'll set up an empty directory
tree that's never going to be used.

Hence, let's move this around a bit, so that we do the basesystem
initialization exactly when RootImage= or RootDirectory= are used, but
not otherwise.
src/core/namespace.c