Commit 4dea3dd4 authored by Paul Barker's avatar Paul Barker

Support local patches to submodules

Signed-off-by: Paul Barker's avatarPaul Barker <paul@betafive.co.uk>
parent 9358468a
variables:
GIT_SUBMODULE_STRATEGY: recursive
before_script:
- ./patches/apply.sh
qemux86:
script:
- ./ci/run.py ${CI_BUILD_REF_SLUG}_$(date -I) qemux86
......
#! /bin/bash
set -e
shopt -s nullglob
REPOLIST="bitbake openembedded-core meta-openembedded meta-raspberrypi meta-virtualization meta-yocto"
PATCHES_DIR=$(realpath $(dirname $0))
for repo in $REPOLIST; do
for p in "$PATCHES_DIR/$repo"/*; do
echo "Applying $p"
git -C $repo am "$p"
done
done
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment