diff options
Diffstat (limited to 'axoloti.install')
-rw-r--r-- | axoloti.install | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/axoloti.install b/axoloti.install new file mode 100644 index 000000000000..9c9bd0ef00a8 --- /dev/null +++ b/axoloti.install @@ -0,0 +1,21 @@ +compile_firmware() { + echo '##### compiling firmware... #####' + cd /opt/axoloti-runtime/platform_linux + BUILDDIR=/opt/axoloti-runtime/firmware/build ./compile_firmware.sh +} + +remove_firmware() { + rm -rf /opt/axoloti-runtime/firmware +} + +post_install() { + compile_firmware +} + +post_upgrade() { + compile_firmware +} + +pre_remove() { + remove_firmware +} |