parent
94eab6fc84
commit
7f3f928cfd
|
@ -15,6 +15,7 @@
|
||||||
|
|
||||||
import datetime
|
import datetime
|
||||||
import functools
|
import functools
|
||||||
|
import logging
|
||||||
import os
|
import os
|
||||||
import shutil
|
import shutil
|
||||||
import tempfile
|
import tempfile
|
||||||
|
@ -29,6 +30,8 @@ from subiquitycore.utils import arun_command
|
||||||
|
|
||||||
from subiquity.server.curtin import run_curtin_command
|
from subiquity.server.curtin import run_curtin_command
|
||||||
|
|
||||||
|
log = logging.getLogger('subiquity.server.apt')
|
||||||
|
|
||||||
|
|
||||||
class _MountBase:
|
class _MountBase:
|
||||||
|
|
||||||
|
@ -75,7 +78,7 @@ def _lowerdir_for_mnt(mnt):
|
||||||
def _lowerdir_for_ovmnt(ovmnt):
|
def _lowerdir_for_ovmnt(ovmnt):
|
||||||
# One cannot indefinitely stack overlayfses so construct an
|
# One cannot indefinitely stack overlayfses so construct an
|
||||||
# explicit list of the layers of the overlayfs.
|
# explicit list of the layers of the overlayfs.
|
||||||
return lowerdir_for(ovmnt.lowers + [ovmnt.upperdir])
|
return lowerdir_for([ovmnt.lowers, ovmnt.upperdir])
|
||||||
|
|
||||||
|
|
||||||
@lowerdir_for.register(list)
|
@lowerdir_for.register(list)
|
||||||
|
|
Loading…
Reference in New Issue