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 committed by Git'Fellow
parent fbc0f65711
commit 15bed77a22

View file

@ -335,12 +335,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);