scripts: include binaries in patch
This commit allows for binary content in patches created via 'make update-patches'. Binary patches are needed for BDFs required for al boards on the new ipq40xx target. Before this commit, binaries were omitted from the generated patch which resulted in the patch not able to apply. Patches without binary content do not differ in case they are created with the '--binary' flag.
This commit is contained in:
parent
c4b1febd31
commit
6e48dedeb8
@ -19,6 +19,6 @@ for module in $GLUON_MODULES; do
|
||||
for commit in $(git rev-list --reverse --no-merges base..patched); do
|
||||
let n=n+1
|
||||
mkdir -p "$GLUONDIR"/patches/"$module"
|
||||
git -c core.abbrev=40 show --pretty=format:'From: %an <%ae>%nDate: %aD%nSubject: %B' --no-renames "$commit" > "$GLUONDIR/patches/$module/$(printf '%04u' $n)-$(git show -s --pretty=format:%f "$commit").patch"
|
||||
git -c core.abbrev=40 show --pretty=format:'From: %an <%ae>%nDate: %aD%nSubject: %B' --no-renames --binary "$commit" > "$GLUONDIR/patches/$module/$(printf '%04u' $n)-$(git show -s --pretty=format:%f "$commit").patch"
|
||||
done
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user