From ec85ccf53cd5c3c9a38d0ffecbf85986963007c1 Mon Sep 17 00:00:00 2001 From: Alessandro Astone Date: Wed, 3 Jan 2024 12:52:03 +0100 Subject: [PATCH] upgrader: Clarify refused upgrade message The previous string was wrong because we are not detecting the presence of image files, but whether waydroid was initialized with preinstalled images or with OTA images. --- tools/actions/upgrader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/actions/upgrader.py b/tools/actions/upgrader.py index f35aac4..7f71e1e 100644 --- a/tools/actions/upgrader.py +++ b/tools/actions/upgrader.py @@ -47,7 +47,7 @@ def upgrade(args): if args.images_path not in tools.config.defaults["preinstalled_images_paths"]: helpers.images.get(args) else: - logging.info("Upgrade refused because a pre-installed image is detected at {}.".format(args.images_path)) + logging.info("Upgrade refused because Waydroid was configured to load pre-installed image from {}.".format(args.images_path)) helpers.drivers.probeAshmemDriver(args) helpers.lxc.setup_host_perms(args) helpers.lxc.set_lxc_config(args) -- 2.47.3