adding pacman hook for bootsync

This commit is contained in:
brent s 2019-08-19 00:34:38 -04:00
parent 84b6c80b07
commit 7474012ada
1 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,14 @@
# The following would be placed in /etc/pacman.d/hooks/ directory (you may need to create it if it doesn't exist) as bootsync.hook
# It assumes you have:
# * a properly configured /etc/bootsync.xml
# * /usr/local/bin/bootsync symlinked to <OpTools>/sys/BootSync/bootsync.py
[Trigger]
Operation = Install
Operation = Upgrade
Operation = Remove
Type = File
Target = boot/*

[Action]
When = PostTransaction
Exec = /usr/local/bin/bootsync