]> glassweightruler.freedombox.rocks Git - waydroid.git/commitdiff
upgrader: Clarify refused upgrade message
authorAlessandro Astone <ales.astone@gmail.com>
Wed, 3 Jan 2024 11:52:03 +0000 (12:52 +0100)
committerAlessandro Astone <ales.astone@gmail.com>
Wed, 3 Jan 2024 11:52:22 +0000 (12:52 +0100)
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

index f35aac4b005c47135262052f100c9420df59973e..7f71e1e8fd157b2cd6dbf96ac75eeebdf6286801 100644 (file)
@@ -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)