summaryrefslogtreecommitdiff
path: root/testing/scripts/build-rootimage
diff options
context:
space:
mode:
Diffstat (limited to 'testing/scripts/build-rootimage')
-rwxr-xr-xtesting/scripts/build-rootimage5
1 files changed, 4 insertions, 1 deletions
diff --git a/testing/scripts/build-rootimage b/testing/scripts/build-rootimage
index a84104a90..c6c41ada3 100755
--- a/testing/scripts/build-rootimage
+++ b/testing/scripts/build-rootimage
@@ -55,8 +55,11 @@ do_on_exit umount $LOOPDIR/root/shared
echo "Installing software from source"
RECPDIR=$DIR/recipes
+if [ -d "$RECPDIR/patches" ]
+then
+ execute "cp -r $RECPDIR/patches $LOOPDIR/root/shared/compile" 0
+fi
RECIPES=`ls $RECPDIR/*.mk | xargs -n1 basename`
-execute "cp -r $RECPDIR/patches $LOOPDIR/root/shared/compile" 0
for r in $RECIPES
do
cp $RECPDIR/$r ${LOOPDIR}/root/shared/compile