Snap build for the micro-ROS-Agent (#43)

* Add snap packaging

* First approach for snap packaging

* Working state

* Fixes

* Simplify snapcraft.yaml

* Fix snapcraft build

* Fix daemon

* Fix compilation due to external micro_ros_msgs

* CMakeLists cleanup
This commit is contained in:
Jose Antonio Moral
2020-12-03 15:38:33 +01:00
committed by GitHub
parent e9330bf974
commit 4df06bcfaa
6 changed files with 273 additions and 4 deletions
+19
View File
@@ -0,0 +1,19 @@
#!/bin/sh -e
# Set default configuration values
snapctl set transport=udp4
snapctl set middleware=dds
snapctl set verbosity=4
snapctl set discovery=false
snapctl set discovery-port=7400
snapctl set p2p-port! # unset
# Network-specific things
snapctl set port=8888
# Serial-specific things
snapctl set baudrate=115200
snapctl set device! # unset
# By default the daemon is disabled
snapctl set daemon=false