Skip to content

Commit

Permalink
Move wbgo.so plugin to /usr/lib (#107)
Browse files Browse the repository at this point in the history
  • Loading branch information
sikmir committed Apr 9, 2024
1 parent cf4800f commit 615d7f8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ install:

install -Dm0644 scripts/lib.js -t $(DESTDIR)$(PREFIX)/share/wb-rules-system/scripts
install -Dm0644 rules/load_alarms.js -t $(DESTDIR)$(PREFIX)/share/wb-rules
install -Dm0644 $(DEB_TARGET_ARCH).wbgo.so $(DESTDIR)$(PREFIX)/share/wb-rules/wbgo.so
install -Dm0644 $(DEB_TARGET_ARCH).wbgo.so $(DESTDIR)$(PREFIX)/lib/wb-rules/wbgo.so
install -Dm0644 rules/alarms.conf -t $(DESTDIR)/etc/wb-rules
install -Dm0644 rules/alarms.schema.json -t $(DESTDIR)$(PREFIX)/share/wb-mqtt-confed/schemas

Expand Down
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
wb-rules (2.20.3) stable; urgency=medium

* Move wbgo.so plugin to /usr/lib, no functional changes

-- Nikolay Korotkiy <nikolay.korotkiy@wirenboard.com> Mon, 08 Apr 2024 15:26:00 +0400

wb-rules (2.20.2) stable; urgency=medium

* Show alarm titles
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func main() {
persistentDbFile := flag.String("pdb", PERSISTENT_DB_FILE, "Persistent storage DB file")
vdevDbFile := flag.String("vdb", VIRTUAL_DEVICES_DB_FILE, "Virtual devices values DB file")

wbgoso := flag.String("wbgo", "/usr/share/wb-rules/wbgo.so", "Location to wbgo.so file")
wbgoso := flag.String("wbgo", "/usr/lib/wb-rules/wbgo.so", "Location to wbgo.so file")

flag.Parse()

Expand Down

0 comments on commit 615d7f8

Please sign in to comment.