mirror of
https://gitlab.com/kupfer/kupferbootstrap.git
synced 2025-06-26 10:23:10 -04:00
Introduce constants.CHROOT_PATHS to spec paths _inside_ chroots
This commit is contained in:
parent
c898e0a6b5
commit
b65823bc10
5 changed files with 56 additions and 41 deletions
10
wrapper.py
10
wrapper.py
|
@ -7,16 +7,10 @@ import uuid
|
|||
import click
|
||||
import logging
|
||||
from config import config, dump_file as dump_config_file
|
||||
from constants import CHROOT_PATHS
|
||||
from utils import programs_available
|
||||
|
||||
DOCKER_PATHS = {
|
||||
'chroots': '/chroot',
|
||||
'jumpdrive': '/var/cache/jumpdrive',
|
||||
'pacman': '/var/cache/pacman',
|
||||
'packages': '/prebuilts',
|
||||
'pkgbuilds': '/pkgbuilds',
|
||||
'images': '/images',
|
||||
}
|
||||
DOCKER_PATHS = CHROOT_PATHS.copy()
|
||||
|
||||
|
||||
def wrap_docker():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue