i have an app which i already created a deb file for it.
now i try to write down a snapcraft.yml file and add this deb file as a ‘snap part’
the part looks like this:
my-service: override-pull: | aws s3 cp s3://XXXX/my.deb ./ source: ./my.deb source-type: deb plugin: nil stage-packages: - awscli
A snap file is created successfully, but the problem is that it doesn’t ‘install’ the deb once i install the snap.
i’ve try to add:
dpkg -x my.deb $SNAPCRAFT_PART_INSTALL/
which extract the deb parts, but again doesn’t install the deb.
what is the proper way to do it?