Move mounting code to utils.py, move a lot of chroot-logic from packages to chroot.py, cmd_chroot
also moar crossdirect Signed-off-by: InsanePrawn <insane.prawny@gmail.com>
This commit is contained in:
parent
a4c06446e3
commit
d85c00fa12
8 changed files with 207 additions and 110 deletions
13
constants.py
13
constants.py
|
@ -49,6 +49,7 @@ REPOSITORIES = [
|
|||
'main',
|
||||
]
|
||||
|
||||
Arch = str
|
||||
ARCHES = [
|
||||
'x86_64',
|
||||
'aarch64',
|
||||
|
@ -74,3 +75,15 @@ BASE_DISTROS = {
|
|||
}
|
||||
|
||||
KUPFER_HTTPS = 'https://gitlab.com/kupfer/packages/prebuilts/-/raw/main/$repo'
|
||||
|
||||
DistroArch = TargetArch = Arch
|
||||
|
||||
GCC_HOSTSPECS: dict[DistroArch, dict[TargetArch, str]] = {
|
||||
'x86_64': {
|
||||
'x86_64': 'x86_64-pc-linux-gnu',
|
||||
'aarch64': 'aarch64-linux-gnu',
|
||||
},
|
||||
'aarch64': {
|
||||
'aarch64': 'aarch64-unknown-linux-gnu',
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue