I installed yq on my Pop OS computer through Snap, but I think I ran into this snapd/AppArmor bug, because I was getting "permission denied" errors when running the yq commands in the Makefile here. (Got the same errors running the commands myself in a shell too.)
This commit works around the issue by passing the manifest.yaml content to yq via. a shell redirect rather than passing the filename to yq and letting it read the file contents.
(I know this bug isn't the fault of StartOS, but I figure this workaround could help anyone else using Pop OS to get up and running that much faster.)
I installed yq on my Pop OS computer through Snap, but I think I ran into this snapd/AppArmor bug, because I was getting "permission denied" errors when running the yq commands in the Makefile here. (Got the same errors running the commands myself in a shell too.)
This commit works around the issue by passing the
manifest.yaml
content to yq via. a shell redirect rather than passing the filename to yq and letting it read the file contents.(I know this bug isn't the fault of StartOS, but I figure this workaround could help anyone else using Pop OS to get up and running that much faster.)
See also: https://stackoverflow.com/a/76002505/2747593