DEPRECATED: The remote part feature has been deprecated by Snapcraft and thus this shouldn’t be used in new snaps.
This remote part provides necessary runtime changes to deal with several problems in a snap with classic confinement, including:
-
PATH
andLD_LIBRARY_DIR
environment variable patching to make snaps in classic confinement have a similar environment with strict confinement snaps
WARNING: There is a reason why classic confinement snaps have a different environment than strictly confined snaps, this remote part doesn’t provide a fix for such problems and must be taken care by the packager themselves!
How to use
Merge the following snapcraft.yaml snippet:
parts:
# Depended by classic-launch part
workaround-snap-arch-triplet:
# Deal with problems of classic snaps
classic-launch:
and prepend classic-launch
to the apps
command chain:
apps:
_app_name_:
command: bin/workaround-snap-arch-triplet "${SNAP}"/bin/classic-launch "${SNAP}"/bin/app-launch "${SNAP}"/bin/app
The implementation
The snaps that use this remote part
Support
Please refer to the issue tracker for bug reporting, general support questions can be posted below.
For generic remote part usage refer: Remote (reusable) parts
Happy snapcrafting!