Closed farshidtz closed 8 months ago
Change to relative path: ../../zap/build/env
Solution 2:
Write the env file at a common location, such as $CRAFT_STAGE/zap_env
.
May result in bad caching because the file won't be removed when cleaning the part.
On remote build (using snapcraft remote-build, via Launchpad), the env file created in
zap
part doesn't get loaded in thelighting
part. See the relevant logs below:Remote build:
On Pi:
The remote builds use the destructive mode, i.e. building directly on the host. The difference in paths appears related to that.
Originally posted by @farshidtz in https://github.com/canonical/matter-pi-gpio-commander/issues/29#issuecomment-1783189336