Skip to content

Commit

Permalink
Convert debianized installation to cmake
Browse files Browse the repository at this point in the history
Signed-off-by: Zhi Han <z.han@kunbus.com>
  • Loading branch information
zhan-kunbus committed Nov 29, 2022
1 parent 9dd0a0c commit 4ed3411
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 16 deletions.
27 changes: 27 additions & 0 deletions CMakeLists.txt
@@ -0,0 +1,27 @@
cmake_minimum_required(VERSION 3.13)

project(revpi-tools)

install(FILES README patch_eeprom patch_eeprom.c enable_relay_watchdog.py disable_relay_watchdog.py revpi-connect-watchdog.sh
DESTINATION /home/pi/connect
)

install(PROGRAMS pibridge-shutdown revpi_buster_upgrade_fix_nodered.sh revpi_buster_fix_pictory.sh revpi_buster_fixup_pkgs.py
DESTINATION /usr/sbin
)

install(PROGRAMS revpi-sos
DESTINATION /usr/bin
)

install(FILES revpi.py
DESTINATION /usr/share/sosreport/sos/plugins
)

install(FILES 50-revpi.rules
DESTINATION /lib/udev/rules.d
)

install(FILES pileft-quirks.service piright-quirks.service
DESTINATION /lib/systemd/system
)
16 changes: 0 additions & 16 deletions debian/revpi-tools.install

This file was deleted.

0 comments on commit 4ed3411

Please sign in to comment.