ubuntu / wsl-setup

WSL setup starts the setup and reconfigure GUI or TUI
GNU General Public License v3.0
17 stars 4 forks source link

Enables wsl-setup script to launch Subiquity snap #9

Closed CarlosNihelton closed 2 years ago

CarlosNihelton commented 2 years ago

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.

CarlosNihelton commented 2 years ago

I understand merging is on hold until canonical/subiquity#1427 is merged, correct?

Not really. That PR holds changing the seed only. This one can be merged now.