From ac44f4b510830fed4d06ac7d2e57f31c6faf5c74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Wed, 12 Oct 2011 16:37:13 +0200 Subject: [PATCH] - add hook to run QA tests esp for post product builds --- build_kiwi.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build_kiwi.sh b/build_kiwi.sh index 09d718817..7139cd050 100644 --- a/build_kiwi.sh +++ b/build_kiwi.sh @@ -256,4 +256,8 @@ EOF rm -f $BUILD_ROOT/kiwi_post.sh done fi + # Hook for running post kiwi build scripts like QA scripts if installed + if [ -x /usr/lib/build/kiwi_post_run ]; then + chroot $BUILD_ROOT su -c /usr/lib/build/kiwi_post_run || cleanup_and_exit 1 + fi }