In a near future snap-bootstrap will not mount the base anymore in /run/mnt/base and instead it will create a unit to mount it directly to /sysroot. Therefore, change the checks to know if this is UC or classic to finding out if /run/mnt/data/system-data exists instead of looking at /run/mnt/base.
In a near future snap-bootstrap will not mount the base anymore in /run/mnt/base and instead it will create a unit to mount it directly to /sysroot. Therefore, change the checks to know if this is UC or classic to finding out if /run/mnt/data/system-data exists instead of looking at /run/mnt/base.