2
This commit is contained in:
1 parent
27cdb00af2
commit
f78f4aeb4a
20 files changed
+3549
-120
No files matched your search
@@ -161,12 +161,9 @@ class DistroManager {
|
||||
break;
|
||||
|
||||
case ContainerRuntimeMode.chroot:
|
||||
bool hasRoot = false;
|
||||
if (RootService.instance.isDeviceRootCapable()) {
|
||||
hasRoot = await RootService.instance.isRootAvailablePassive();
|
||||
if (!hasRoot) {
|
||||
hasRoot = await RootService.instance.promptRequestRootExplicit();
|
||||
}
|
||||
bool hasRoot = await RootService.instance.isRootAvailablePassive();
|
||||
if (!hasRoot) {
|
||||
hasRoot = await RootService.instance.promptRequestRootExplicit();
|
||||
}
|
||||
if (hasRoot && rootDir.existsSync()) {
|
||||
final chrootReady = await ChrootMountManager.instance.prepareChrootEnvironment(
|
||||
|
||||
Reference in new issue
Block a user