From: Alessandro Astone Date: Wed, 3 Jan 2024 11:52:03 +0000 (+0100) Subject: upgrader: Clarify refused upgrade message X-Git-Tag: 1.4.3~12 X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/waydroid.git/commitdiff_plain/ec85ccf53cd5c3c9a38d0ffecbf85986963007c1?ds=sidebyside 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. --- 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)