summaryrefslogtreecommitdiffstats
path: root/buildlab.in
diff options
context:
space:
mode:
Diffstat (limited to 'buildlab.in')
-rwxr-xr-xbuildlab.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/buildlab.in b/buildlab.in
index 2ff21d3..d47a97d 100755
--- a/buildlab.in
+++ b/buildlab.in
@@ -160,6 +160,15 @@ build_package() {
do_chroot_action "$path" chown abuild:abuild /home/abuild/${src}
done
+ for i in $triggers; do
+ src=$(echo $i | cut -d. -f1)
+ is_local $src || continue
+
+ msg "${srcdir}/${src} -> ${path}/home/abuild/src/${src} ..."
+ cp ${srcdir}/${src} "${path}"/home/abuild/${src}
+ do_chroot_action "$path" chown abuild:abuild /home/abuild/${src}
+ done
+
cp $apkbuild "$path"/home/abuild
do_chroot_action "$path" chown abuild:abuild /home/abuild/$(basename $apkbuild)