libremesh / network-profiles

Set of profiles for the networks using LibreMesh
https://libremesh.org/development-network_profiles.html
44 stars 41 forks source link

valsamoggia.ninux.org remove obsolete lime-map-agent #73

Closed a-gave closed 3 years ago

a-gave commented 3 years ago

Remove obsolete package lime-map-agent

Now works only adding old feeds to feeds.conf src-git libremap https://github.com/libremesh/libremap-agent.git;master

a-gave commented 3 years ago

7361a7c I removed also packages related to prometheus-node-exporter-lua from the Makefile Because I encountered this error during a 19.07 openwrt build with lime v2020.1

Collected errors:
 * check_data_file_clashes: Package profile-valsamoggia.ninux.org-vs-ninux-generic wants to install file /git/openwrt/build_dir/target-mips_24kc_musl/root-ar71xx/etc/config/prometheus-node-exporter-lua
    But that file is already provided by package  * prometheus-node-exporter-lua
 * opkg_install_cmd: Cannot install package profile-valsamoggia.ninux.org-vs-ninux-generic.

It seems that we can't include packages from the Utilities section?

ilario commented 3 years ago

I think you have two options for modifying an existing file: the elegant one has been implemented by @spiccinini and uses lime-* files to edit other files, like here: https://github.com/libremesh/lime-packages/pull/736 https://github.com/libremesh/lime-packages/blob/2b7226a8d249553e5e7fe3ab8e49dce2566bd318/packages/lime-docs/files/www/docs/lime-example.txt#L105-L109

the old-fashioned one is using uci-defaults scripts like this: https://github.com/libremesh/network-profiles/blob/master/libremesh/odhcpd/etc/uci-defaults/zz-use-odhcpd