mirror of
https://gitlab.com/kupfer/kupferbootstrap.git
synced 2025-02-22 21:25:43 -05:00
66 lines
1.6 KiB
Python
66 lines
1.6 KiB
Python
FASTBOOT = 'fastboot'
|
|
|
|
ROOTFS = 'rootfs'
|
|
BOOTIMG = 'bootimg'
|
|
LK2ND = 'lk2nd'
|
|
QHYPSTUB = 'qhypstub'
|
|
|
|
EMMC = 'emmc'
|
|
EMMCFILE = 'emmc-file'
|
|
MICROSD = 'microsd'
|
|
LOCATIONS = [EMMC, EMMCFILE, MICROSD]
|
|
|
|
JUMPDRIVE = 'jumpdrive'
|
|
JUMPDRIVE_VERSION = '0.8'
|
|
|
|
BOOT_STRATEGIES = {
|
|
'oneplus-enchilada': FASTBOOT,
|
|
'xiaomi-beryllium-ebbg': FASTBOOT,
|
|
'xiaomi-beryllium-tianma': FASTBOOT,
|
|
'bq-paella': FASTBOOT,
|
|
}
|
|
|
|
DEVICES = {
|
|
'oneplus-enchilada': ['device-sdm845-oneplus-enchilada'],
|
|
'xiaomi-beryllium-ebbg': ['device-sdm845-xiaomi-beryllium-ebbg'],
|
|
'xiaomi-beryllium-tianma': ['device-sdm845-xiaomi-beryllium-tianma'],
|
|
'bq-paella': ['device-msm8916-bq-paella'],
|
|
}
|
|
|
|
FLAVOURS = {
|
|
'barebone': [],
|
|
'debug-shell': ['hook-debug-shell'],
|
|
'gnome': ['gnome'],
|
|
}
|
|
|
|
REPOSITORIES = [
|
|
'boot',
|
|
'device',
|
|
'firmware',
|
|
'linux',
|
|
'main',
|
|
]
|
|
|
|
ARCHES = [
|
|
'x86_64',
|
|
'aarch64',
|
|
]
|
|
|
|
BASE_DISTROS = {
|
|
'x86_64': {
|
|
'repos': {
|
|
'core': 'http://ftp.halifax.rwth-aachen.de/archlinux/$repo/os/$arch',
|
|
'extra': 'http://ftp.halifax.rwth-aachen.de/archlinux/$repo/os/$arch',
|
|
'community': 'http://ftp.halifax.rwth-aachen.de/archlinux/$repo/os/$arch',
|
|
},
|
|
},
|
|
'aarch64': {
|
|
'repos': {
|
|
'core': 'http://mirror.archlinuxarm.org/$arch/$repo',
|
|
'extra': 'http://mirror.archlinuxarm.org/$arch/$repo',
|
|
'community': 'http://mirror.archlinuxarm.org/$arch/$repo',
|
|
'alarm': 'http://mirror.archlinuxarm.org/$arch/$repo',
|
|
'aur': 'http://mirror.archlinuxarm.org/$arch/$repo',
|
|
},
|
|
},
|
|
}
|