Combine poky (Yocto scarthgap), meta-openembedded (scarthgap), and meta-openwrt into a single repository. Components: - poky/ Yocto core framework (BitBake + OE-Core) - meta-openembedded/ Community layers (meta-oe, meta-python, meta-networking) - meta-openwrt/ OpenWrt customization layer - setup-env.sh One-click build environment setup - README.md Project documentation
16 lines
485 B
Bash
Executable File
16 lines
485 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# Idea and implementation: Koen Kooi
|
|
# Multiple patches support: Marcin Juszkiewicz
|
|
#
|
|
# This script will fetch an 'mbox' patch from patchwork and git am it
|
|
# usage: pw-am.sh <number>
|
|
# example: 'pw-am.sh 221' will get the patch from http://patchwork.openembedded.org/patch/221/
|
|
|
|
for patchnumber in $@;
|
|
do
|
|
wget -nv http://patchwork.yoctoproject.org/patch/$patchnumber/mbox/ -O pw-am-$patchnumber.patch
|
|
git am -s pw-am-$patchnumber.patch
|
|
rm pw-am-$patchnumber.patch
|
|
done
|