The following set of changes allows detecting and mounting subiquity as a snap. If both UDI and Subiquity as snaps, the later will be preferred. That will most likely only happen in debugging. Soon we'll have the UDI snap replaced by Subiquity in our rootfs.
I didn't change the last line because we'll still need a second stage script living inside the snap to complete the bootstrapping process and launching the correct python module. That's still to be added, but I plan to preserve both the name and location relative to the snap base directory, so there should be no reason for changing that line. Otherwise another PR, specifically for that will be required.
The following set of changes allows detecting and mounting subiquity as a snap. If both UDI and Subiquity as snaps, the later will be preferred. That will most likely only happen in debugging. Soon we'll have the UDI snap replaced by Subiquity in our rootfs.
I didn't change the last line because we'll still need a second stage script living inside the snap to complete the bootstrapping process and launching the correct python module. That's still to be added, but I plan to preserve both the name and location relative to the snap base directory, so there should be no reason for changing that line. Otherwise another PR, specifically for that will be required.