Proposed changes makes dfx-mgr more modular by introducing customizable config path instead of using one in /etc/dfx-mgrd/.
It also introduces snapcraft.yaml and snap/hooks/configure to provide functionality to pack dfx-mgr as snap.
Due to lack of configfs interface in snapcraft, system-files interface is used to provide dynamic dtbo loading mechanism
This part advised to be updated once we have configfs for devicetree overlays available in snapcraft.
Additional debug messages added to provide ease of debugging.
While making dfx-mgr snap, I kept the compatibility so these changes should not affect the existing way of working for dfx-mgr project.
Please check my changes in src/CMakeLists.txt this might affect the way that dfx-mgr being packaged today for some other projects, if thats the case I can update the PR accordingly.
Make dfx-mgr snappable
Proposed changes makes dfx-mgr more modular by introducing customizable config path instead of using one in /etc/dfx-mgrd/. It also introduces snapcraft.yaml and snap/hooks/configure to provide functionality to pack dfx-mgr as snap.
Due to lack of configfs interface in snapcraft, system-files interface is used to provide dynamic dtbo loading mechanism
This part advised to be updated once we have configfs for devicetree overlays available in snapcraft.
Additional debug messages added to provide ease of debugging.
While making dfx-mgr snap, I kept the compatibility so these changes should not affect the existing way of working for dfx-mgr project.
Please check my changes in src/CMakeLists.txt this might affect the way that dfx-mgr being packaged today for some other projects, if thats the case I can update the PR accordingly.