setup filesystem wrappers before we mark the root as setup

Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
Robin Appelman 2023-07-25 15:16:54 +02:00
parent 5685d68bd3
commit 1eb3293e53
No known key found for this signature in database
GPG key ID: 42B69D8A64526EFB

View file

@ -337,12 +337,13 @@ class SetupManager {
if ($this->rootSetup) {
return;
}
$this->setupBuiltinWrappers();
$this->rootSetup = true;
$this->eventLogger->start('fs:setup:root', 'Setup root filesystem');
$this->setupBuiltinWrappers();
$rootMounts = $this->mountProviderCollection->getRootMounts();
foreach ($rootMounts as $rootMountProvider) {
$this->mountManager->addMount($rootMountProvider);