From 17ce5e611cbeea468640f0cea43355b00a377a47 Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Wed, 2 Aug 2023 19:21:53 +0200 Subject: [PATCH] init: tweak UIs hidden message Shorten this message: > NOTE: 6 user interfaces are not available. If device supports GPU > acceleration, set "deviceinfo_gpu_accelerated" to make UIs available. > See: NOTE: 6 UIs are hidden because "deviceinfo_gpu_accelerated" is not set > (see https://postmarketos.org/deviceinfo). This also fixes the non-closed angle bracket by simply removing it. I used to put angle brackets around all URLs printed in pmbootstrap initially, but have been moving away from that when touching related code as it doesn't add anything useful. Reviewed-by: Luca Weiss Reviewed-by: Clayton Craft Link: https://lists.sr.ht/~postmarketos/pmbootstrap-devel/%3C20230802172542.4861-3-ollieparanoid@postmarketos.org%3E --- pmb/config/init.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/pmb/config/init.py b/pmb/config/init.py index 9dad6bf8..e86209df 100644 --- a/pmb/config/init.py +++ b/pmb/config/init.py @@ -160,11 +160,9 @@ def ask_for_ui(args, info): logging.info(f"* {ui[0]}: {ui[1]}") ui_completion_list.append(ui[0]) if hidden_ui_count > 0: - logging.info(f"NOTE: {hidden_ui_count} user interfaces are not" - " available. If device supports GPU acceleration," - " set \"deviceinfo_gpu_accelerated\" to make UIs" - " available. See: