Closed upils closed 10 months ago
@waveform80 @sil2100 can you review? This change is very small but it might break something I am not aware of.
Cool! Now let's just wait for the sync with launchpad and we will be able to retry spread tests of https://github.com/canonical/ubuntu-image/pull/165 to see if raspi ones pass.
Based on the gadget snap documentation and other versions of gadget snap, the paths used in the content section should not suppose the gadget.yaml file is in the parent directory of the assets. This directory is given as another parameter to the tool handling the gadget (snapd, ubuntu-image, etc.). So we remove the reference to the DESTDIR since this directory will be the root dir given to the tool in most cases.
This is related to https://github.com/canonical/ubuntu-image/pull/175