From 7474012ada777c1f3cf3c75dd5bc7763a58e5ca5 Mon Sep 17 00:00:00 2001 From: brent s Date: Mon, 19 Aug 2019 00:34:38 -0400 Subject: [PATCH] adding pacman hook for bootsync --- sys/BootSync/bootsync.hook | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 sys/BootSync/bootsync.hook diff --git a/sys/BootSync/bootsync.hook b/sys/BootSync/bootsync.hook new file mode 100644 index 0000000..36ff48b --- /dev/null +++ b/sys/BootSync/bootsync.hook @@ -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 /sys/BootSync/bootsync.py +[Trigger] +Operation = Install +Operation = Upgrade +Operation = Remove +Type = File +Target = boot/* + +[Action] +When = PostTransaction +Exec = /usr/local/bin/bootsync