You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to get to grips with Ubuntu Core a bit, and one thing I'm looking to do is create a custom image with a couple of application snaps, but importantly the camera interface needs to be enabled without any user intervention. A lot of online tutorials talk about just editing the boot config.txt, but obviously this doesn't really work for what we want.
Am I right in thinking that the workflow should be:
Fork this gadget snap
Rename, and enable the camera module usingconfig.txt.armhf and config.txt.arm64
Publish the forked gadget snap
Build a custom image with the gadget set to the forked snap
I've read a bunch of the documentation but I'm either missing something about how to actually use custom gadgets in custom images, or it's really not obvious.
Any pointers would be great,
Thanks!
The text was updated successfully, but these errors were encountered:
There are some changes in config.txt that are allowed by snapd options (see https://forum.snapcraft.io/t/system-options/87), however it does not look that controlling camera settings is among them yet.
@alfonsosanchezbeato@jtc42 we do sometimes just add new options to configure this sort of thing through snapd since it's an already established precedence (even if it's a bit awkward on our side), so I think we would accept a PR to snapd adding this new option/setting for system.pi-config.camera=foo or whatever the option is named
Hi,
I'm trying to get to grips with Ubuntu Core a bit, and one thing I'm looking to do is create a custom image with a couple of application snaps, but importantly the camera interface needs to be enabled without any user intervention. A lot of online tutorials talk about just editing the boot config.txt, but obviously this doesn't really work for what we want.
Am I right in thinking that the workflow should be:
config.txt.armhf
andconfig.txt.arm64
I've read a bunch of the documentation but I'm either missing something about how to actually use custom gadgets in custom images, or it's really not obvious.
Any pointers would be great,
Thanks!
The text was updated successfully, but these errors were encountered: