diff options
Diffstat (limited to 'buildit-nut')
-rwxr-xr-x | buildit-nut | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/buildit-nut b/buildit-nut new file mode 100755 index 0000000..62525a0 --- /dev/null +++ b/buildit-nut @@ -0,0 +1,33 @@ +#!/bin/bash +branch=${1:-master} +nextbranch=${branch}-nut + +for i in openembedded-core yocto-docs bitbake meta-yocto; do + echo $i + if [ $branch != "master" -a $i = "bitbake" ]; then + continue + fi + cd ~/Repos/$i + git checkout master + git pull + git fetch contrib + git checkout stable/$nextbranch + git rebase $branch +done + +cd ~/Repos/poky + +layerfile=combo-layer-stable-${branch}-nut.conf + +cp ../poky-config/$layerfile ../poky-config/combo-layer-stable-nut.conf + +git checkout -f master +git pull +git branch -D stable/$nextbranch +git checkout $branch +git checkout -b stable/$nextbranch + +#git reset stable/$nextbranch --hard +# Add -D option for debug +../poky-config/combo-layer -c ../poky-config/combo-layer-stable-nut.conf -n update +#git checkout master |