From 18eba2dffdf13b6e113203a7644e4cefb5fa732a Mon Sep 17 00:00:00 2001 From: InsanePrawn Date: Tue, 20 Sep 2022 16:48:58 +0200 Subject: [PATCH] constants.py: get rid of now unused FLAVOURS --- constants.py | 38 -------------------------------------- 1 file changed, 38 deletions(-) diff --git a/constants.py b/constants.py index 8ddae3c..63e26b9 100644 --- a/constants.py +++ b/constants.py @@ -1,5 +1,4 @@ from typing_extensions import TypeAlias -from typing import TypedDict FASTBOOT = 'fastboot' FLASH_PARTS = { @@ -30,45 +29,8 @@ BASE_PACKAGES: list[str] = [ 'vim', ] - -class Flavour(TypedDict, total=False): - packages: list[str] - post_cmds: list[str] - size: int - - -FLAVOURS: dict[str, Flavour] = { - 'barebone': { - 'packages': [], - }, - 'debug-shell': { - 'packages': ['hook-debug-shell'], - }, - 'gnome': { - 'packages': ['gnome', 'archlinux-appstream-data', 'gnome-software-packagekit-plugin'], - 'post_cmds': ['systemctl enable gdm'], - 'size': 8, - }, - 'phosh': { - 'packages': [ - 'phosh', - 'phosh-osk-stub', # temporary replacement for 'squeekboard', - 'gnome-control-center', - 'gnome-software', - 'gnome-software-packagekit-plugin', - 'archlinux-appstream-data', - 'gnome-initial-setup', - 'kgx', - 'iio-sensor-proxy', - ], - 'post_cmds': ['systemctl enable phosh'], - 'size': 5, - } -} - POST_CMDS = ['kupfer-config apply'] - REPOSITORIES = [ 'boot', 'cross',