summaryrefslogtreecommitdiff
path: root/libre/uboot4extlinux-sunxi/uboot4extlinux-sunxi.hook
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2021-01-06 22:57:20 +0100
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2021-02-03 00:17:47 +0100
commit0a65e2a74db2ccc00dbf2c18f80f147ea29a99e6 (patch)
tree804a482227af970af5d30d4eb108f5ef6c193f3d /libre/uboot4extlinux-sunxi/uboot4extlinux-sunxi.hook
parent1f2f68301569e4918d2d1da122ff241f93561ab8 (diff)
[WIP] Enable cross build of u-boot
TODO: - Create a hook script - Finish the u-boot-sunxi-install script - Add dependencies for the install script (utils-linux) - Test on real hardware (lime2, pcduino-lite) Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'libre/uboot4extlinux-sunxi/uboot4extlinux-sunxi.hook')
-rw-r--r--libre/uboot4extlinux-sunxi/uboot4extlinux-sunxi.hook12
1 files changed, 12 insertions, 0 deletions
diff --git a/libre/uboot4extlinux-sunxi/uboot4extlinux-sunxi.hook b/libre/uboot4extlinux-sunxi/uboot4extlinux-sunxi.hook
new file mode 100644
index 000000000..8f1ba29c2
--- /dev/null
+++ b/libre/uboot4extlinux-sunxi/uboot4extlinux-sunxi.hook
@@ -0,0 +1,12 @@
+[Trigger]
+Type = Package
+Operation = Install
+Operation = Upgrade
+Operation = Remove
+Target = *
+
+[Action]
+Description = Test
+When = PostTransaction
+Exec = /usr/share/libalpm/scripts/uboot4extlinux-sunxi.sh
+NeedsTargets