diff options
-rwxr-xr-x | buildit-nut | 33 | ||||
-rw-r--r-- | combo-layer-stable-dunfell-nut.conf | 35 |
2 files changed, 68 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 diff --git a/combo-layer-stable-dunfell-nut.conf b/combo-layer-stable-dunfell-nut.conf new file mode 100644 index 0000000..cf66200 --- /dev/null +++ b/combo-layer-stable-dunfell-nut.conf @@ -0,0 +1,35 @@ +[bitbake] +src_uri = git://git.openembedded.org/bitbake +local_repo_dir = /home/steve/Repos/bitbake +dest_dir = bitbake +branch = stable/1.46-nut +last_revision = b94dec477a8d48ebceec91952ba290798c56c1f5 +hook = /home/steve/Repos/poky-config/combo-layerhook-bitbake.sh +file_exclude = classes/base.bbclass conf/bitbake.conf .gitignore MANIFEST.in setup.py TODO + +[oe-core] +src_uri = git://git.openembedded.org/openembedded-core +local_repo_dir = /home/steve/Repos/openembedded-core +dest_dir = . +branch = stable/dunfell-nut +last_revision = 12f0cbf348d5acb0a7913bb5dc98e7fccc5ec34f +hook = /home/steve/Repos/poky-config/combo-layerhook-oecore.sh +file_exclude = meta/conf/bblayers.conf.sample meta/conf/local.conf.sample meta/conf/local.conf.sample.extended meta/conf/site.conf.sample + +[yocto-docs] +src_uri = git://git.yoctoproject.org/yocto-docs +local_repo_dir = /home/steve/Repos/yocto-docs +dest_dir = . +file_filter = documentation/ +branch = contrib/dunfell-next +last_revision = ac352ad7f95db7eeacb53c2778caa31800bd7c26 +hook = /home/steve/Repos/poky-config/combo-layerhook-yoctodocs.sh + +[meta-yocto] +src_uri = git://git.yoctoproject.org/meta-yocto +local_repo_dir = /home/steve/Repos/meta-yocto +dest_dir = . +branch = contrib/dunfell-next +last_revision = 3f6857be9be9ab5e2ede9a416c212487357eec0d +hook = /home/steve/Repos/poky-config/combo-layerhook-metayocto.sh + |