[yocto] [yocto-autobuilder][PATCH] /builders.py

2018-03-21 Thread Graydon, Tracy
Add the releases subdirectory to the release publishing destination path.

Signed-off-by: Graydon, Tracy 
---
 builders.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/builders.py b/builders.py
index 7bd218e..977d80a 100644
--- a/builders.py
+++ b/builders.py
@@ -48,7 +48,7 @@ def get_publish_dest(props):
 snapshot += "." + rc_number
 
 rel_name = "yocto-" + props.getProperty("yocto_number", "") + 
snapshot
-dest = os.path.join(config.publish_dest, rel_name)
+dest = os.path.join(config.publish_dest, "releases", rel_name)
 else:
 dest_base = os.path.join(config.publish_dest,
  props.getProperty("buildername"),
-- 
2.7.0

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [yocto-autobuilder][PATCH] /bin/checkvnc

2017-08-15 Thread Graydon, Tracy
[Yocto #11897]

The checkvnc script uses deprecated netstat command for finding vnc sessions.
This breaks on Centos, and will break on other OS as it is removed in the
future.

Drop the dependency on netstat and instead grep /proc/net/tcp for
active sessions on 5901 port.

Signed-off-by: Graydon, Tracy 
---
 bin/checkvnc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/checkvnc b/bin/checkvnc
index d934dfa..11e03bb 100755
--- a/bin/checkvnc
+++ b/bin/checkvnc
@@ -2,7 +2,7 @@
 #
 # check if vnc server is running, and if not, cleanup and restart
 #
-netstat -tnl | grep :5901 > /dev/null
+grep ':170D' /proc/net/tcp > /dev/null
 if [ $? != 0 ]; then
 echo "Xvnc not running, attempting restart"
 vncserver -kill :1
-- 
2.7.0

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [yocto-autobuilder][PATCH] /buildset-config.meta-intel/*.conf

2017-07-26 Thread Graydon, Tracy
Update meta-intel buildsets to reflect current production versions:

- Change various SRCREVs to default to blank instead of linux-yocto or AUTOREV.

Signed-off-by: Graydon, Tracy 
---
 .../intel-core2-32-lsb-rt.conf | 12 +-
 buildset-config.meta-intel/intel-core2-32-lsb.conf | 10 -
 buildset-config.meta-intel/intel-core2-32-rt.conf  | 12 +-
 buildset-config.meta-intel/intel-core2-32.conf | 10 -
 .../intel-corei7-64-lsb-rt.conf| 12 +-
 .../intel-corei7-64-lsb.conf   | 10 -
 buildset-config.meta-intel/intel-corei7-64-rt.conf | 12 +-
 buildset-config.meta-intel/intel-corei7-64.conf| 10 -
 .../nightly-meta-intel-world.conf  | 10 -
 buildset-config.meta-intel/nightly-musl.conf   | 17 +++---
 buildset-config.meta-intel/nightly-x32.conf| 26 ++
 11 files changed, 70 insertions(+), 71 deletions(-)

diff --git a/buildset-config.meta-intel/intel-core2-32-lsb-rt.conf 
b/buildset-config.meta-intel/intel-core2-32-lsb-rt.conf
index 6e5d794..365c437 100644
--- a/buildset-config.meta-intel/intel-core2-32-lsb-rt.conf
+++ b/buildset-config.meta-intel/intel-core2-32-lsb-rt.conf
@@ -1,5 +1,5 @@
 [intel-core2-32-lsb-rt]
-builders: 'example-worker'
+builders: ['example-worker']
 repos: [{'poky':
 {'repourl':'git://git.yoctoproject.org/poky',
  'layerversion':{'core':'meta', 'yoctobsp':'meta-yocto-bsp', 
'yocto':'meta-yocto', 'poky':'meta-poky'},
@@ -22,8 +22,8 @@ props: [{'kmeta':{'prop_type':'StringParameter',
 {'srcrev_meta':{'prop_type':'StringParameter',
'size': 15,
'name': 'srcrev_meta',
-   'default': '${AUTOREV}',
-   'label':' SRCREV for KMETA_${MACHINE} (default 
is ${AUTOREV}):'}},
+   'default': '',
+   'label':' SRCREV for KMETA_${MACHINE} (default 
is blank):'}},
 {'srcuri_meta':{'prop_type':'StringParameter',
'size': 50,
'name': 'srcuri_meta',
@@ -37,8 +37,8 @@ props: [{'kmeta':{'prop_type':'StringParameter',
 {'srcrev_machine':{'prop_type':'StringParameter',
'size': 15,
'name': 'srcrev_machine',
-   'default': '${AUTOREV}',
-   'label':' SRCREV for KBRANCH. (default is 
${AUTOREV}):'}},
+   'default': '',
+   'label':' SRCREV for KBRANCH. (default is 
blank}):'}},
 {'srcuri_machine':{'prop_type':'StringParameter',
'size': 50,
'name': 'srcuri_machine',
@@ -56,7 +56,7 @@ steps: [{'SetDest':{}},
 {'CreateAutoConf': {'machine': 'intel-core2-32',
 'SDKMACHINE' : 'x86_64',
 'distro': 'poky-lsb',
-'atextappend' : 
'\nPREFERRED_PROVIDER_virtual/kernel = "linux-yocto-rt"\n'}},
+'atextappend' : 
'\nPREFERRED_PROVIDER_virtual/kernel_linuxstdbase = "linux-intel-rt"\n'}},
 {'AddKernelProps': {}},
 {'BuildImages': {'images': 'core-image-rt'}},
 {'PublishLayerTarballs':{}},
diff --git a/buildset-config.meta-intel/intel-core2-32-lsb.conf 
b/buildset-config.meta-intel/intel-core2-32-lsb.conf
index 5cb608f..cea5962 100644
--- a/buildset-config.meta-intel/intel-core2-32-lsb.conf
+++ b/buildset-config.meta-intel/intel-core2-32-lsb.conf
@@ -1,5 +1,5 @@
 [intel-core2-32-lsb]
-builders: 'example-worker'
+builders: ['example-worker']
 repos: [{'poky':
 {'repourl':'git://git.yoctoproject.org/poky',
  'layerversion':{'core':'meta', 'yoctobsp':'meta-yocto-bsp', 
'yocto':'meta-yocto', 'poky':'meta-poky'},
@@ -22,8 +22,8 @@ props: [{'kmeta':{'prop_type':'StringParameter',
 {'srcrev_meta':{'

[yocto] [yocto-autobuilder][PATCH] /buildset-config.meta-intel/yoctoAB.conf

2017-07-26 Thread Graydon, Tracy
Remove the deprecated configs for jasperforest, crownbay, sugarbay, and nuc.

Signed-off-by: Graydon, Tracy 
---
 buildset-config.meta-intel/yoctoAB.conf | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/buildset-config.meta-intel/yoctoAB.conf 
b/buildset-config.meta-intel/yoctoAB.conf
index 7ad8cc7..cf959e8 100644
--- a/buildset-config.meta-intel/yoctoAB.conf
+++ b/buildset-config.meta-intel/yoctoAB.conf
@@ -2,5 +2,4 @@
 order: ['nightly-meta-intel', 'nightly-meta-intel-world', 'nightly-musl',
 'nightly-x32', 'intel-corei7-64', 'intel-corei7-64-lsb', 
 'intel-corei7-64-rt', 'intel-corei7-64-lsb-rt', 'intel-core2-32', 
-'intel-core2-32-rt', 'intel-core2-32-lsb-rt', 'intel-quark', 
-'nuc', 'nuc-lsb', 'sugarbay', 'sugarbay-lsb']
+'intel-core2-32-rt', 'intel-core2-32-lsb-rt', 'intel-quark']
-- 
2.7.0

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [yocto-autobuilder][PATCH] /buildset-config.meta-intel/nightly-meta-intel.conf

2017-07-26 Thread Graydon, Tracy
Update nightl-meta-intel.conf to reflect what is currently being
used in production.

- Drop deprecated crownbay, jasperforest, sugarbay, and nuc -related stuff.
- Change various SRCREVs to use blank as default instead of linux-yocto or
AUTOREV.

Signed-off-by: Graydon, Tracy 
---
 buildset-config.meta-intel/nightly-meta-intel.conf | 32 --
 1 file changed, 11 insertions(+), 21 deletions(-)

diff --git a/buildset-config.meta-intel/nightly-meta-intel.conf 
b/buildset-config.meta-intel/nightly-meta-intel.conf
index 53c59ed..492aa89 100644
--- a/buildset-config.meta-intel/nightly-meta-intel.conf
+++ b/buildset-config.meta-intel/nightly-meta-intel.conf
@@ -1,5 +1,5 @@
 [nightly-meta-intel]
-builders: 'example-worker'
+builders: ['example-worker']
 repos: [{'poky':
 {'repourl':'git://git.yoctoproject.org/poky',
  'layerversion':{'core':'meta', 'yoctobsp':'meta-yocto-bsp', 
'yocto':'meta-yocto', 'poky':'meta-poky'},
@@ -53,8 +53,9 @@ props: [{'release_me':{'prop_type':'ChoiceStringParameter',
 {'prefered_kernel':{'prop_type':'StringParameter',
'size': 15,
'name': 'prefered_kernel',
-   'default': 'linux-yocto',
-   'label':' PREFERRED_PROVIDER_virtual/kernel 
(default is "linux-yocto"):'}},
+   #'default': 'linux-yocto',
+   'default': '',
+   'label':' PREFERRED_PROVIDER_virtual/kernel 
(default is blank):'}},
 {'kmeta':{'prop_type':'StringParameter',
'size': 15,
'name': 'kmeta',
@@ -63,8 +64,8 @@ props: [{'release_me':{'prop_type':'ChoiceStringParameter',
 {'srcrev_meta':{'prop_type':'StringParameter',
'size': 15,
'name': 'srcrev_meta',
-   'default': '${AUTOREV}',
-   'label':' SRCREV for KMETA_${MACHINE} (default 
is ${AUTOREV}):'}},
+   'default': '',
+   'label':' SRCREV for KMETA_${MACHINE} (default 
is blank):'}},
 {'srcuri_meta':{'prop_type':'StringParameter',
'size': 50,
'name': 'srcuri_meta',
@@ -78,8 +79,8 @@ props: [{'release_me':{'prop_type':'ChoiceStringParameter',
 {'srcrev_machine':{'prop_type':'StringParameter',
'size': 15,
'name': 'srcrev_machine',
-   'default': '${AUTOREV}',
-   'label':' SRCREV for KBRANCH. (default is 
${AUTOREV}):'}},
+   'default': '',
+   'label':' SRCREV for KBRANCH. (default is 
blank):'}},
 {'srcuri_machine':{'prop_type':'StringParameter',
'size': 50,
'name': 'srcuri_machine',
@@ -89,27 +90,16 @@ props: [{'release_me':{'prop_type':'ChoiceStringParameter',
 steps: [{'SetDest':{}},
 {'CheckOutLayers': {}},
 {'RunPreamble': {}},
-{'TriggerBuilds': {'schedulerName': 'main-build', 'waitForFinish': 
'True', 
+{'TriggerBuilds': {'copy_properties': ['custom_deploy_artifacts', 
'custom_prefered_kernel', 'custom_kmeta', 'custom_kbranch', 
'custom_srcrev_meta', 'custom_srcrev_machine', 'custom_srcuri_meta', 
'custom_srcuri_machine'],
+   'schedulerName': 'main-build', 'waitForFinish': 
'True', 
'schedulerNames': {'intel-core2-32':{}, 
'intel-core2-32-lsb':{}, 
  'intel-core2-32-lsb-rt':{}, 
'intel-core2-32-rt':{},
  'intel-corei7-64':{}, 'intel-corei7-64-lsb':{},
  'intel-corei7-64-lsb-rt':{}, 
'intel-corei7-64-rt

[yocto] [yocto-autobuilder][PATCH] /buildset-config.meta-intel

2017-07-26 Thread Graydon, Tracy
Delete jasperforest, sugarbay, and nuc buildsets. These are deprecated. We
no longer release/support these.

Signed-off-by: Graydon, Tracy 
---
 buildset-config.meta-intel/jasperforest-lsb.conf | 58 
 buildset-config.meta-intel/jasperforest.conf | 51 -
 buildset-config.meta-intel/nuc-lsb.conf  | 58 
 buildset-config.meta-intel/nuc.conf  | 52 -
 buildset-config.meta-intel/sugarbay-lsb.conf | 58 
 buildset-config.meta-intel/sugarbay.conf | 52 -
 6 files changed, 329 deletions(-)
 delete mode 100644 buildset-config.meta-intel/jasperforest-lsb.conf
 delete mode 100644 buildset-config.meta-intel/jasperforest.conf
 delete mode 100644 buildset-config.meta-intel/nuc-lsb.conf
 delete mode 100644 buildset-config.meta-intel/nuc.conf
 delete mode 100644 buildset-config.meta-intel/sugarbay-lsb.conf
 delete mode 100644 buildset-config.meta-intel/sugarbay.conf

diff --git a/buildset-config.meta-intel/jasperforest-lsb.conf 
b/buildset-config.meta-intel/jasperforest-lsb.conf
deleted file mode 100644
index 5344f28..000
--- a/buildset-config.meta-intel/jasperforest-lsb.conf
+++ /dev/null
@@ -1,58 +0,0 @@
-[jasperforest-lsb]
-builders: 'example-worker'
-repos: [{'poky':
-{'repourl':'git://git.yoctoproject.org/poky',
- 'layerversion':{'core':'meta', 'yoctobsp':'meta-yocto-bsp', 
'yocto':'meta-yocto', 'poky':'meta-poky'},
- 'branch':'master'}},
-{'meta-qt3':
-{'repourl':'git://git.yoctoproject.org/meta-qt3',
- 'branch':'master'}},
-{'meta-qt4':
-{'repourl':'git://git.yoctoproject.org/meta-qt4',
- 'branch':'master'}},
-{'meta-intel':
-{'repourl':'git://git.yoctoproject.org/meta-intel',
- 'layerversion':{'intel':'meta-intel'},
- 'branch':'master'}}]
-props: [{'kmeta':{'prop_type':'StringParameter',
-   'size': 15,
-   'name': 'kmeta',
-   'default': '',
-   'label':' branch for KMETA_${MACHINE} (default 
is blank):'}},
-{'srcrev_meta':{'prop_type':'StringParameter',
-   'size': 15,
-   'name': 'srcrev_meta',
-   'default': '${AUTOREV}',
-   'label':' SRCREV for KMETA_${MACHINE} (default 
is ${AUTOREV}):'}},
-{'srcuri_meta':{'prop_type':'StringParameter',
-   'size': 50,
-   'name': 'srcuri_meta',
-   'default': '',
-   'label':' SRC_URI_pn-linux-yocto KMETA append. 
(default is blank). This should be constructed as *just* the git uri 
portion of the string. 
(git://git.yoctoproject.org/linux-yocto-3.19.git'}},
-{'kbranch':{'prop_type':'StringParameter',
-   'size': 15,
-   'name': 'kbranch',
-   'default': '',
-   'label':' branch for KBRANCH_${MACHINE} 
(default is blank):'}},
-{'srcrev_machine':{'prop_type':'StringParameter',
-   'size': 15,
-   'name': 'srcrev_machine',
-   'default': '${AUTOREV}',
-   'label':' SRCREV for KBRANCH. (default is 
${AUTOREV}):'}},
-{'srcuri_machine':{'prop_type':'StringParameter',
-   'size': 50,
-   'name': 'srcuri_machine',
-   'default': '',
-   'label':' SRC_URI_pn-linux-yocto KBRANCH 
append. (default is blank). This should be constructed as *just* the git 
uri portion of the string. 
(git://git.yoctoproject.org/linux-yocto-3.19.git'}}]
-steps: [{'SetDest':{}},
-{'CheckOutLayers': {}},
-{'RunPreamble': {}},
-{'CheckBSPExists': {}},
-{'GetDistroVersion' : {'distro': &

[yocto] [yocto-autobuilder][PATCH] /buildset-config.meta-intel/yoctoAB.conf

2017-03-08 Thread Graydon, Tracy
Update yoctoAB.conf to reflect what is currently used in production and
add nightly-musl and nightly-x32 builds to the configuration.

Signed-off-by: Graydon, Tracy 
---
 buildset-config.meta-intel/yoctoAB.conf | 11 +--
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/buildset-config.meta-intel/yoctoAB.conf 
b/buildset-config.meta-intel/yoctoAB.conf
index ad22a8a..7ad8cc7 100644
--- a/buildset-config.meta-intel/yoctoAB.conf
+++ b/buildset-config.meta-intel/yoctoAB.conf
@@ -1,7 +1,6 @@
 [BuildSets]
-order: ['nightly-meta-intel', 'nightly-meta-intel-world',
-'intel-corei7-64', 'intel-corei7-64-lsb',
-'intel-corei7-64-rt', 'intel-corei7-64-lsb-rt', 'intel-core2-32',
-'intel-core2-32-rt', 'intel-core2-32-lsb-rt',
-'intel-quark', 'nuc', 'nuc-lsb', 'sugarbay', 
-'sugarbay-lsb']
+order: ['nightly-meta-intel', 'nightly-meta-intel-world', 'nightly-musl',
+'nightly-x32', 'intel-corei7-64', 'intel-corei7-64-lsb', 
+'intel-corei7-64-rt', 'intel-corei7-64-lsb-rt', 'intel-core2-32', 
+'intel-core2-32-rt', 'intel-core2-32-lsb-rt', 'intel-quark', 
+'nuc', 'nuc-lsb', 'sugarbay', 'sugarbay-lsb']
-- 
2.7.0

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [yocto-autobuilder][PATCH] /buildset-config.meta-intel/nightly-meta-intel.conf

2017-03-08 Thread Graydon, Tracy
Add the new nightly-musl and nightly-x32 builds to nightly-meta-intel
build scheduler triggers.

Signed-off-by: Graydon, Tracy 
---
 buildset-config.meta-intel/nightly-meta-intel.conf | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/buildset-config.meta-intel/nightly-meta-intel.conf 
b/buildset-config.meta-intel/nightly-meta-intel.conf
index 557bb67..081726e 100644
--- a/buildset-config.meta-intel/nightly-meta-intel.conf
+++ b/buildset-config.meta-intel/nightly-meta-intel.conf
@@ -1,5 +1,5 @@
 [nightly-meta-intel]
-builders: 'example-worker'
+builders: ['yocto-ab-master.ostc.intel.com', 'yocto-ab01.ostc.intel.com', 
'yocto-ab02.ostc.intel.com', 'yocto-ab03.ostc.intel.com', 
'yocto-ab04.ostc.intel.com']
 repos: [{'poky':
 {'repourl':'git://git.yoctoproject.org/poky',
  'layerversion':{'core':'meta', 'yoctobsp':'meta-yocto-bsp', 
'yocto':'meta-yocto', 'poky':'meta-poky'},
@@ -19,7 +19,7 @@ props: [{'release_me':{'prop_type':'ChoiceStringParameter',
'name': 'release_me',
'label':' Generate a release?:'}},
 {'poky_name':{'prop_type':'ChoiceStringParameter',
-   'choices': ['', 'pyro', 'morty', 'krogoth', 'jethro', 
'fido','dizzy','daisy','dora','dylan','danny','denzil','edison','bernard'],
+   'choices': ['', 'pyro', 'morty', 'krogoth', 'jethro', 
'fido'],
'name': 'poky_name',
'label':' Name of the poky release.For further 
info on release names see https://wiki.yoctoproject.org/wiki/Releases";> Releases  '}},
 {'is_milestone':{'prop_type':'ChoiceStringParameter',
@@ -94,7 +94,7 @@ steps: [{'SetDest':{}},
  'intel-core2-32-lsb-rt':{}, 
'intel-core2-32-rt':{},
  'intel-corei7-64':{}, 'intel-corei7-64-lsb':{},
  'intel-corei7-64-lsb-rt':{}, 
'intel-corei7-64-rt':{}, 
- 'intel-quark':{},
+ 'intel-quark':{}, 'nightly-musl':{}, 
'nightly-x32':{},
  'jasperforest':{}, 'jasperforest-lsb':{},
  'sugarbay':{}, 'sugarbay-lsb':{},
  'nuc':{}, 'nuc-lsb':{}}, 'schedulerNames_nowait' 
: {'nightly-meta-intel-world':{,
-- 
2.7.0

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [yocto-autobuilder][PATCH] /buildset-config.meta-intel/nightly-x32.conf

2017-03-08 Thread Graydon, Tracy
Add nightly-x32 buildset with world build for meta-intel autobuilder.

Signed-off-by: Graydon, Tracy 
---
 buildset-config.meta-intel/nightly-x32.conf | 60 +
 1 file changed, 60 insertions(+)
 create mode 100644 buildset-config.meta-intel/nightly-x32.conf

diff --git a/buildset-config.meta-intel/nightly-x32.conf 
b/buildset-config.meta-intel/nightly-x32.conf
new file mode 100644
index 000..cba4f00
--- /dev/null
+++ b/buildset-config.meta-intel/nightly-x32.conf
@@ -0,0 +1,60 @@
+[nightly-x32]
+builders: ['yocto-ab-master.ostc.intel.com', 'yocto-ab01.ostc.intel.com', 
'yocto-ab02.ostc.intel.com', 'yocto-ab03.ostc.intel.com', 
'yocto-ab04.ostc.intel.com']
+repos: [{'poky':
+{'repourl':'git://git.yoctoproject.org/poky',
+ 'layerversion':{'core':'meta', 'yoctobsp':'meta-yocto-bsp', 
'yocto':'meta-yocto', 'poky':'meta-poky'},
+ 'branch':'master'}},
+{'meta-intel':
+{'repourl':'git://git.yoctoproject.org/meta-intel',
+ 'layerversion':{'intel':'meta-intel'},
+ 'branch':'master'}}]
+props: [{'kmeta':{'prop_type':'StringParameter',
+   'size': 15,
+   'name': 'kmeta',
+   'default': '',
+   'label':' branch for KMETA_${MACHINE} (default 
is blank):'}},
+{'srcrev_meta':{'prop_type':'StringParameter',
+   'size': 15,
+   'name': 'srcrev_meta',
+   'default': '${AUTOREV}',
+   'label':' SRCREV for KMETA_${MACHINE} (default 
is ${AUTOREV}):'}},
+{'srcuri_meta':{'prop_type':'StringParameter',
+   'size': 50,
+   'name': 'srcuri_meta',
+   'default': '',
+   'label':' SRC_URI_pn-linux-yocto KMETA append. 
(default is blank). This should be constructed as *just* the git uri 
portion of the   string. 
(git://git.yoctoproject.org/linux-yocto-3.19.git'}},
+{'kbranch':{'prop_type':'StringParameter',
+   'size': 15,
+   'name': 'kbranch',
+   'default': '',
+   'label':' branch for KBRANCH_${MACHINE} 
(default is blank):'}},
+{'srcrev_machine':{'prop_type':'StringParameter',
+   'size': 15,
+   'name': 'srcrev_machine',
+   'default': '${AUTOREV}',
+   'label':' SRCREV for KBRANCH. (default is 
${AUTOREV}):'}},
+{'srcuri_machine':{'prop_type':'StringParameter',
+   'size': 50,
+   'name': 'srcuri_machine',
+   'default': '',
+   'label':' SRC_URI_pn-linux-yocto KBRANCH 
append. (default is blank). This should be constructed as *just* the git 
uri portion of thestring. 
(git://git.yoctoproject.org/linux-yocto-3.19.git'}}]
+steps: [{'SetDest':{}},
+{'CheckOutLayers': {}},
+{'RunPreamble': {}},
+{'GetDistroVersion' : {'distro': 'poky'}},
+{'GetBitbakeVersion': {}},
+{'CreateAutoConf': {'machine': 'qemux86-64', 'SDKMACHINE' : 'x86_64',
+'buildhistory' : False, 'x32': True,
+'distro': 'poky'}},
+{'CreateBBLayersConf': {'buildprovider' : 'yocto'}},
+{'PublishLayerTarballs':{}},
+{'BuildImages': {'images': 'core-image-minimal core-image-sato 
world'}},
+{'RunSanityTests': {'images': 'core-image-minimal'}},
+{'CreateAutoConf': {'machine': 'qemux86-64', 'SDKMACHINE' : 'x86_64',
+'buildhistory' : False, 'x32': True,
+'distro': 'poky'}},
+{'RunSanityTests': {'images': 'core-image-sato', 'suitesappend' : 
'x32lib'}},
+{'DownloadErrorReports': {}},
+{'SendErrorReport': {}},
+{'UploadToasterEventlog': {}},
+{'PublishArtifacts': {'artifacts': ['md5sums']}}]
-- 
2.7.0

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [yocto-autobuilder][PATCH] /buildset-config.meta-intel/nightly-musl.conf

2017-03-08 Thread Graydon, Tracy
Add nightly-musl buildset for meta-intel autobuilder.

Signed-off-by: Graydon, Tracy 
---
 buildset-config.meta-intel/nightly-musl.conf | 52 
 1 file changed, 52 insertions(+)
 create mode 100644 buildset-config.meta-intel/nightly-musl.conf

diff --git a/buildset-config.meta-intel/nightly-musl.conf 
b/buildset-config.meta-intel/nightly-musl.conf
new file mode 100644
index 000..02f7126
--- /dev/null
+++ b/buildset-config.meta-intel/nightly-musl.conf
@@ -0,0 +1,52 @@
+[nightly-musl]
+builders: ['yocto-ab-master.ostc.intel.com', 'yocto-ab01.ostc.intel.com', 
'yocto-ab02.ostc.intel.com', 'yocto-ab03.ostc.intel.com', 
'yocto-ab04.ostc.intel.com']
+repos: [{'poky':
+{'repourl':'git://git.yoctoproject.org/poky',
+ 'layerversion':{'core':'meta', 'yoctobsp':'meta-yocto-bsp', 
'yocto':'meta-yocto', 'poky':'meta-poky'},
+ 'branch':'master'}},
+{'meta-intel':
+{'repourl':'git://git.yoctoproject.org/meta-intel',
+ 'layerversion':{'intel':'meta-intel'},
+ 'branch':'master'}}]
+props: [{'kmeta':{'prop_type':'StringParameter',
+   'size': 15,
+   'name': 'kmeta',
+   'default': '',
+   'label':' branch for KMETA_${MACHINE} (default 
is blank):'}},
+{'srcrev_meta':{'prop_type':'StringParameter',
+   'size': 15,
+   'name': 'srcrev_meta',
+   'default': '${AUTOREV}',
+   'label':' SRCREV for KMETA_${MACHINE} (default 
is ${AUTOREV}):'}},
+{'srcuri_meta':{'prop_type':'StringParameter',
+   'size': 50,
+   'name': 'srcuri_meta',
+   'default': '',
+   'label':' SRC_URI_pn-linux-yocto KMETA append. 
(default is blank). This should be constructed as *just* the git uri 
portion of the string. 
(git://git.yoctoproject.org/linux-yocto-3.19.git'}},
+{'kbranch':{'prop_type':'StringParameter',
+   'size': 15,
+   'name': 'kbranch',
+   'default': '',
+   'label':' branch for KBRANCH_${MACHINE} 
(default is blank):'}},
+{'srcrev_machine':{'prop_type':'StringParameter',
+   'size': 15,
+   'name': 'srcrev_machine',
+   'default': '${AUTOREV}',
+   'label':' SRCREV for KBRANCH. (default is 
${AUTOREV}):'}},
+{'srcuri_machine':{'prop_type':'StringParameter',
+   'size': 50,
+   'name': 'srcuri_machine',
+   'default': '',
+   'label':' SRC_URI_pn-linux-yocto KBRANCH 
append. (default is blank). This should be constructed as *just* the git 
uri portion of the string. 
(git://git.yoctoproject.org/linux-yocto-3.19.git'}}]
+steps: [{'SetDest':{}},
+{'CheckOutLayers': {}},
+{'RunPreamble': {}},
+{'GetDistroVersion' : {'distro': 'poky'}},
+{'CreateAutoConf': {'machine': 'qemux86', 'SDKMACHINE' : 'x86_64',
+'buildhistory' : False, 'distro': 'poky',
+'atextappend' : '\nTCLIBC="musl"\n' }},
+{'CreateBBLayersConf': {'buildprovider' : 'yocto'}},
+{'BuildImages': {'images':  'core-image-minimal 
core-image-full-cmdline core-image-sato world'}},
+{'RunSanityTests': {'images': 'core-image-minimal 
core-image-full-cmdline core-image-sato'}},
+{'DownloadErrorReports': {}},
+{'SendErrorReport': {}}]
-- 
2.7.0

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [yocto-autobuilder][PATCH] buildset-config.meta-intel/nightly-meta-intel.conf

2016-11-03 Thread Graydon, Tracy
Update nightly-meta-intel.conf with the most recent release branches.

Signed-off-by: Graydon, Tracy 
---
 buildset-config.meta-intel/nightly-meta-intel.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/buildset-config.meta-intel/nightly-meta-intel.conf 
b/buildset-config.meta-intel/nightly-meta-intel.conf
index 3db11f5..557bb67 100644
--- a/buildset-config.meta-intel/nightly-meta-intel.conf
+++ b/buildset-config.meta-intel/nightly-meta-intel.conf
@@ -19,7 +19,7 @@ props: [{'release_me':{'prop_type':'ChoiceStringParameter',
'name': 'release_me',
'label':' Generate a release?:'}},
 {'poky_name':{'prop_type':'ChoiceStringParameter',
-   'choices': ['', 'jethro', 
'fido','dizzy','daisy','dora','dylan','danny','denzil','edison','bernard'],
+   'choices': ['', 'pyro', 'morty', 'krogoth', 'jethro', 
'fido','dizzy','daisy','dora','dylan','danny','denzil','edison','bernard'],
'name': 'poky_name',
'label':' Name of the poky release.For further 
info on release names see https://wiki.yoctoproject.org/wiki/Releases";> Releases  '}},
 {'is_milestone':{'prop_type':'ChoiceStringParameter',
-- 
2.7.0

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Milestone 3 for Yocto Project 2.2 now available

2016-09-26 Thread Graydon, Tracy
The third milestone release for Yocto Project 2.2 is available for
download now.

Download:

http://downloads.yoctoproject.org/releases/yocto/milestones/yocto-2.2_M3/

eclipse-poky/neon-master 1c750b077e4fa80ec5a4743175c07772fa1d4d81
meta-qt3 f33b73a9563f2dfdfd0ee37b61d65d90197a456f
meta-qt4 fc9b050569e94b5176bed28b69ef28514e4e4553
poky 2679a347c576f5411fbe802d2f6201c94036ecb2


Test report:

https://wiki.yoctoproject.org/wiki/WW38_-_2016-09-09_-_Full_Test_Cycle_2.2_
M3.rc1


Thank you to everyone for your contributions.


Tracy Graydon
Yocto Project
Build and Release


-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [yocto-autobuilder][PATCH] /buildset-config.controller/eclipse-plugin-*

2016-09-15 Thread Graydon, Tracy
We are no longer supporting kepler or luna. Remove the build set for those and
remove luna from yoctoAB.conf.

Signed-off-by: Graydon, Tracy 
---
 buildset-config.controller/eclipse-plugin-kepler.conf | 10 --
 buildset-config.controller/eclipse-plugin-luna.conf   | 11 ---
 buildset-config.controller/yoctoAB.conf   |  1 -
 3 files changed, 22 deletions(-)
 delete mode 100644 buildset-config.controller/eclipse-plugin-kepler.conf
 delete mode 100644 buildset-config.controller/eclipse-plugin-luna.conf

diff --git a/buildset-config.controller/eclipse-plugin-kepler.conf 
b/buildset-config.controller/eclipse-plugin-kepler.conf
deleted file mode 100644
index 9948852..000
--- a/buildset-config.controller/eclipse-plugin-kepler.conf
+++ /dev/null
@@ -1,10 +0,0 @@
-[eclipse-plugin-kepler]
-builders: 'example-worker'
-repos: [{'eclipse-poky-kepler':
-{'repourl':'git://git.yoctoproject.org/eclipse-poky',
- 'branch':'kepler-master'}}]
-steps: [{'SetDest':{}},
-{'CheckOutLayers': {}},
-{'BuildEclipsePlugin': {'eclipsedir': 'eclipse-poky-kepler'}},
-{'PublishLayerTarballs':{}},
-{'PublishArtifacts': {'artifacts': ['eclipse-plugin-kepler']}}]
diff --git a/buildset-config.controller/eclipse-plugin-luna.conf 
b/buildset-config.controller/eclipse-plugin-luna.conf
deleted file mode 100644
index d745af3..000
--- a/buildset-config.controller/eclipse-plugin-luna.conf
+++ /dev/null
@@ -1,11 +0,0 @@
-[eclipse-plugin-luna]
-builders: 'example-worker'
-repos: [{'eclipse-poky-luna':
-{'repourl':'git://git.yoctoproject.org/eclipse-poky',
- 'branch':'luna-master' }}]
-steps: [{'SetDest':{}},
-{'CheckOutLayers': {}},
-{'BuildEclipsePlugin': {'eclipsedir': 'eclipse-poky-luna'}},
-{'PublishLayerTarballs':{}},
-{'PublishArtifacts': {'artifacts': ['eclipse-plugin-luna']}}]
-
diff --git a/buildset-config.controller/yoctoAB.conf 
b/buildset-config.controller/yoctoAB.conf
index fe9750b..309a5ab 100644
--- a/buildset-config.controller/yoctoAB.conf
+++ b/buildset-config.controller/yoctoAB.conf
@@ -1,6 +1,5 @@
 [BuildSets]
 order: ['nightly', 'eclipse-plugin-neon', 'eclipse-plugin-mars', 
-'eclipse-plugin-luna',
 'nightly-arm', 'nightly-arm64', 'nightly-arm-lsb', 
 'nightly-mips', 'nightly-mips64', 'nightly-mips-lsb', 
 'nightly-ppc', 'nightly-ppc-lsb', 'nightly-no-x11',
-- 
2.7.0

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [yocto-autobuilder][PATCH] /bin/checkvnc: un-bashify it

2016-09-09 Thread Graydon, Tracy
Script was using /bin/sh and double brackets were causing an error in 
nightly-oe-selftest build:
/home/pokybuild/yocto-autobuilder/bin/checkvnc: 6: 
/home/pokybuild/yocto-autobuilder/bin/checkvnc: [[: not found

Changed double to single brackets to make sh happy.

Signed-off-by: Graydon, Tracy 
---
 bin/checkvnc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/checkvnc b/bin/checkvnc
index 574ba48..728031f 100755
--- a/bin/checkvnc
+++ b/bin/checkvnc
@@ -3,7 +3,7 @@
 # check if vnc server is running, and if not, cleanup and restart
 #
 pid=$(pidof Xvnc)
-if [[ $? != 0 ]]; then
+if [ $? != 0 ]; then
 echo "Xvnc not running, attempting restart"
 vncserver -kill :1
 vncserver
-- 
2.7.0

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [yocto-autobuilder][PATCH] /bin/checkvnc

2016-09-09 Thread Graydon, Tracy
On second thought… Forget this one. I will submit a new patch that
un-bashifies it. That would be the “right” thing to do.

-t

On 09/09/16, 1:15 PM, "yocto-boun...@yoctoproject.org on behalf of
Graydon, Tracy"  wrote:

>Script was using /bin/sh and causing an error in nightly-oe-selftest
>build:
>/home/pokybuild/yocto-autobuilder/bin/checkvnc: 6:
>/home/pokybuild/yocto-autobuilder/bin/checkvnc: [[: not found
>
>Changing script to use /bin/bash instead fixes the issue.
>
>Signed-off-by: Graydon, Tracy 
>---
> bin/checkvnc | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/bin/checkvnc b/bin/checkvnc
>index 574ba48..11b1a41 100755
>--- a/bin/checkvnc
>+++ b/bin/checkvnc
>@@ -1,4 +1,4 @@
>-#!/bin/sh
>+#!/bin/bash
> #
> # check if vnc server is running, and if not, cleanup and restart
> #
>-- 
>2.7.0
>
>-- 
>___
>yocto mailing list
>yocto@yoctoproject.org
>https://lists.yoctoproject.org/listinfo/yocto
>


-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [yocto-autobuilder][PATCH] /bin/checkvnc

2016-09-09 Thread Graydon, Tracy
Script was using /bin/sh and causing an error in nightly-oe-selftest build:
/home/pokybuild/yocto-autobuilder/bin/checkvnc: 6: 
/home/pokybuild/yocto-autobuilder/bin/checkvnc: [[: not found

Changing script to use /bin/bash instead fixes the issue.

Signed-off-by: Graydon, Tracy 
---
 bin/checkvnc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/checkvnc b/bin/checkvnc
index 574ba48..11b1a41 100755
--- a/bin/checkvnc
+++ b/bin/checkvnc
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 #
 # check if vnc server is running, and if not, cleanup and restart
 #
-- 
2.7.0

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [ANNOUNCEMENT] Milestone 2 for Yocto Project 2.2 now available.

2016-08-02 Thread Graydon, Tracy

The second milestone release for Yocto Project 2.2 is available for
download now.

http://downloads.yoctoproject.org/releases/yocto/milestones/yocto-2.2_M2/


Thank you to everyone for your contributions.

eclipse-poky/kepler-master f402f9a24114f26c9a057a74206bdca87473367b
eclipse-poky/luna-master 155aefbdd7ea776504dedeb7468db2ecd4228629
eclipse-poky/mars-master e38ce99f413b832be4a8c6db5f739fed0041d2f4
meta-qt3 44cbc64ccaee2050d1c1d5755023c0bf604615a1
meta-qt4 d0cb4203557a8e4be0704211db8306d4834e97ee
poky 36feb38045b7a2af86ece147fec54b0db3bf491f


Test report:

https://wiki.yoctoproject.org/wiki/WW30_-_2016-07-21_-_Full_Test_Cycle_2.2_
M2.rc1



Tracy Graydon
Yocto Project
Build and Release

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [ANNOUNCEMENT] Milestone 1 for Yocto Project 2.2 now available.

2016-07-22 Thread Graydon, Tracy
The first milestone release for Yocto Project 2.2 is available for
download now.

http://downloads.yoctoproject.org/releases/yocto/milestones/yocto-2.2_M1/

Thank you to everyone for your contributions.

eclipse-poky/kepler-master f357cc3f8981ae3f4401cb24435ef40ab095cb33.tar.bz2
eclipse-poky/luna-master 8315d3ec845f37a710bc42e01dd32058e4da7d01.tar.bz2
eclipse-poky/mars-master 06fa262d309628e31648994c55324bc70f5d7dc8.tar.bz2
meta-qt3 7d958b928a4a38a186746fabbc0d8169dd8bb3a6.tar.bz2
meta-qt4 8b346c465a5efb280f8d0d23f8660f68bf9af59f.tar.bz2
poky 6f0c5537e02c59e1c8f3b08f598dc049ff8ee098.tar.bz2


Test report:


https://wiki.yoctoproject.org/wiki/WW26_-_2016-06-21_-_Full_Test_Cycle_2.2_
M1.rc2



Tracy Graydon
Yocto Project
Build and Release



-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [yocto-autobuilder][PATCH] bin/release_scripts/release.py: Add some basic logging

2016-06-29 Thread Graydon, Tracy
This patch adds some basic logging to help find failure point should the script
barf due to lost ssh session, etc. Without it, finding where to resume is not
particularly entertaining.

Signed-off-by: Graydon, Tracy 
---
 bin/release_scripts/release.py | 43 +++---
 1 file changed, 40 insertions(+), 3 deletions(-)

diff --git a/bin/release_scripts/release.py b/bin/release_scripts/release.py
index 89f68be..b62b48c 100755
--- a/bin/release_scripts/release.py
+++ b/bin/release_scripts/release.py
@@ -10,6 +10,7 @@ __maintainer__ = "Tracy Graydon"
 __email__ = "tracy.gray...@intel.com"
 '''
 
+import logging
 import os
 import optparse
 import sys
@@ -82,6 +83,7 @@ def rejoin_thing(thing, marker):
 def fix_tarballs():
 print
 print "Repackaging poky and eclipse tarballs"
+logging.info('Repackaging poky and eclipse tarballs.')
 os.chdir(RELEASE_DIR)
 os.mkdir(TARBALL_DIR)
 os.system("mv %s/*.tar.bz2 %s" %(RELEASE_DIR, TARBALL_DIR))
@@ -90,6 +92,7 @@ def fix_tarballs():
 dirlist = get_list(TARBALL_DIR)
 for blob in dirlist:
 print "Original Tarball: %s" %blob
+logging.info('Repackaging %s' %blob)
 chunks = split_thing(blob, ".")
 filename = chunks[0]
 basename = split_thing(filename, "-")
@@ -99,6 +102,7 @@ def fix_tarballs():
 chunks[0] = new_name
 new_blob = rejoin_thing(chunks, ".")
 print "New Tarball: %s" %new_blob
+logging.info('New blob is %s' %new_blob)
 os.system("tar jxf %s" %blob)
 os.system("mv %s %s" %(filename, new_name))
 os.system("rm -rf %s/.git*" %new_name)
@@ -107,10 +111,13 @@ def fix_tarballs():
 rmtree(new_name)
 os.symlink(new_blob, blob)
 os.system("md5sum %s > %s.md5sum" %(new_blob, new_blob))
+logging.info('Successful.')
 print
+logging.info('Moving new blobs to release diri and cleaning up.')
 os.system("mv * %s" %RELEASE_DIR)
 os.chdir(RELEASE_DIR)
 os.rmdir(TARBALL_DIR)
+logging.info('Successful.')
 print
 return
 
@@ -348,9 +355,18 @@ if __name__ == '__main__':
 os.system("clear")
 print

+logfile = 'staging.log'
+try:
+os.remove(logfile)
+except OSError:
+pass
+
+
logging.basicConfig(format='%(levelname)s:%(message)s',filename=logfile,level=logging.INFO)
+
 VHOSTS = "/srv/www/vhosts"
 AB_BASE = os.path.join(VHOSTS, "autobuilder.yoctoproject.org/pub/releases")
 DL_DIR = os.path.join(VHOSTS, "downloads.yoctoproject.org/releases")
+DL_BASE = os.path.join(DL_DIR, "/releases/yocto")
 ADT_BASE = os.path.join(VHOSTS, "adtrepo.yoctoproject.org")
 
 # List of the directories we delete from all releases
@@ -453,40 +469,59 @@ if __name__ == '__main__':
 
 # For all releases:
 # 1) Rsync the rc candidate to a staging dir where all work happens
+logging.info('Start rsync.')
+print "Doing the rsync for the staging directory."
 sync_it(RC_SOURCE, RELEASE_DIR, UNLOVED)
-
+logging.info('Successful.')   
+ 
 # 2) Convert the symlinks in build-appliance dir.
 print "Converting the build-appliance symlink."
+logging.info('Converting build-appliance symlink.')
 convert_symlinks(BUILD_APP_DIR)
+logging.info('Successful.')
 
 # 3) In machines dir, convert the symlinks, delete the cruft
 print "Cleaning up the machines dirs, converting symlinks."
+logging.info('Machines dir cleanup started.')
 dirlist = get_list(MACHINES)
 for dirname in dirlist:
 dirname = os.path.join(MACHINES, dirname)
+logging.info('Converting symlinks in %s' %dirname)
 convert_symlinks(dirname)
+logging.info('Successful.')
+logging.info('Nuking cruft in %s' %dirname)
 nuke_cruft(dirname, CRUFT_LIST)
+logging.info('Successful.')
 print "Generating fresh md5sums."
+logging.info('Generating fresh md5sums.')
 gen_md5sum(MACHINES)
+logging.info('Successful.')
 
 # For major and point releases
 if REL_TYPE == "major" or REL_TYPE == "point":
 # 4) Fix up the eclipse and poky tarballs
 print "Cleaning up the eclipse, poky and other tarballs."
+logging.info('Fixing tarballs.')
 fix_tarballs()
-
+
 # 5) Publish the eclipse stuff
 print "Publishing the eclipse plugins."
+logging.info('Publishing eclipse p

[yocto] [yocto-autobuilder][PATCH] bin/release_scripts/release.py: Add some basic logging

2016-06-29 Thread Graydon, Tracy
This patch adds some basic logging to help find failure point should the script
barf due to lost ssh session, etc. Without it, finding where to resume is not
particularly entertaining.

Signed-off-by: Graydon, Tracy 
---
 bin/release_scripts/release.py | 43 +++---
 1 file changed, 40 insertions(+), 3 deletions(-)

diff --git a/bin/release_scripts/release.py b/bin/release_scripts/release.py
index 89f68be..b62b48c 100755
--- a/bin/release_scripts/release.py
+++ b/bin/release_scripts/release.py
@@ -10,6 +10,7 @@ __maintainer__ = "Tracy Graydon"
 __email__ = "tracy.gray...@intel.com"
 '''
 
+import logging
 import os
 import optparse
 import sys
@@ -82,6 +83,7 @@ def rejoin_thing(thing, marker):
 def fix_tarballs():
 print
 print "Repackaging poky and eclipse tarballs"
+logging.info('Repackaging poky and eclipse tarballs.')
 os.chdir(RELEASE_DIR)
 os.mkdir(TARBALL_DIR)
 os.system("mv %s/*.tar.bz2 %s" %(RELEASE_DIR, TARBALL_DIR))
@@ -90,6 +92,7 @@ def fix_tarballs():
 dirlist = get_list(TARBALL_DIR)
 for blob in dirlist:
 print "Original Tarball: %s" %blob
+logging.info('Repackaging %s' %blob)
 chunks = split_thing(blob, ".")
 filename = chunks[0]
 basename = split_thing(filename, "-")
@@ -99,6 +102,7 @@ def fix_tarballs():
 chunks[0] = new_name
 new_blob = rejoin_thing(chunks, ".")
 print "New Tarball: %s" %new_blob
+logging.info('New blob is %s' %new_blob)
 os.system("tar jxf %s" %blob)
 os.system("mv %s %s" %(filename, new_name))
 os.system("rm -rf %s/.git*" %new_name)
@@ -107,10 +111,13 @@ def fix_tarballs():
 rmtree(new_name)
 os.symlink(new_blob, blob)
 os.system("md5sum %s > %s.md5sum" %(new_blob, new_blob))
+logging.info('Successful.')
 print
+logging.info('Moving new blobs to release diri and cleaning up.')
 os.system("mv * %s" %RELEASE_DIR)
 os.chdir(RELEASE_DIR)
 os.rmdir(TARBALL_DIR)
+logging.info('Successful.')
 print
 return
 
@@ -348,9 +355,18 @@ if __name__ == '__main__':
 os.system("clear")
 print

+logfile = 'staging.log'
+try:
+os.remove(logfile)
+except OSError:
+pass
+
+
logging.basicConfig(format='%(levelname)s:%(message)s',filename=logfile,level=logging.INFO)
+
 VHOSTS = "/srv/www/vhosts"
 AB_BASE = os.path.join(VHOSTS, "autobuilder.yoctoproject.org/pub/releases")
 DL_DIR = os.path.join(VHOSTS, "downloads.yoctoproject.org/releases")
+DL_BASE = os.path.join(DL_DIR, "/releases/yocto")
 ADT_BASE = os.path.join(VHOSTS, "adtrepo.yoctoproject.org")
 
 # List of the directories we delete from all releases
@@ -453,40 +469,59 @@ if __name__ == '__main__':
 
 # For all releases:
 # 1) Rsync the rc candidate to a staging dir where all work happens
+logging.info('Start rsync.')
+print "Doing the rsync for the staging directory."
 sync_it(RC_SOURCE, RELEASE_DIR, UNLOVED)
-
+logging.info('Successful.')   
+ 
 # 2) Convert the symlinks in build-appliance dir.
 print "Converting the build-appliance symlink."
+logging.info('Converting build-appliance symlink.')
 convert_symlinks(BUILD_APP_DIR)
+logging.info('Successful.')
 
 # 3) In machines dir, convert the symlinks, delete the cruft
 print "Cleaning up the machines dirs, converting symlinks."
+logging.info('Machines dir cleanup started.')
 dirlist = get_list(MACHINES)
 for dirname in dirlist:
 dirname = os.path.join(MACHINES, dirname)
+logging.info('Converting symlinks in %s' %dirname)
 convert_symlinks(dirname)
+logging.info('Successful.')
+logging.info('Nuking cruft in %s' %dirname)
 nuke_cruft(dirname, CRUFT_LIST)
+logging.info('Successful.')
 print "Generating fresh md5sums."
+logging.info('Generating fresh md5sums.')
 gen_md5sum(MACHINES)
+logging.info('Successful.')
 
 # For major and point releases
 if REL_TYPE == "major" or REL_TYPE == "point":
 # 4) Fix up the eclipse and poky tarballs
 print "Cleaning up the eclipse, poky and other tarballs."
+logging.info('Fixing tarballs.')
 fix_tarballs()
-
+
 # 5) Publish the eclipse stuff
 print "Publishing the eclipse plugins."
+logging.info('Publishing eclipse p

Re: [yocto] [yocto-autobuilder][PATCH] bin/release_scripts/release.py

2016-05-24 Thread Graydon, Tracy
On 05/24/16, 4:30 PM, "Randle, William C" 
wrote:

>On Tue, 2016-05-24 at 16:06 -0700, Graydon, Tracy wrote:
>> Get rid of the extraneous DL_BASE line. It's not used and should have
>> been removed when I fixed the eclipse-plugin release path.
>> 
>> Signed-off-by: Graydon, Tracy 
>> ---
>>  bin/release_scripts/release.py | 1 -
>>  1 file changed, 1 deletion(-)
>> 
>> diff --git a/bin/release_scripts/release.py
>>b/bin/release_scripts/release.py
>> index 2b4d21c..89f68be 100755
>> --- a/bin/release_scripts/release.py
>> +++ b/bin/release_scripts/release.py
>> @@ -351,7 +351,6 @@ if __name__ == '__main__':
>>  VHOSTS = "/srv/www/vhosts"
>>  AB_BASE = os.path.join(VHOSTS,
>> "autobuilder.yoctoproject.org/pub/releases")
>>  DL_DIR = os.path.join(VHOSTS,
>>"downloads.yoctoproject.org/releases")
>> -DL_BASE = os.path.join(DL_DIR, "/releases/yocto")
>>  ADT_BASE = os.path.join(VHOSTS, "adtrepo.yoctoproject.org")
>>  
>>  # List of the directories we delete from all releases
>
>Since your previous version of this patch has not yet been applied to
>master, I
>would think it would be better to incorporate this as part of a V2 of your
>previous patch, rather than a new patch on top of an as yet unapplied
>patch.

Ah, you are right. I thought it had been pulled in already. I’ll rebase.

>
>-Bill


-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [yocto-autobuilder][PATCH] bin/release_scripts/release.py

2016-05-24 Thread Graydon, Tracy
Get rid of the extraneous DL_BASE line. It's not used and should have
been removed when I fixed the eclipse-plugin release path.

Signed-off-by: Graydon, Tracy 
---
 bin/release_scripts/release.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/bin/release_scripts/release.py b/bin/release_scripts/release.py
index 2b4d21c..89f68be 100755
--- a/bin/release_scripts/release.py
+++ b/bin/release_scripts/release.py
@@ -351,7 +351,6 @@ if __name__ == '__main__':
 VHOSTS = "/srv/www/vhosts"
 AB_BASE = os.path.join(VHOSTS, "autobuilder.yoctoproject.org/pub/releases")
 DL_DIR = os.path.join(VHOSTS, "downloads.yoctoproject.org/releases")
-DL_BASE = os.path.join(DL_DIR, "/releases/yocto")
 ADT_BASE = os.path.join(VHOSTS, "adtrepo.yoctoproject.org")
 
 # List of the directories we delete from all releases
-- 
2.7.0

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [yocto-autobuilder][PATCH] bin/release_scripts/release.py

2016-05-24 Thread Graydon, Tracy
On 05/24/16, 8:46 AM, "Randle, William C" 
wrote:

>On Mon, 2016-05-23 at 19:07 -0700, Graydon, Tracy wrote:
>> Fixed the path for the publishing of the eclipse plugins. They were
>> going to the wrong subdirectory under downloads.
>> 
>> Signed-off-by: Graydon, Tracy 
>> ---
>>  bin/release_scripts/release.py | 22 +++---
>>  1 file changed, 11 insertions(+), 11 deletions(-)
>> 
>> diff --git a/bin/release_scripts/release.py
>>b/bin/release_scripts/release.py
>> index 51cd607..3d4ce39 100755
>> --- a/bin/release_scripts/release.py
>> +++ b/bin/release_scripts/release.py
>> @@ -340,18 +340,18 @@ def publish_adt(rel_id, rel_type, opts):
>>  QEMU_TARGET = os.path.join(ADT_ROOTFS, dirname)
>>  print "QEMU_SRC: %s" %QEMU_SRC
>>  sync_it(QEMU_SRC, QEMU_TARGET, "")
>> -
>>  sync_it(IPK_DIR, ADT_IPK, "")
>>  return
>>  
>>  if __name__ == '__main__':
>> -
>> +
>>  os.system("clear")
>>  print
>> -
>> +   
>>  VHOSTS = "/srv/www/vhosts"
>>  AB_BASE = os.path.join(VHOSTS,
>> "autobuilder.yoctoproject.org/pub/releases")
>> -DL_BASE = os.path.join(VHOSTS,
>> "downloads.yoctoproject.org/releases/yocto")
>> +DL_DIR = os.path.join(VHOSTS,
>>"downloads.yoctoproject.org/releases")
>> +DL_BASE = os.path.join(DL_DIR, "/releases/yocto")
>>  ADT_BASE = os.path.join(VHOSTS, "adtrepo.yoctoproject.org")
>>  
>So is the intent is to create a new DL_BASE
>directory downloads.yoctoproject.org/releases/releases/yocto or should
>that be:
>DL_BASE = os.path.join(DL_DIR, "/yocto")
>
>-Bill
>

Argh. No, that DL_BASE line shouldn’t be there. It’s cruft. I thought I
had deleted it. Thanks for catching. I will resubmit the patch with that
fix.

-t

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [yocto-autobuilder][PATCH] bin/release_scripts/relnotes.py

2016-05-24 Thread Graydon, Tracy
Works better for all major/point releases if the poky version
isn't hardcoded to 14.0.1. Fixed that.

Signed-off-by: Graydon, Tracy 
---
 bin/release_scripts/relnotes.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/release_scripts/relnotes.py b/bin/release_scripts/relnotes.py
index 6476364..6eccbe4 100755
--- a/bin/release_scripts/relnotes.py
+++ b/bin/release_scripts/relnotes.py
@@ -132,7 +132,7 @@ if __name__ == '__main__':
 os.chdir(RELEASE_DIR)
 files = glob.glob('*.bz2')
 allfiles = filter(lambda f: os.path.isfile(f), files)
-found = filter(lambda x: '14.0.1' not in x, allfiles)
+found = filter(lambda x: POKY_VER not in x, allfiles)
 filelist = filter(lambda z: 'fsl' not in z, found)
 filelist.sort()
 for item in filelist:
-- 
2.7.0

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [yocto-autobuilder][PATCH] bin/release_scripts/release.py

2016-05-23 Thread Graydon, Tracy
Remove the step for syncing the staged release to downloads directory. We
pretty much NEVER do the sync to downloads at the time we do staging. Sync
happens much later, as a separate process. We don't need this in the release
script.

Signed-off-by: Graydon, Tracy 
---
 bin/release_scripts/release.py | 12 +---
 1 file changed, 1 insertion(+), 11 deletions(-)

diff --git a/bin/release_scripts/release.py b/bin/release_scripts/release.py
index 3d4ce39..2b4d21c 100755
--- a/bin/release_scripts/release.py
+++ b/bin/release_scripts/release.py
@@ -488,17 +488,7 @@ if __name__ == '__main__':
 print "Generating the master md5sum table."
 gen_rel_md5(RELEASE_DIR, REL_MD5_FILE)
 
-# 8) sync to downloads
-if REL_TYPE == "milestone":
-DL_DIR = os.path.join(DL_BASE, "milestones", RELEASE)
-print "DL_DIR for milestones: %s" %DL_DIR
-else:
-DL_DIR = os.path.join(DL_BASE, RELEASE)
-print "DL_DIR for point/major: %s" %DL_DIR
-print "Publishing release to downloads."
-sync_it(RELEASE_DIR, DL_DIR, "")
-
-# 9) Publish the ADT repo. The default is NOT to publish the ADT. The ADT
+# 8) Publish the ADT repo. The default is NOT to publish the ADT. The ADT
 # is deprecated as of 2.1_M1. However, we need to retain backward
 # compatability for point releases, etc. We do this step after all the 
other
 #  stuff because we want the symlinks to have been converted, extraneous
-- 
2.7.0

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [yocto-autobuilder][PATCH] bin/release_scripts/release.py

2016-05-23 Thread Graydon, Tracy

Fixed the path for the publishing of the eclipse plugins. They were
going to the wrong subdirectory under downloads.

Signed-off-by: Graydon, Tracy 
---
 bin/release_scripts/release.py | 22 +++---
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/bin/release_scripts/release.py b/bin/release_scripts/release.py
index 51cd607..3d4ce39 100755
--- a/bin/release_scripts/release.py
+++ b/bin/release_scripts/release.py
@@ -340,18 +340,18 @@ def publish_adt(rel_id, rel_type, opts):
 QEMU_TARGET = os.path.join(ADT_ROOTFS, dirname)
 print "QEMU_SRC: %s" %QEMU_SRC
 sync_it(QEMU_SRC, QEMU_TARGET, "")
-
 sync_it(IPK_DIR, ADT_IPK, "")
 return
 
 if __name__ == '__main__':
-
+
 os.system("clear")
 print
-
+   
 VHOSTS = "/srv/www/vhosts"
 AB_BASE = os.path.join(VHOSTS, "autobuilder.yoctoproject.org/pub/releases")
-DL_BASE = os.path.join(VHOSTS, "downloads.yoctoproject.org/releases/yocto")
+DL_DIR = os.path.join(VHOSTS, "downloads.yoctoproject.org/releases")
+DL_BASE = os.path.join(DL_DIR, "/releases/yocto")
 ADT_BASE = os.path.join(VHOSTS, "adtrepo.yoctoproject.org")
 
 # List of the directories we delete from all releases
@@ -380,7 +380,7 @@ if __name__ == '__main__':
   help="Use when you need to publish the ADT repo to a 
custom location. i.e. python adtcopy -b yocto-2.0_M1.rc1 -a 1.8+snaphot")
 
 (options, args) = parser.parse_args()
-
+ 
 REL_TYPE = ""
 MILESTONE = ""
 if options.poky:
@@ -427,12 +427,12 @@ if __name__ == '__main__':
 print "Build ID is a required argument."
 print "Please use -h or --help for options."
 sys.exit()
-
+   
 if not (RELEASE and RC and REL_ID and REL_TYPE):
 print "Can't determine the release type. Check your args."
 print "You gave me: %s" %options.build
 sys.exit()
-
+
 print "RC_DIR: %s" %RC_DIR
 print "RELEASE: %s" %RELEASE
 print "RC: %s" %RC
@@ -442,7 +442,7 @@ if __name__ == '__main__':
 print "MILESTONE: %s" %MILESTONE
 print
 
-PLUGIN_DIR = os.path.join(DL_BASE, "eclipse-plugin", REL_ID)
+PLUGIN_DIR = os.path.join(DL_DIR, "eclipse-plugin", REL_ID)
 RELEASE_DIR = os.path.join(AB_BASE, RELEASE)
 MACHINES = os.path.join(RELEASE_DIR, "machines")
 BSP_DIR = os.path.join(RELEASE_DIR, 'bsptarballs')
@@ -455,7 +455,7 @@ if __name__ == '__main__':
 # For all releases:
 # 1) Rsync the rc candidate to a staging dir where all work happens
 sync_it(RC_SOURCE, RELEASE_DIR, UNLOVED)
-
+
 # 2) Convert the symlinks in build-appliance dir.
 print "Converting the build-appliance symlink."
 convert_symlinks(BUILD_APP_DIR)
@@ -469,7 +469,7 @@ if __name__ == '__main__':
 nuke_cruft(dirname, CRUFT_LIST)
 print "Generating fresh md5sums."
 gen_md5sum(MACHINES)
-
+
 # For major and point releases
 if REL_TYPE == "major" or REL_TYPE == "point":
 # 4) Fix up the eclipse and poky tarballs
@@ -487,7 +487,7 @@ if __name__ == '__main__':
 # 7) Generate the master md5sum file for the release (for all releases)
 print "Generating the master md5sum table."
 gen_rel_md5(RELEASE_DIR, REL_MD5_FILE)
-
+
 # 8) sync to downloads
 if REL_TYPE == "milestone":
 DL_DIR = os.path.join(DL_BASE, "milestones", RELEASE)
-- 
2.7.0

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [yocto-autobuilder][PATCH 2/2] bin/release_scripts/release.py

2016-05-03 Thread Graydon, Tracy
Remove the step for syncing the staged release to downloads directory. We
pretty much NEVER do the sync to downloads at the time we do staging. Sync
happens much later, as a separate process. We don't need this in the release
script.

Signed-off-by: Graydon, Tracy 
---
 bin/release_scripts/release.py | 12 +---
 1 file changed, 1 insertion(+), 11 deletions(-)

diff --git a/bin/release_scripts/release.py b/bin/release_scripts/release.py
index cae6fe7..cfd65cd 100755
--- a/bin/release_scripts/release.py
+++ b/bin/release_scripts/release.py
@@ -489,17 +489,7 @@ if __name__ == '__main__':
 print "Generating the master md5sum table."
 gen_rel_md5(RELEASE_DIR, REL_MD5_FILE)
 
-# 8) sync to downloads
-if REL_TYPE == "milestone":
-DL_DIR = os.path.join(DL_BASE, "milestones", RELEASE)
-print "DL_DIR for milestones: %s" %DL_DIR
-else:
-DL_DIR = os.path.join(DL_BASE, RELEASE)
-print "DL_DIR for point/major: %s" %DL_DIR
-print "Publishing release to downloads."
-sync_it(RELEASE_DIR, DL_DIR, "")
-
-# 9) Publish the ADT repo. The default is NOT to publish the ADT. The ADT
+# 8) Publish the ADT repo. The default is NOT to publish the ADT. The ADT
 # is deprecated as of 2.1_M1. However, we need to retain backward
 # compatability for point releases, etc. We do this step after all the 
other
 #  stuff because we want the symlinks to have been converted, extraneous
-- 
2.7.0

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [yocto-autobuilder][PATCH 1/2] bin/release_scripts/release.py

2016-05-03 Thread Graydon, Tracy
Fixed the path for the publishing of the eclipse plugins. They were
going to the wrong subdirectory under downloads.

Signed-off-by: Graydon, Tracy 
---
 bin/release_scripts/release.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/bin/release_scripts/release.py b/bin/release_scripts/release.py
index be67f9d..cae6fe7 100755
--- a/bin/release_scripts/release.py
+++ b/bin/release_scripts/release.py
@@ -351,7 +351,8 @@ if __name__ == '__main__':

 VHOSTS = "/srv/www/vhosts"
 AB_BASE = os.path.join(VHOSTS, "autobuilder.yoctoproject.org/pub/releases")
-DL_BASE = os.path.join(VHOSTS, "downloads.yoctoproject.org/releases/yocto")
+DL_DIR = os.path.join(VHOSTS, "downloads.yoctoproject.org/releases")
+DL_BASE = os.path.join(DL_DIR, "/releases/yocto")
 ADT_BASE = os.path.join(VHOSTS, "adtrepo.yoctoproject.org")
 
 # List of the directories we delete from all releases
@@ -442,7 +443,7 @@ if __name__ == '__main__':
 print "MILESTONE: %s" %MILESTONE
 print
 
-PLUGIN_DIR = os.path.join(DL_BASE, "eclipse-plugin", REL_ID)
+PLUGIN_DIR = os.path.join(DL_DIR, "eclipse-plugin", REL_ID)
 RELEASE_DIR = os.path.join(AB_BASE, RELEASE)
 MACHINES = os.path.join(RELEASE_DIR, "machines")
 BSP_DIR = os.path.join(RELEASE_DIR, 'bsptarballs')
-- 
2.7.0

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [yocto-autobuilder][PATCH] bin/release_scripts/release.py

2016-05-03 Thread Graydon, Tracy
This patch removes the BSP creation for the p1022ds and the mpc8315e-rdb
platforms.

Signed-off-by: Graydon, Tracy 
---
 bin/release_scripts/release.py | 17 -
 1 file changed, 4 insertions(+), 13 deletions(-)

diff --git a/bin/release_scripts/release.py b/bin/release_scripts/release.py
index 158c44a..be67f9d 100755
--- a/bin/release_scripts/release.py
+++ b/bin/release_scripts/release.py
@@ -244,18 +244,9 @@ def nuke_cruft(dirname, ext_list):
 qemu_dir = os.path.join(MACHINES, dirname, dir)
 nuke_cruft(qemu_dir, CRUFT_LIST)
 else:
-foo = dirname.find("p1022")
-if foo == -1:
-# NOT P1022ds
-for ext in ext_list:
-print "Deleting %s files" %ext
-os.system("rm -f %s/%s" %(dirname, ext))
-else:
-# IS P1022ds
-for ext in ext_list:
-if ext != "*.tar.gz":
-print "Deleting %s files" %ext
-os.system("rm -f %s/%s" %(dirname, ext))
+for ext in ext_list:
+print "Deleting %s files" %ext
+os.system("rm -f %s/%s" %(dirname, ext))
 print
 return
 
@@ -368,7 +359,7 @@ if __name__ == '__main__':
 # List of the files in machines directories that we delete from all 
releases
 CRUFT_LIST = ['*.md5sum', '*.tar.gz', '*.iso']
 # List of the platforms for which we want to generate BSP tarballs. Major 
and point releases.
-BSP_LIST = ['beaglebone', 'edgerouter', 'genericx86', 'genericx86-64', 
'mpc8315e-rdb', 'p1022ds']
+BSP_LIST = ['beaglebone', 'edgerouter', 'genericx86', 'genericx86-64']
 # List of files we do not want to include in the BSP tarballs.
 BSP_JUNK = ['*.manifest', '*.tar.bz2', '*.tgz', '*.iso', '*.md5sum', 
'*.tar.gz', '*-dev-*', '*-sdk-*']
 
-- 
2.7.0

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [ANNOUNCEMENT] Yocto Project 2.1 (krogoth 15.0.0) Released

2016-04-29 Thread Graydon, Tracy
Hello,

The latest release of the Yocto Project 2.1 (krogoth-15.0.0) is now
available
for download at:

http://downloads.yoctoproject.org/releases/yocto/yocto-2.1/poky-krogoth-15.
0.0.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-2.1/poky-krogoth-15.0.0.tar.bz2

A gpg signed version of these release notes is available at:

http://downloads.yoctoproject.org/releases/yocto/yocto-2.1/RELEASENOTES

Full pass test report is available at:

https://wiki.yoctoproject.org/wiki/2.1_QA_Status

Thanks go out to everyone for all their hard work during this release!

Sincerely,

Tracy Graydon
Yocto Project Build and Release



---
yocto-2.1 Errata
---

Release Name: eclipse-poky-kepler-krogoth-15.0.0

Branch: kepler/krogoth
Tag: kepler/krogoth-15.0.0
Hash: cf60ac293629fc8ecd6c4eb3709a6f334b499d0c
md5: 929b8cfb1250ccc4b53c252c4b30ca9e
Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-2.1/eclipse-poky-kep
ler-krogoth-15.0.0.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-2.1/eclipse-poky-kepler-krogoth
-15.0.0.tar.bz

Release Name: eclipse-poky-luna-krogoth-15.0.0
Branch: luna/krogoth
Tag: luna/krogoth-15.0.0
Hash: 45aa5c77523bdf051d548fff4305382942db2ebb
md5: 84d8cc8468a3f3618a06f795d14bca37
Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-2.1/eclipse-poky-lun
a-krogoth-15.0.0.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-2.1/eclipse-poky-luna-krogoth-1
5.0.0.tar.bz2

Release Name: eclipse-poky-mars-krogoth-15.0.0
Branch: mars/krogoth
Tag: mars/krogoth-15.0.0
Hash: 1d179ddcbd1983bf7bcfe98efdcbb186bdccca4f
md5: 1790a188b98c16fc95440c1e9799a369
Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-2.1/eclipse-poky-mar
s-krogoth-15.0.0.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-2.1/eclipse-poky-mars-krogoth-1
5.0.0.tar.bz2

Release Name: meta-qt3-krogoth-15.0.0
Branch: krogoth
Tag: krogoth-15.0.0
Hash: 7d958b928a4a38a186746fabbc0d8169dd8bb3a6
md5: c7c07b46b2e8f68085fca50c6efe09c1
Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-2.1/meta-qt3-krogoth
-15.0.0.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-2.1/meta-qt3-krogoth-15.0.0.tar
.bz2

Release Name: meta-qt4-krogoth-15.0.0
Branch: krogoth
Tag: krogoth-15.0.0
Hash: 4058b0773381f894d915ea3dfac5fe052d82a9a7
md5: 4e96e502beb7158543e41d59a9e91c1b
Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-2.1/meta-qt4-krogoth
-15.0.0.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-2.1/meta-qt4-krogoth-15.0.0.tar
.bz

Release Name: poky-krogoth-15.0.0
Branch: krogoth
Tag: krogoth-15.0.0
Hash: 6c1c01392d91f512e2949ad1d57a75a8077478ba
md5: cd5c9f6e03228d61b372cc71eb5c71eb
Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-2.1/poky-krogoth-15.
0.0.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-2.1/poky-krogoth-15.0.0.tar.bz2


New Features / Enhancements


* Linux kernel 4.4 (and 4.1 LTSI)
* gcc 5.3
* glibc 2.23
* udev upgraded to eudev 3.1.5
* Formfactor defaults changed to assume keyboard/pointer not touchscreen
(See migration guide)
* Full support for building with the musl size-optimised C library
* Added full support for GObject introspection (where QEMU is available)
* "Uninative" feature to allow shared state to be used across different
host distributions more effectively (used by default in poky)
* Added support for ipk package signing
* Added support for recursive release note easter eggs
* Added ability to sign shared state artifacts
* Added npm module fetcher to BitBake and corresponding support class in
OE-Core (requires separate nodejs recipe)
* Added standard inc file to disable most static library building (used by
default in poky)
* Troublesome "-e MAKEFLAGS=" removed from default EXTRA_OEMAKE
* libexecdir reverted to ${prefix}/libexec
* Toaster Improvements:
* Image customization: Toaster now allows you to create you own custom
images, by modifying the package content of existing ones.
  Toaster provides dependency information for easy package addition
and removal, builds your custom images, and generates a recipe
  (.bb) file that you can download.
* Isolated project configurations: Toaster now creates a separate
build directory per project, avoiding build failures caused by
  the reuse of intermediate build artifacts. This provides cleaner
configurations that can be easily shared, and improves build
  reliability. Shared state artifacts and downloads are still shared
by default but this can be configured per project if desired.
* Cancel builds from the Toaster web interface: you can now cancel the
builds you start from the Toaster web interface with a single
  click, without having to switch to the command line interface.
* Improved interaction with BitBake: we have removed the need for the
BitBake observer process, and we run the BitBake server only
  during th

[yocto] [yocto-autobuilder][PATCH] bin/release_scripts/bsp.py

2016-03-22 Thread Graydon, Tracy
[Yocto #6287]

This is part of the work for Yocto #6287. The release.py script will generate
the bsps for a release. This script is essentially a stand-alone version of
the bsp generation from release.py. This commit breaks that functionality out,
with additional work to come for the legal compliance part.

Signed-off-by: Graydon, Tracy 
---
 bin/release_scripts/bsp.py | 317 +
 1 file changed, 317 insertions(+)
 create mode 100755 bin/release_scripts/bsp.py

diff --git a/bin/release_scripts/bsp.py b/bin/release_scripts/bsp.py
new file mode 100755
index 000..7cc3a15
--- /dev/null
+++ b/bin/release_scripts/bsp.py
@@ -0,0 +1,317 @@
+'''
+Created on Mar 20, 2016
+
+__author__ = "Tracy Graydon"
+__copyright__ = "Copyright 2016, Intel Corp."
+__credits__ = ["Tracy Graydon"]
+__license__ = "GPL"
+__version__ = "2.0"
+__maintainer__ = "Tracy Graydon"
+__email__ = "tracy.gray...@intel.com"
+'''
+
+import os
+import optparse
+import sys
+import hashlib
+import glob
+import os.path
+import shutil
+from shutil import rmtree, copyfile
+from subprocess import call
+
+def sanity_check(source, target):
+if not os.path.exists(source):
+   print
+   print "SOURCE dir %s does NOT EXIST." %source
+   print
+   sys.exit()
+if not os.listdir(source):
+   print
+   print "SOURCE dir %s is EMPTY" %source
+   print
+if os.path.exists(target):
+   print
+   print "I can't let you do it, Jim. The TARGET directory %s exists." 
%target
+   print
+   sys.exit()
+return
+
+def purge_unloved():
+print
+print "Purging unwanted directories..."
+for target in UNLOVED:
+target = target.rstrip()
+print "Deleting: %s/%s" %(RELEASE_DIR, target)
+os.system('rm -rf %s/%s' %(RELEASE_DIR, target))
+return
+
+def get_list(dirname):
+dirlist = os.listdir(dirname)
+dirlist.sort()
+return dirlist
+
+def split_thing(thing, marker):
+filebits = thing.split(marker)
+return filebits
+
+def rejoin_thing(thing, marker):
+filebits = marker.join(thing)
+return filebits
+
+def get_md5sum(path, blocksize = 4096):
+f = open(path, 'rb')
+md5sum = hashlib.md5()
+buffer = f.read(blocksize)
+while len(buffer) > 0:
+md5sum.update(buffer)
+buffer = f.read(blocksize)
+f.close()
+return md5sum.hexdigest()
+
+def convert_symlinks(dirname):
+thing = os.path.split(dirname)[1]
+if thing == "qemu":
+dirlist = get_list(dirname)
+for dir in dirlist:
+qemu_dir = os.path.join(MACHINES, dirname, dir)
+print "Converting symlinks in %s" %qemu_dir
+convert_symlinks(qemu_dir)
+else:
+print "Converting symlinks in %s" %dirname
+link_list = []
+for root, dirs, files in os.walk(dirname, topdown=True):
+for name in files:
+filename = (os.path.join(root, name))
+if os.path.islink(filename):
+src_file = os.path.realpath(filename)
+link_list.append([filename, src_file])
+for line in link_list:
+os.remove(line[0])
+try:
+   copyfile(line[1], line[0])
+except IOError:
+print "Error: %s is missing or isn\'t a real file" %line[1]
+else:
+print line[0]
+for line in link_list:
+if os.path.exists(line[1]):
+   os.remove(line[1])
+print
+return
+
+def find_dupes(dirname, platform):
+print "\nLooking for duplicate files in %s" %dirname
+file_list = []
+md5sum_list = []
+for root, dirs, files in os.walk(dirname, topdown=True):
+for name in files:
+filename = (os.path.join(root, name))
+md5sum = get_md5sum(filename)
+file_list.append((filename, md5sum))
+md5sum_list.append(md5sum)
+s=set(md5sum_list)
+d=[]
+for x in file_list:
+if x[1] in s:
+s.remove(x[1])
+else:
+d.append(x[1])
+for dupe in d:
+for tup in file_list:
+if tup[1] == dupe:
+dupe_name = split_thing(tup[0],"/")
+filename = dupe_name[-1]
+if filename.find(platform) == -1:
+print "Deleting %s" %tup[0]
+os.remove(tup[0])
+return
+
+def make_bsps(bsp_list, bsp_dir):
+print "\nCreating bsps.\n"
+if not os.path.exists(bsp_dir):
+os.mkdir(bsp_dir)
+else:
+print "BSP tarball dir exists! Skipping BSP creation."
+return
+poky_blob = os.path.join(RELEASE_DIR, POKY_TARBALL)
+blo

[yocto] [yocto-autobuilder][PATCH] bin/release-scripts/relnotes.py

2016-03-10 Thread Graydon, Tracy
Fixed a hardcoded statement that had "14.0.1" instead of the correct POKY_VER
variable.

Signed-off-by: Graydon, Tracy 
---
 bin/release_scripts/relnotes.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/release_scripts/relnotes.py b/bin/release_scripts/relnotes.py
index 3c32e28..46b79dd0 100755
--- a/bin/release_scripts/relnotes.py
+++ b/bin/release_scripts/relnotes.py
@@ -132,7 +132,7 @@ if __name__ == '__main__':
 os.chdir(RELEASE_DIR)
 files = glob.glob('*.bz2')
 allfiles = filter(lambda f: os.path.isfile(f), files)
-found = filter(lambda x: '14.0.1' not in x, allfiles)
+found = filter(lambda x: POKY_VER not in x, allfiles)
 filelist = filter(lambda z: 'fsl' not in z, found)
 filelist.sort()
 for item in filelist:
-- 
2.7.0

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [ANNOUNCEMENT] Yocto Project 2.0.1 (jethro 14.0.1) Released

2016-03-10 Thread Graydon, Tracy
Hello,

The latest release of the Yocto Project 2.0.1 (jethro-14.0.1) is now
available
for download at:

http://downloads.yoctoproject.org/releases/yocto/yocto-2.0.1/poky-jethro-14
.0.1.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-2.0.1/poky-jethro-14.0.1.tar.bz
2

A gpg signed version of these release notes is available at:

http://downloads.yoctoproject.org/releases/yocto/yocto-2.0.1/RELEASENOTES

Full pass test report is available at:

https://wiki.yoctoproject.org/wiki/WW09_-_2016-02-24_-_Full_Pass_2.0.1.rc7

Thanks to everyone for your contributions to this release!

Tracy Graydon
Yocto Project
Build and Release


---
yocto-2.0.1 Errata
-

Release Name: eclipse-poky-kepler-jethro-14.0.1
Branch: kepler/jethro
Tag: kepler/jethro-14.0.1
Hash: cf60ac293629fc8ecd6c4eb3709a6f334b499d0c
md5: 4b2f259ac8a6d1a9e3711852c279243c
Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-2.0.1/eclipse-poky-k
epler-jethro-14.0.1.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-2.0.1/eclipse-poky-kepler-jethr
o-14.0.1.tar.bz2

Release Name: eclipse-poky-luna-jethro-14.0.1
Branch: luna/jethro
Tag: luna/jethro-14.0.1
Hash: 45aa5c77523bdf051d548fff4305382942db2ebb
md5: 92de61c57d9c636f635b4299a6e72e46
Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-2.0.1/eclipse-poky-l
una-jethro-14.0.1.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-2.0.1/eclipse-poky-luna-jethro-
14.0.1.tar.bz2

Release Name: eclipse-poky-mars-jethro-14.0.1
Branch: mars/jethro
Tag: mars/jethro-14.0.1
Hash: 1d179ddcbd1983bf7bcfe98efdcbb186bdccca4f
md5: bae837d0eb83d6c8c411a591b46a33f2
Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-2.0.1/eclipse-poky-m
ars-jethro-14.0.1.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-2.0.1/eclipse-poky-mars-jethro-
14.0.1.tar.bz2

Release Name: meta-qt3-jethro-14.0.1
Branch: jethro
Tag: jethro-14.0.1
Hash: b08996efbfb3b26e62b608f34ebf5e671b36ec61
md5: 035ed8c8eb945ba1390f2cd3ad7c8608
Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-2.0.1/meta-qt3-jethr
o-14.0.1.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-2.0.1/meta-qt3-jethro-14.0.1.ta
r.bz2

Release Name: poky-jethro-14.0.1
Branch: jethro
Tag: jethro-14.0.1
Hash: b1f23d1254682866236bfaeb843c0d8aa332efc2
md5: 99b75f053fbce4a51572e01eedf29b98
Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-2.0.1/poky-jethro-14
.0.1.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-2.0.1/poky-jethro-14.0.1.tar.bz
2



 Known Issues

- Yocto Bug #: 8553: qemu-native to build on Ubuntu 15.10
  https://bugzilla.yoctoproject.org/show_bug.cgi?id=8553

  Building a core-image-minimal fails with error:

  | ERROR: User requested feature sdl
  |configure was not able to find it.
  |Install SDL devel

- Fixed on Jethro branch.
  CVE-2016-0800 SSL/TLS: Cross-protocol attack on TLS using SSLv2 (DROWN)
  openssl: Security fix CVE-2016-0800.
  https://www.openssl.org/news/secadv/20160301.txt
  Fixed on Jethro branch.
  
http://git.yoctoproject.org/cgit.cgi/poky/commit/?h=jethro&id=05c31507da0f0
46bc9fb113ddb0c69089ffa5c4e
  (From OE-Core rev: c99ed6b73f397906475c09323b03b53deb83de55)


Security Fixes

qemu: Security fix CVE-2016-2198
qemu: Security fix CVE-2016-2197
libgcrypt: Security fix CVE-2015-7511
uclibc: Security fix CVE-2016-2225
uclibc: Security fix CVE-2016-2224
libbsd: Security fix CVE-2016-2090
glibc: Security fix CVE-2015-7547
curl: Secuirty fix CVE-2016-0755
curl: Security fix CVE-2016-0754
nettle: Security fix CVE-2015-8804
nettle: Security fix CVE-2015-8803 and CVE-2015-8805
socat: Security fix CVE-2016-2217
libpng: Security fix CVE-2015-8472
libpng: Security fix CVE-2015-8126
foomatic-filters: Security fixes CVE-2015-8327
foomatic-filters: Security fix CVE-2015-8560
linux-yocto: Update SRCREV for genericx86* for 4.1, fixes CVE-2016-0728
linux-yocto: Update SRCREV for genericx86* for 3.19, fixes CVE-2016-0728
linux-yocto: Update SRCREV for genericx86* for 3.14, fixes CVE-2016-0728
linux-yocto: Update SRCREV for qemux86* for 4.1, fixes CVE-2016-0728
linux-yocto: Update SRCREV for qemux86* for 3.19, fixes CVE-2016-0728
linux-yocto: Update SRCREV for qemux86* for 3.14, fixes CVE-2016-0728
git: Security fix CVE-2015-7545
grub: Security fix CVE-2015-8370
gdk-pixbuf: Security fix CVE-2015-7674
librsvg: Security fix CVE-2015-7558
bind: Security fix CVE-2015-8461
bind: Security fix CVE-2015-8000
libxml2: Security fix CVE-2015-8710
libxml2: Security fix CVE-2015-8241
dpkg: Security fix CVE-2015-0860
qemu: Security fix CVE-2015-7295
qemu: Security fix CVE-2016-1568
qemu: Security fix CVE-2015-8345
qemu: Security fix CVE-2015-7512
qemu: Security fix CVE-2015-7504
qemu: Security fix CVE-2015-8504
openssl: Security fix CVE-2016-0701
openssl: Security fix CVE-2015-3197
tiff: Security fix CVE-2015-8784
tiff: Security fix CVE-2015-8781
b

[yocto] [yocto-autbuilder][PATCH] bin/release_scripts/relnotes.py

2016-03-02 Thread Graydon, Tracy
This is the python version of the relnotes.sh script. It will generate the
release+notes template for major and point releases, including the release
errata, headers for known issues and new features/enhancements, and, most
importantly, the CVE and General fixes for the release.

Signed-off-by: Graydon, Tracy 
---
 bin/release_scripts/relnotes.py | 195 
 1 file changed, 195 insertions(+)
 create mode 100755 bin/release_scripts/relnotes.py

diff --git a/bin/release_scripts/relnotes.py b/bin/release_scripts/relnotes.py
new file mode 100755
index 000..3c32e28
--- /dev/null
+++ b/bin/release_scripts/relnotes.py
@@ -0,0 +1,195 @@
+'''
+Created on Feb 22, 2016
+
+__author__ = "Tracy Graydon"
+__copyright__ = "Copyright 2016, Intel Corp."
+__credits__ = ["Tracy Graydon"]
+__license__ = "GPL"
+__version__ = "2.0"
+__maintainer__ = "Tracy Graydon"
+__email__ = "tracy.gray...@intel.com"
+'''
+
+import os
+import optparse
+import sys
+import hashlib
+import glob
+import os.path
+import shutil
+from sh import git
+from shutil import rmtree, copyfile
+from subprocess import call, Popen
+
+def split_thing(thing, marker):
+filebits = thing.split(marker)
+return filebits
+
+def rejoin_thing(thing, marker):
+filebits = marker.join(thing)
+return filebits
+
+def release_type(build_id):
+build_id = build_id.lower()
+RC = split_thing(build_id, ".")[-1]
+foo = RC.find("rc")
+if foo == -1:
+print "%s doesn't appear to be a valid RC candidate. Check your args." 
%build_id
+print "Please use -h or --help for options."
+sys.exit()
+chunks = split_thing(build_id, ".") # i.e. split yocto-2.1_m1.rc1
+chunks.pop()
+chunks[1] = chunks[1].upper()
+RELEASE = rejoin_thing(chunks, ".")  # i.e. yocto-2.1_m1
+REL_ID = split_thing(RELEASE, "-")[-1].upper()
+RC_DIR = rejoin_thing([RELEASE, RC], ".")
+relstring = split_thing(REL_ID, "_")
+if len(relstring) == 1:
+thing = split_thing(relstring[0], ".")
+if len(thing) == 3:
+REL_TYPE = "point"
+elif len(thing) == 2:
+REL_TYPE = "major"
+else:
+print "We don't generate release notes for Milestone releases."
+sys.exit()
+
+if not (RELEASE and RC and REL_ID and REL_TYPE):
+print "Can't determine the release type. Check your args."
+print "You gave me: %s" %options.build
+sys.exit()
+
+var_dict = {'RC': RC, 'RELEASE': RELEASE, 'REL_ID': REL_ID, 'RC_DIR': 
RC_DIR, 'REL_TYPE': REL_TYPE};
+return var_dict
+
+
+if __name__ == '__main__':
+
+os.system("clear")
+print
+   
+VHOSTS = "/srv/www/vhosts"
+AB_BASE = os.path.join(VHOSTS, "autobuilder.yoctoproject.org/pub/releases")
+DL_BASE = os.path.join(VHOSTS, "downloads.yoctoproject.org/releases/yocto")
+
+parser = optparse.OptionParser()
+parser.add_option("-i", "--build-id",
+  type="string", dest="build",
+  help="Required. Release candidate name including rc#. 
i.e. yocto-2.0.rc1, yocto-2.1_M1.rc3, etc.")
+parser.add_option("-b", "--branch",
+  type="string", dest="branch",
+  help="Required for Major and Point releases. i.e. daisy, 
fido, jethro, etc. We don't do relnotes for milestones.")
+parser.add_option("-p", "--poky-ver",
+  type="string", dest="poky",
+  help="Required for Major and Point releases. i.e. 
14.0.0. We don't do relnotes for milestones.")
+parser.add_option("-r", "--revisions",
+  type="string", dest="revs",
+  help="Required. Specify the revision range to use for 
the git log. i.e. yocto-2.0.1 would use yocto-2.0..HEAD. ")
+
+(options, args) = parser.parse_args()
+ 
+if not (options.build and options.branch and options.poky and 
options.revs):
+print "You must specify the RC, branch, poky version, and revision 
range."
+print "Please use -h or --help for options."
+sys.exit()
+
+REL_TYPE = ""
+POKY_VER = options.poky
+BRANCH = options.branch
+REVISIONS = options.revs
+VARS = release_type(options.build)
+RC = VARS['RC']
+RELEASE = VARS['RELEASE']
+REL_ID = VARS['REL_ID']
+RC_DIR = VARS['RC_DIR&

[yocto] [ANNOUNCEMENT] Milestone 2 for Yocto Project 2.1 now available.

2016-02-26 Thread Graydon, Tracy
The second milestone release for Yocto Project 2.1 is available for
download now.

http://downloads.yoctoproject.org/releases/yocto/milestones/yocto-2.1_M2/

Thank you to everyone for your contributions.

eclipse-poky/kepler-master cf60ac293629fc8ecd6c4eb3709a6f334b499d0c
eclipse-poky/luna-master 45aa5c77523bdf051d548fff4305382942db2ebb
eclipse-poky/mars-master 1d179ddcbd1983bf7bcfe98efdcbb186bdccca4f
meta-qt3 7d958b928a4a38a186746fabbc0d8169dd8bb3a6
meta-qt4 4058b0773381f894d915ea3dfac5fe052d82a9a7
poky 152914f2983c5d69001de1d46ce99547fa1e75fe

Test report at:

https://wiki.yoctoproject.org/wiki/WW08_-_2016-02-17_-_Full_Pass_2.1_M2.rc3


Tracy Graydon
Yocto Project
Build and Release




-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [ANNOUNCEMENT] Milestone 2 for Yocto Project 2.1 now available.

2016-02-25 Thread Graydon, Tracy
The second milestone release for Yocto Project 2.1 is available for
download now.

http://downloads.yoctoproject.org/releases/yocto/milestones/yocto-2.1_M2/

Thank you to everyone for your contributions.

eclipse-poky/kepler-master cf60ac293629fc8ecd6c4eb3709a6f334b499d0c
eclipse-poky/luna-master 45aa5c77523bdf051d548fff4305382942db2ebb
eclipse-poky/mars-master 1d179ddcbd1983bf7bcfe98efdcbb186bdccca4f
meta-qt3 7d958b928a4a38a186746fabbc0d8169dd8bb3a6
meta-qt4 4058b0773381f894d915ea3dfac5fe052d82a9a7
poky 152914f2983c5d69001de1d46ce99547fa1e75fe

Test report at:

https://wiki.yoctoproject.org/wiki/WW08_-_2016-02-17_-_Full_Pass_2.1_M2.rc3


Tracy Graydon
Yocto Project
Build and Release

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [yocto-autobuilder][PATCH] bin/release_scripts/release.py: fix milestone staging

2016-02-25 Thread Graydon, Tracy
From: Tracy Graydon 

Milestones were going into the top level of the download release directory
instead of the milestones subdirectory. Added a check for milestone releases
and now adjusts the path accordingly. Also fixed an indent issue which was
causing the master md5sum table to be generated for milestones.

Signed-off-by: Tracy Graydon 
---
 bin/release_scripts/release.py | 19 ---
 1 file changed, 12 insertions(+), 7 deletions(-)

diff --git a/bin/release_scripts/release.py b/bin/release_scripts/release.py
index 4c71e31..158c44a 100755
--- a/bin/release_scripts/release.py
+++ b/bin/release_scripts/release.py
@@ -453,7 +453,6 @@ if __name__ == '__main__':
 
 PLUGIN_DIR = os.path.join(DL_BASE, "eclipse-plugin", REL_ID)
 RELEASE_DIR = os.path.join(AB_BASE, RELEASE)
-DL_DIR = os.path.join(DL_BASE, RELEASE)
 MACHINES = os.path.join(RELEASE_DIR, "machines")
 BSP_DIR = os.path.join(RELEASE_DIR, 'bsptarballs')
 TARBALL_DIR = os.path.join(RELEASE_DIR, "tarballs")
@@ -494,18 +493,24 @@ if __name__ == '__main__':
 print "Generating the BSP tarballs."
 make_bsps(BSP_LIST, BSP_DIR)
 
-# 7) Generate the master md5sum file for the release (for all releases)
-print "Generating the master md5sum table."
-gen_rel_md5(RELEASE_DIR, REL_MD5_FILE)
+# 7) Generate the master md5sum file for the release (for all releases)
+print "Generating the master md5sum table."
+gen_rel_md5(RELEASE_DIR, REL_MD5_FILE)
 
 # 8) sync to downloads
+if REL_TYPE == "milestone":
+DL_DIR = os.path.join(DL_BASE, "milestones", RELEASE)
+print "DL_DIR for milestones: %s" %DL_DIR
+else:
+DL_DIR = os.path.join(DL_BASE, RELEASE)
+print "DL_DIR for point/major: %s" %DL_DIR
 print "Publishing release to downloads."
 sync_it(RELEASE_DIR, DL_DIR, "")
 
-# 9) Publish the ADT repo. The default is NOT to publish the ADT. The ADT 
-# is deprecated as of 2.1_M1. However, we need to retain backward 
+# 9) Publish the ADT repo. The default is NOT to publish the ADT. The ADT
+# is deprecated as of 2.1_M1. However, we need to retain backward
 # compatability for point releases, etc. We do this step after all the 
other
-#  stuff because we want the symlinks to have been converted, extraneous 
+#  stuff because we want the symlinks to have been converted, extraneous
 # files deleted, and md5sums generated.
 #
 if options.pub_adt:
-- 
2.4.3

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [yocto-autobuilder][PATCH 4/6] bin/release_scripts/release.py: add ADT publishing feature to release script

2016-02-23 Thread Graydon, Tracy
This is part of the release automation work, related to Yocto bug #8942. This
patch adds the ADT repo publishing functionality for backward compatability
for point releases, etc. Not used going forward since we have moved to the
eSDK instead, so this defaults to NOT publishing the ADT repo. A flag has
been added to cue publishing, along with an option to provide a custom
target direactory name for oddball cases where release numbering may not
be linear. i.e There was no 1.9 release, so ADT repo for 2.0_M1 would have
actually been 1.8+snapshot. This allows for those corner cases.

Signed-off-by: Graydon, Tracy 
---
 bin/release_scripts/release.py | 58 +++---
 1 file changed, 54 insertions(+), 4 deletions(-)

diff --git a/bin/release_scripts/release.py b/bin/release_scripts/release.py
index c332718..83c198e 100755
--- a/bin/release_scripts/release.py
+++ b/bin/release_scripts/release.py
@@ -317,6 +317,37 @@ def gen_rel_md5(dirname, md5_file):
 f.close()
 return
 
+def publish_adt(rel_id, rel_type, opts):
+if opts:
+ADT_DIR = os.path.join(ADT_BASE, opts)
+else:
+if rel_type == "milestone":
+chunks = split_thing(rel_id, "_")
+id_thing = float(chunks[0])
+id_thing = id_thing - 0.1
+rel_id = str(id_thing) + "+" + "snapshot"
+ADT_DIR = os.path.join(ADT_BASE, rel_id)
+print "ADT_DIR: %s" %ADT_DIR
+if os.path.exists(ADT_DIR):
+print "ADT_DIR %s EXISTS! Refusing to clobber!" %ADT_DIR
+sys.exit()
+else:
+ADT_ROOTFS = os.path.join(ADT_DIR, "rootfs")
+ADT_IPK = os.path.join(ADT_DIR, "adt-ipk")
+QEMU_DIR = os.path.join(MACHINES, "qemu")
+IPK_DIR = os.path.join(RELEASE_DIR, "ipk")
+os.mkdir(ADT_DIR)
+os.mkdir(ADT_ROOTFS)
+dirlist = get_list(QEMU_DIR)
+
+for dirname in dirlist:
+QEMU_SRC = os.path.join(QEMU_DIR, dirname)
+QEMU_TARGET = os.path.join(ADT_ROOTFS, dirname)
+print "QEMU_SRC: %s" %QEMU_SRC
+sync_it(QEMU_SRC, QEMU_TARGET, "")
+
+sync_it(IPK_DIR, ADT_IPK, "")
+return
 
 if __name__ == '__main__':
 
@@ -326,6 +357,7 @@ if __name__ == '__main__':
 VHOSTS = "/srv/www/vhosts"
 AB_BASE = os.path.join(VHOSTS, "autobuilder.yoctoproject.org/pub/releases")
 DL_BASE = os.path.join(VHOSTS, "downloads.yoctoproject.org/releases")
+ADT_BASE = os.path.join(VHOSTS, "adtrepo.yoctoproject.org")
 
 # List of the directories we delete from all releases
 UNLOVED = ['rpm', 'deb', 'ptest', 'adt-installer-QA']
@@ -346,7 +378,12 @@ if __name__ == '__main__':
 parser.add_option("-p", "--poky-ver",
   type="string", dest="poky",
   help="Required for Major and Point releases. i.e. 
14.0.0")
- 
+parser.add_option("-a", action="store_true", dest="pub_adt",
+  help="Publish an ADT repo for the release. Default is 
NOT to publish.")
+parser.add_option("-d", "--adt-dir",
+  type="string", dest="adt_dir",
+  help="Use when you need to publish the ADT repo to a 
custom location. i.e. python adtcopy -b yocto-2.0_M1.rc1 -a 1.8+snaphot")
+
 (options, args) = parser.parse_args()
  
 REL_TYPE = ""
@@ -395,12 +432,12 @@ if __name__ == '__main__':
 print "Build ID is a required argument."
 print "Please use -h or --help for options."
 sys.exit()
-
+   
 if not (RELEASE and RC and REL_ID and REL_TYPE):
 print "Can't determine the release type. Check your args."
 print "You gave me: %s" %options.build
 sys.exit()
-
+
 print "RC_DIR: %s" %RC_DIR
 print "RELEASE: %s" %RELEASE
 print "RC: %s" %RC
@@ -420,7 +457,7 @@ if __name__ == '__main__':
 ECLIPSE_DIR = os.path.join(RELEASE_DIR, "eclipse-plugin")
 BUILD_APP_DIR = os.path.join(RELEASE_DIR, "build-appliance")
 REL_MD5_FILE = RELEASE + ".md5sum"
-   
+
 # For all releases:
 # 1) Rsync the rc candidate to a staging dir where all work happens
 sync_it(RC_SOURCE, RELEASE_DIR, UNLOVED)
@@ -461,3 +498,16 @@ if __name__ == '__main__':
 print "Publishing release to downloads."
 sync_it(RELEASE_DIR, DL_DIR, "")
 
+# 9) Publish the ADT repo. The default is NOT to publish the ADT. The ADT 
+# is deprecated as of 2.1_M1. H

[yocto] [yocto-autobuilder][PATCH 3/6] bin/release_scripts/release.py: add a check for valid rc candidate

2016-02-23 Thread Graydon, Tracy
This is part of the release automation work, related to Yocto bug #8942. This
patch adds a check for a valid release candidate ID passed in from command line
and quits if it is bogus. Adds a few comments/output for the user for the
various release steps to improve clarity.

Signed-off-by: Graydon, Tracy 
---
 bin/release_scripts/release.py | 53 +++---
 1 file changed, 39 insertions(+), 14 deletions(-)

diff --git a/bin/release_scripts/release.py b/bin/release_scripts/release.py
index 3dab369..c332718 100755
--- a/bin/release_scripts/release.py
+++ b/bin/release_scripts/release.py
@@ -360,19 +360,23 @@ if __name__ == '__main__':
 else:
 BRANCH = ""
 
-
 if options.build:
 # Figure out the release name, type of release, and generate some 
vars, do some basic validation
-chunks = split_thing(options.build, ".")
+options.build = options.build.lower()
+RC = split_thing(options.build, ".")[-1]
+chunks = split_thing(options.build, ".") # i.e. split yocto-2.1_m1.rc1
 chunks.pop()
-RELEASE = rejoin_thing(chunks, ".")
-rel_thing = split_thing(options.build, "-")
-RC = split_thing(options.build, ".")[-1].lower()
-RC_DIR = RELEASE + "." + RC
-REL_ID = split_thing(RELEASE, "-")[-1]
-milestone = split_thing(REL_ID, "_")
-if len(milestone) == 1:
-thing = split_thing(milestone[0], ".")
+chunks[1] = chunks[1].upper()
+RELEASE = rejoin_thing(chunks, ".")  # i.e. yocto-2.1_m1
+REL_ID = split_thing(RELEASE, "-")[-1].upper()
+RC_DIR = rejoin_thing([RELEASE, RC], ".")
+RC_SOURCE = os.path.join(AB_BASE, RC_DIR)
+if not os.path.exists(RC_SOURCE):
+print "%s does not appear to be a valid RC dir. Check your args." 
%RC_SOURCE
+sys.exit()
+relstring = split_thing(REL_ID, "_")
+if len(relstring) == 1:
+thing = split_thing(relstring[0], ".")
 if len(thing) == 3:
 REL_TYPE = "point"
 elif len(thing) == 2:
@@ -385,14 +389,27 @@ if __name__ == '__main__':
 print "Please use -h or --help for options."
 sys.exit()
 else:
-MILESTONE = milestone.pop()
+MILESTONE = relstring.pop()
 REL_TYPE = "milestone"
 else:
 print "Build ID is a required argument."
 print "Please use -h or --help for options."
 sys.exit()
-
-RC_SOURCE = os.path.join(AB_BASE, RC_DIR)
+
+if not (RELEASE and RC and REL_ID and REL_TYPE):
+print "Can't determine the release type. Check your args."
+print "You gave me: %s" %options.build
+sys.exit()
+
+print "RC_DIR: %s" %RC_DIR
+print "RELEASE: %s" %RELEASE
+print "RC: %s" %RC
+print "REL_ID: %s" %REL_ID
+print "REL_TYPE: %s" %REL_TYPE
+if MILESTONE:
+print "MILESTONE: %s" %MILESTONE
+print
+
 PLUGIN_DIR = os.path.join(DL_BASE, "eclipse-plugin", REL_ID)
 RELEASE_DIR = os.path.join(AB_BASE, RELEASE)
 DL_DIR = os.path.join(DL_BASE, RELEASE)
@@ -403,36 +420,44 @@ if __name__ == '__main__':
 ECLIPSE_DIR = os.path.join(RELEASE_DIR, "eclipse-plugin")
 BUILD_APP_DIR = os.path.join(RELEASE_DIR, "build-appliance")
 REL_MD5_FILE = RELEASE + ".md5sum"
- 
+   
 # For all releases:
 # 1) Rsync the rc candidate to a staging dir where all work happens
 sync_it(RC_SOURCE, RELEASE_DIR, UNLOVED)
 
 # 2) Convert the symlinks in build-appliance dir.
+print "Converting the build-appliance symlink."
 convert_symlinks(BUILD_APP_DIR)
 
 # 3) In machines dir, convert the symlinks, delete the cruft
+print "Cleaning up the machines dirs, converting symlinks."
 dirlist = get_list(MACHINES)
 for dirname in dirlist:
 dirname = os.path.join(MACHINES, dirname)
 convert_symlinks(dirname)
 nuke_cruft(dirname, CRUFT_LIST)
+print "Generating fresh md5sums."
 gen_md5sum(MACHINES)
 
 # For major and point releases
 if REL_TYPE == "major" or REL_TYPE == "point":
 # 4) Fix up the eclipse and poky tarballs
+print "Cleaning up the eclipse, poky and other tarballs."
 fix_tarballs()
 
 # 5) Publish the eclipse stuff
+print "Publishing the eclipse plugins."
 pub_eclipse(ECLIPSE_DIR, PLUGIN_DIR)
 
 # 6) Make the bsps
+print "Generating the BSP tarballs."
 make_bsps(

[yocto] [yocto-autobuilder][PATCH 6/6] bin/release_scripts/release.py: fix the BSP tarball naming

2016-02-23 Thread Graydon, Tracy
The BSP packaging was missing the branch name from the repackaged tarball. The
md5sums were also not being generated for the BSP tarballs. This patch fixes 
both
these issues.

Signed-off-by: Graydon, Tracy 
---
 bin/release_scripts/release.py | 23 +--
 1 file changed, 13 insertions(+), 10 deletions(-)

diff --git a/bin/release_scripts/release.py b/bin/release_scripts/release.py
index 8751a04..4c71e31 100755
--- a/bin/release_scripts/release.py
+++ b/bin/release_scripts/release.py
@@ -200,21 +200,23 @@ def make_bsps(bsp_list, bsp_dir):
 print "Creating %s bsp dir" %dirname
 os.mkdir(dirname)
 target = os.path.join(dirname, POKY_TARBALL)
-copyfile(poky_blob, target)
-os.chdir(dirname)
-print "Unpacking poky tarball."
-os.system("tar jxf %s" %POKY_TARBALL)
 oldblob = POKY_TARBALL
 chunks = split_thing(oldblob, "-")
 chunks[0] = dirname
 new_blob = rejoin_thing(chunks, "-")
+print "BSP tarball: %s" %new_blob
 new_dir = split_thing(blob_dir, "-")
 new_dir[0] = dirname
 new_dir = rejoin_thing(new_dir, "-")
 bin_dir = os.path.join(new_dir, "binary")
+copyfile(poky_blob, target)
+os.chdir(dirname)
+print "Unpacking poky tarball."
+os.system("tar jxf %s" %POKY_TARBALL)
 shutil.move(blob_dir, new_dir)
 os.remove(POKY_TARBALL)
-os.mkdir(bin_dir)
+if not os.path.exists(bin_dir):
+os.mkdir(bin_dir)
 print "Getting binary files"
 os.system("rsync -arl %s/%s/ %s" %(MACHINES, dirname, bin_dir))
 bsp_bin = os.path.join(bsp_dir, dirname, bin_dir)
@@ -224,8 +226,10 @@ def make_bsps(bsp_list, bsp_dir):
 print "Creating BSP tarball"
 os.system("tar jcf %s %s" %(new_blob, new_dir))
 rmtree(new_dir)
-print "Copying %s BSP tarball to machines dir" %new_blob
-shutil.copy(new_blob, platform_dir)
+print "Generating the md5sum."
+os.system("md5sum %s > %s.md5sum" %(new_blob, new_blob))
+print "Copying %s BSP to platform dir" %dirname
+os.system("mv * %s" %platform_dir)
 os.chdir(bsp_dir)
 print
 os.chdir(RELEASE_DIR)
@@ -356,7 +360,7 @@ if __name__ == '__main__':

 VHOSTS = "/srv/www/vhosts"
 AB_BASE = os.path.join(VHOSTS, "autobuilder.yoctoproject.org/pub/releases")
-DL_BASE = os.path.join(VHOSTS, "downloads.yoctoproject.org/releases")
+DL_BASE = os.path.join(VHOSTS, "downloads.yoctoproject.org/releases/yocto")
 ADT_BASE = os.path.join(VHOSTS, "adtrepo.yoctoproject.org")
 
 # List of the directories we delete from all releases
@@ -453,7 +457,7 @@ if __name__ == '__main__':
 MACHINES = os.path.join(RELEASE_DIR, "machines")
 BSP_DIR = os.path.join(RELEASE_DIR, 'bsptarballs')
 TARBALL_DIR = os.path.join(RELEASE_DIR, "tarballs")
-POKY_TARBALL = "poky-" + POKY_VER + ".tar.bz2"
+POKY_TARBALL = "poky-" + BRANCH + "-" + POKY_VER + ".tar.bz2"
 ECLIPSE_DIR = os.path.join(RELEASE_DIR, "eclipse-plugin")
 BUILD_APP_DIR = os.path.join(RELEASE_DIR, "build-appliance")
 REL_MD5_FILE = RELEASE + ".md5sum"
@@ -511,4 +515,3 @@ if __name__ == '__main__':
 else:
 print "Publishing ADT repo."
 publish_adt(REL_ID, REL_TYPE, "")
-
-- 
2.4.3

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [yocto-autobuilder][PATCH 5/6] bin/release_scripts/release.py: fix the tarball naming

2016-02-23 Thread Graydon, Tracy
Fixed tarball repackaging to add missing branch name to the new
tarball name. i.e. -.tar.bz2 was being renamed to
-.14.0.1.tar.bz2, which is wrong. Should be renamed to
--.tar.bz2.

Signed-off-by: Graydon, Tracy 
---
 bin/release_scripts/release.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/bin/release_scripts/release.py b/bin/release_scripts/release.py
index 83c198e..8751a04 100755
--- a/bin/release_scripts/release.py
+++ b/bin/release_scripts/release.py
@@ -94,7 +94,7 @@ def fix_tarballs():
 filename = chunks[0]
 basename = split_thing(filename, "-")
 index = len(basename)-1
-basename[index] = POKY_VER
+basename[index] = "-".join([BRANCH, POKY_VER])
 new_name = rejoin_thing(basename, "-")
 chunks[0] = new_name
 new_blob = rejoin_thing(chunks, ".")
@@ -511,3 +511,4 @@ if __name__ == '__main__':
 else:
 print "Publishing ADT repo."
 publish_adt(REL_ID, REL_TYPE, "")
+
-- 
2.4.3

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [yocto-autobuilder][PATCH 2/6] bin/release_scripts/release.py: remove stuff only used for initial testing

2016-02-23 Thread Graydon, Tracy
This is part of the release automation work, related to Yocto bug #8942. This
patch removes the print_vars function and some other lines that were only used
for testing and are otherwise useless.

Signed-off-by: Graydon, Tracy 
---
 bin/release_scripts/release.py | 37 -
 1 file changed, 37 deletions(-)

diff --git a/bin/release_scripts/release.py b/bin/release_scripts/release.py
index 27ee409..3dab369 100755
--- a/bin/release_scripts/release.py
+++ b/bin/release_scripts/release.py
@@ -20,33 +20,6 @@ import shutil
 from shutil import rmtree, copyfile
 from subprocess import call
 
-def print_vars():
-print "RELEASE: %s" %RELEASE
-print "REL_TYPE: %s" %REL_TYPE
-print "RC_DIR: %s" %RC_DIR
-print "REL_ID: %s" %REL_ID
-print "RC: %s" %RC
-if MILESTONE != "":
-print "Milestone: %s" %MILESTONE
-if POKY_VER != "":
-print "POKY_VER: %s" %POKY_VER
-else:
-   print "POKY_VER: undefined!"
-if BRANCH:
-print "BRANCH: %s" %BRANCH
-else:
-print "BRANCH: undefined!"
-
-print "DL_BASE: %s" %DL_BASE
-if RC_SOURCE != "":
-print "RC_SOURCE: %s" %RC_SOURCE
-print "RELEASE_DIR: %s" %RELEASE_DIR
-print "ECLIPSE_DIR: %s" %ECLIPSE_DIR
-print "PLUGIN_DIR: %s" %PLUGIN_DIR
-print "DL_DIR: %s" %DL_DIR
-print
-return
-
 def sanity_check(source, target):
 if not os.path.exists(source):
print
@@ -64,7 +37,6 @@ def sanity_check(source, target):
sys.exit()
 return
 
-
 def sync_it(source, target, exclude_list):
 print "Syncing %s to %s" %(source, target)
 sanity_check(source, target)
@@ -112,7 +84,6 @@ def fix_tarballs():
 print "Repackaging poky and eclipse tarballs"
 os.chdir(RELEASE_DIR)
 os.mkdir(TARBALL_DIR)
-#os.mkdir("%s" %TARBALL_DIR)
 os.system("mv %s/*.tar.bz2 %s" %(RELEASE_DIR, TARBALL_DIR))
 os.system("rm *.md5sum")
 os.chdir(TARBALL_DIR)
@@ -352,12 +323,6 @@ if __name__ == '__main__':
 os.system("clear")
 print

-# This is for testing convenience
-#HOME_BASE = "/home/tgraydon/work/release"
-#AB_BASE = HOME_BASE
-#DL_BASE = os.path.join(HOME_BASE, "downloads")
-
-# This is the legit set of vars used for production release
 VHOSTS = "/srv/www/vhosts"
 AB_BASE = os.path.join(VHOSTS, "autobuilder.yoctoproject.org/pub/releases")
 DL_BASE = os.path.join(VHOSTS, "downloads.yoctoproject.org/releases")
@@ -439,8 +404,6 @@ if __name__ == '__main__':
 BUILD_APP_DIR = os.path.join(RELEASE_DIR, "build-appliance")
 REL_MD5_FILE = RELEASE + ".md5sum"
  
-print_vars()
-
 # For all releases:
 # 1) Rsync the rc candidate to a staging dir where all work happens
 sync_it(RC_SOURCE, RELEASE_DIR, UNLOVED)
-- 
2.4.3

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [yocto-autobuilder][PATCH 1/6] bin/release_scripts/relnotes.sh: Add script to generate release notes template.

2016-02-23 Thread Graydon, Tracy
This is a capture of the command-line ickiness that we have been
using to generate the basic release notes draft. It's frightfully ugly, but
gets the job done for now.

Signed-off-by: Graydon, Tracy 
---
 bin/release_scripts/relnotes.sh | 82 +
 1 file changed, 82 insertions(+)
 create mode 100755 bin/release_scripts/relnotes.sh

diff --git a/bin/release_scripts/relnotes.sh b/bin/release_scripts/relnotes.sh
new file mode 100755
index 000..a88f0b8
--- /dev/null
+++ b/bin/release_scripts/relnotes.sh
@@ -0,0 +1,82 @@
+#!/bin/bash
+
+# NOTE! This script will blissfully clobber any pre-existing poky repos, 
+# previous release notes with same filename, etc. 
+#
+# This is a quick and ugly script to generate the release notes draft.
+#
+# Usage: ./relnotes.sh
+# i.e. ./relnotes.sh yocto-2.0.1 rc6 jethro 14.0.1
+#
+# Currently the revision in the git log portion is hard coded. You 
+# will want to change accordingly! 
+# i.e. git log --pretty=format:"%s" yocto-2.0..HEAD |grep CVE >> $HOME/CVE;
+# Change the yocto-2.0 bit to whatever it needs to be for the given release.
+
+
+
+clear
+REL_ID=$1
+RC=$2
+BRANCH=$3
+POKY_VER=$4
+RELEASE=$REL_ID
+VHOSTS="/srv/www/vhosts"
+AB_BASE="$VHOSTS/autobuilder.yoctoproject.org/pub/releases"
+DL_BASE="$VHOSTS/downloads.yoctoproject.org/releases"
+RC_SOURCE="$AB_BASE/$RELEASE.$RC"
+RELEASE_DIR="$AB_BASE/$RELEASE"
+MACHINES="$RELEASE_DIR/machines"
+HOME=~/work/release
+echo "REL_ID: $REL_ID"
+echo "RC: $RC"
+echo "BRANCH: $BRANCH"
+echo "POKY_VER: $POKY_VER"
+echo "RELEASE: $RELEASE"
+echo "AB_BASE: $AB_BASE"
+echo "DL_BASE: $DL_BASE"
+echo "RC_SOURCE: $RC_SOURCE"
+echo "RELEASE_DIR: $RELEASE_DIR"
+echo "MACHINES: $MACHINES"
+echo
+
+if [[ -e $HOME/RELEASENOTES.$RELEASE ]]; then
+rm -v $HOME/RELEASENOTES.$RELEASE
+fi
+if [[ -e $HOME/CVE ]]; then
+rm -v $HOME/CVE
+fi
+if [[ -e $HOME/FIXES ]]; then
+rm -v $HOME/FIXES
+fi
+if [[ -d $HOME/poky ]]; then
+rm -rvf $HOME/poky
+fi
+
+for x in `ls $RELEASE_DIR/*.bz2.md5sum | grep -v "\-fsl" | grep -v "\-ppc"`; 
do 
+   layer=`basename $x | sed 
's/\-'"$BRANCH"'\-'"$POKY_VER"'.tar.bz2.md5sum//g'`; 
+   tarball=`basename $x |sed 's/\.md5sum//g'`; 
+   ghash=`ls $RELEASE_DIR/$layer*.bz2 | grep -v $BRANCH | sed 
's/'"$layer"'-//g' | sed 's/.tar.bz2//g'`;
+   ghash=`basename $ghash`
+   echo "Release Name: " $layer-$BRANCH-$POKY_VER; 
+   echo "Branch: $BRANCH"; 
+   echo "Tag: $BRANCH-$POKY_VER"; 
+   echo "Hash: " $ghash; 
+   echo "md5: `cat $RELEASE_DIR/$tarball.md5sum`"; 
+   echo "Download Locations:"; 
+   echo "http://downloads.yoctoproject.org/releases/yocto/$RELEASE/$tarball";; 
+   echo "http://mirrors.kernel.org/yocto/yocto/$RELEASE/$tarball";; echo ""; 
+done >> $HOME/RELEASENOTES.$RELEASE
+
+git clone git://git.yoctoproject.org/poky;
+cd poky; 
+git checkout $BRANCH; 
+echo -e "\n---\nSecurity Fixes\n---" >> $HOME/CVE;
+git log --pretty=format:"%s" yocto-2.0..HEAD |grep CVE >> $HOME/CVE; 
+echo -e "\n---\nFixes\n---" >> $HOME/FIXES; 
+git log --pretty=format:"%s" yocto-2.0..HEAD |grep -v CVE >> $HOME/FIXES; 
+cat $HOME/CVE >> $HOME/RELEASENOTES.$RELEASE; cat $HOME/FIXES >> 
$HOME/RELEASENOTES.$RELEASE
+cd $HOME
+
+
+
-- 
2.4.3

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [yocto-autobuilder][PATCH 3/3] bin/release_scripts/relnotes.sh

2016-02-18 Thread Graydon, Tracy
This is basically a capture of the command-line ickiness that we have been
using to generate the basic release notes draft. It's frightfully ugly, but
gets the job done for now.

Signed-off-by: Graydon, Tracy 
---
 bin/release_scripts/relnotes.sh | 82 +
 1 file changed, 82 insertions(+)
 create mode 100755 bin/release_scripts/relnotes.sh

diff --git a/bin/release_scripts/relnotes.sh b/bin/release_scripts/relnotes.sh
new file mode 100755
index 000..a88f0b8
--- /dev/null
+++ b/bin/release_scripts/relnotes.sh
@@ -0,0 +1,82 @@
+#!/bin/bash
+
+# NOTE! This script will blissfully clobber any pre-existing poky repos, 
+# previous release notes with same filename, etc. 
+#
+# This is a quick and ugly script to generate the release notes draft.
+#
+# Usage: ./relnotes.sh
+# i.e. ./relnotes.sh yocto-2.0.1 rc6 jethro 14.0.1
+#
+# Currently the revision in the git log portion is hard coded. You 
+# will want to change accordingly! 
+# i.e. git log --pretty=format:"%s" yocto-2.0..HEAD |grep CVE >> $HOME/CVE;
+# Change the yocto-2.0 bit to whatever it needs to be for the given release.
+
+
+
+clear
+REL_ID=$1
+RC=$2
+BRANCH=$3
+POKY_VER=$4
+RELEASE=$REL_ID
+VHOSTS="/srv/www/vhosts"
+AB_BASE="$VHOSTS/autobuilder.yoctoproject.org/pub/releases"
+DL_BASE="$VHOSTS/downloads.yoctoproject.org/releases"
+RC_SOURCE="$AB_BASE/$RELEASE.$RC"
+RELEASE_DIR="$AB_BASE/$RELEASE"
+MACHINES="$RELEASE_DIR/machines"
+HOME=~/work/release
+echo "REL_ID: $REL_ID"
+echo "RC: $RC"
+echo "BRANCH: $BRANCH"
+echo "POKY_VER: $POKY_VER"
+echo "RELEASE: $RELEASE"
+echo "AB_BASE: $AB_BASE"
+echo "DL_BASE: $DL_BASE"
+echo "RC_SOURCE: $RC_SOURCE"
+echo "RELEASE_DIR: $RELEASE_DIR"
+echo "MACHINES: $MACHINES"
+echo
+
+if [[ -e $HOME/RELEASENOTES.$RELEASE ]]; then
+rm -v $HOME/RELEASENOTES.$RELEASE
+fi
+if [[ -e $HOME/CVE ]]; then
+rm -v $HOME/CVE
+fi
+if [[ -e $HOME/FIXES ]]; then
+rm -v $HOME/FIXES
+fi
+if [[ -d $HOME/poky ]]; then
+rm -rvf $HOME/poky
+fi
+
+for x in `ls $RELEASE_DIR/*.bz2.md5sum | grep -v "\-fsl" | grep -v "\-ppc"`; 
do 
+   layer=`basename $x | sed 
's/\-'"$BRANCH"'\-'"$POKY_VER"'.tar.bz2.md5sum//g'`; 
+   tarball=`basename $x |sed 's/\.md5sum//g'`; 
+   ghash=`ls $RELEASE_DIR/$layer*.bz2 | grep -v $BRANCH | sed 
's/'"$layer"'-//g' | sed 's/.tar.bz2//g'`;
+   ghash=`basename $ghash`
+   echo "Release Name: " $layer-$BRANCH-$POKY_VER; 
+   echo "Branch: $BRANCH"; 
+   echo "Tag: $BRANCH-$POKY_VER"; 
+   echo "Hash: " $ghash; 
+   echo "md5: `cat $RELEASE_DIR/$tarball.md5sum`"; 
+   echo "Download Locations:"; 
+   echo "http://downloads.yoctoproject.org/releases/yocto/$RELEASE/$tarball";; 
+   echo "http://mirrors.kernel.org/yocto/yocto/$RELEASE/$tarball";; echo ""; 
+done >> $HOME/RELEASENOTES.$RELEASE
+
+git clone git://git.yoctoproject.org/poky;
+cd poky; 
+git checkout $BRANCH; 
+echo -e "\n---\nSecurity Fixes\n---" >> $HOME/CVE;
+git log --pretty=format:"%s" yocto-2.0..HEAD |grep CVE >> $HOME/CVE; 
+echo -e "\n---\nFixes\n---" >> $HOME/FIXES; 
+git log --pretty=format:"%s" yocto-2.0..HEAD |grep -v CVE >> $HOME/FIXES; 
+cat $HOME/CVE >> $HOME/RELEASENOTES.$RELEASE; cat $HOME/FIXES >> 
$HOME/RELEASENOTES.$RELEASE
+cd $HOME
+
+
+
-- 
2.4.3

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [yocto-autobuilder][PATCH 2/3] bin/release_scripts/release.py

2016-02-18 Thread Graydon, Tracy
The BSP packaging was missing the branch name from the repackaged tarball. The
md5sums were also not being generated for the BSP tarballs. This patch fixes 
both
these issues.

Signed-off-by: Graydon, Tracy 
---
 bin/release_scripts/release.py | 23 +--
 1 file changed, 13 insertions(+), 10 deletions(-)

diff --git a/bin/release_scripts/release.py b/bin/release_scripts/release.py
index 8751a04..4c71e31 100755
--- a/bin/release_scripts/release.py
+++ b/bin/release_scripts/release.py
@@ -200,21 +200,23 @@ def make_bsps(bsp_list, bsp_dir):
 print "Creating %s bsp dir" %dirname
 os.mkdir(dirname)
 target = os.path.join(dirname, POKY_TARBALL)
-copyfile(poky_blob, target)
-os.chdir(dirname)
-print "Unpacking poky tarball."
-os.system("tar jxf %s" %POKY_TARBALL)
 oldblob = POKY_TARBALL
 chunks = split_thing(oldblob, "-")
 chunks[0] = dirname
 new_blob = rejoin_thing(chunks, "-")
+print "BSP tarball: %s" %new_blob
 new_dir = split_thing(blob_dir, "-")
 new_dir[0] = dirname
 new_dir = rejoin_thing(new_dir, "-")
 bin_dir = os.path.join(new_dir, "binary")
+copyfile(poky_blob, target)
+os.chdir(dirname)
+print "Unpacking poky tarball."
+os.system("tar jxf %s" %POKY_TARBALL)
 shutil.move(blob_dir, new_dir)
 os.remove(POKY_TARBALL)
-os.mkdir(bin_dir)
+if not os.path.exists(bin_dir):
+os.mkdir(bin_dir)
 print "Getting binary files"
 os.system("rsync -arl %s/%s/ %s" %(MACHINES, dirname, bin_dir))
 bsp_bin = os.path.join(bsp_dir, dirname, bin_dir)
@@ -224,8 +226,10 @@ def make_bsps(bsp_list, bsp_dir):
 print "Creating BSP tarball"
 os.system("tar jcf %s %s" %(new_blob, new_dir))
 rmtree(new_dir)
-print "Copying %s BSP tarball to machines dir" %new_blob
-shutil.copy(new_blob, platform_dir)
+print "Generating the md5sum."
+os.system("md5sum %s > %s.md5sum" %(new_blob, new_blob))
+print "Copying %s BSP to platform dir" %dirname
+os.system("mv * %s" %platform_dir)
 os.chdir(bsp_dir)
 print
 os.chdir(RELEASE_DIR)
@@ -356,7 +360,7 @@ if __name__ == '__main__':

 VHOSTS = "/srv/www/vhosts"
 AB_BASE = os.path.join(VHOSTS, "autobuilder.yoctoproject.org/pub/releases")
-DL_BASE = os.path.join(VHOSTS, "downloads.yoctoproject.org/releases")
+DL_BASE = os.path.join(VHOSTS, "downloads.yoctoproject.org/releases/yocto")
 ADT_BASE = os.path.join(VHOSTS, "adtrepo.yoctoproject.org")
 
 # List of the directories we delete from all releases
@@ -453,7 +457,7 @@ if __name__ == '__main__':
 MACHINES = os.path.join(RELEASE_DIR, "machines")
 BSP_DIR = os.path.join(RELEASE_DIR, 'bsptarballs')
 TARBALL_DIR = os.path.join(RELEASE_DIR, "tarballs")
-POKY_TARBALL = "poky-" + POKY_VER + ".tar.bz2"
+POKY_TARBALL = "poky-" + BRANCH + "-" + POKY_VER + ".tar.bz2"
 ECLIPSE_DIR = os.path.join(RELEASE_DIR, "eclipse-plugin")
 BUILD_APP_DIR = os.path.join(RELEASE_DIR, "build-appliance")
 REL_MD5_FILE = RELEASE + ".md5sum"
@@ -511,4 +515,3 @@ if __name__ == '__main__':
 else:
 print "Publishing ADT repo."
 publish_adt(REL_ID, REL_TYPE, "")
-
-- 
2.4.3

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [yocto-autobuilder][PATCH 1/3] bin/release_scripts/release.py

2016-02-18 Thread Graydon, Tracy
Fixed tarball repackaging to add missing branch name to the new
tarball name. i.e. -.tar.bz2 was being renamed to
-.14.0.1.tar.bz2, which is wrong. Should be renamed to
--.tar.bz2.

Signed-off-by: Graydon, Tracy 
---
 bin/release_scripts/release.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/bin/release_scripts/release.py b/bin/release_scripts/release.py
index 83c198e..8751a04 100755
--- a/bin/release_scripts/release.py
+++ b/bin/release_scripts/release.py
@@ -94,7 +94,7 @@ def fix_tarballs():
 filename = chunks[0]
 basename = split_thing(filename, "-")
 index = len(basename)-1
-basename[index] = POKY_VER
+basename[index] = "-".join([BRANCH, POKY_VER])
 new_name = rejoin_thing(basename, "-")
 chunks[0] = new_name
 new_blob = rejoin_thing(chunks, ".")
@@ -511,3 +511,4 @@ if __name__ == '__main__':
 else:
 print "Publishing ADT repo."
 publish_adt(REL_ID, REL_TYPE, "")
+
-- 
2.4.3

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [yocto-autobuilder][PATCH 3/3] bin/release_scripts/release.py

2016-02-17 Thread Graydon, Tracy
From: Tracy Graydon 

This is part of the release automation work, related to Yocto bug #8942. This
patch adds the ADT repo publishing functionality for backward compatability
for point releases, etc. Not used going forward since we have moved to the
eSDK instead, so this defaults to NOT publishing the ADT repo. A flag has
been added to cue publishing, along with an option to provide a custom
target direactory name for oddball cases where release numbering may not
be linear. i.e There was no 1.9 release, so ADT repo for 2.0_M1 would have
actually been 1.8+snapshot. This allows for those corner cases.

Signed-off-by: Tracy Graydon 
---
 bin/release_scripts/release.py | 58 +++---
 1 file changed, 54 insertions(+), 4 deletions(-)

diff --git a/bin/release_scripts/release.py b/bin/release_scripts/release.py
index c332718..83c198e 100755
--- a/bin/release_scripts/release.py
+++ b/bin/release_scripts/release.py
@@ -317,6 +317,37 @@ def gen_rel_md5(dirname, md5_file):
 f.close()
 return
 
+def publish_adt(rel_id, rel_type, opts):
+if opts:
+ADT_DIR = os.path.join(ADT_BASE, opts)
+else:
+if rel_type == "milestone":
+chunks = split_thing(rel_id, "_")
+id_thing = float(chunks[0])
+id_thing = id_thing - 0.1
+rel_id = str(id_thing) + "+" + "snapshot"
+ADT_DIR = os.path.join(ADT_BASE, rel_id)
+print "ADT_DIR: %s" %ADT_DIR
+if os.path.exists(ADT_DIR):
+print "ADT_DIR %s EXISTS! Refusing to clobber!" %ADT_DIR
+sys.exit()
+else:
+ADT_ROOTFS = os.path.join(ADT_DIR, "rootfs")
+ADT_IPK = os.path.join(ADT_DIR, "adt-ipk")
+QEMU_DIR = os.path.join(MACHINES, "qemu")
+IPK_DIR = os.path.join(RELEASE_DIR, "ipk")
+os.mkdir(ADT_DIR)
+os.mkdir(ADT_ROOTFS)
+dirlist = get_list(QEMU_DIR)
+
+for dirname in dirlist:
+QEMU_SRC = os.path.join(QEMU_DIR, dirname)
+QEMU_TARGET = os.path.join(ADT_ROOTFS, dirname)
+print "QEMU_SRC: %s" %QEMU_SRC
+sync_it(QEMU_SRC, QEMU_TARGET, "")
+
+sync_it(IPK_DIR, ADT_IPK, "")
+return
 
 if __name__ == '__main__':
 
@@ -326,6 +357,7 @@ if __name__ == '__main__':
 VHOSTS = "/srv/www/vhosts"
 AB_BASE = os.path.join(VHOSTS, "autobuilder.yoctoproject.org/pub/releases")
 DL_BASE = os.path.join(VHOSTS, "downloads.yoctoproject.org/releases")
+ADT_BASE = os.path.join(VHOSTS, "adtrepo.yoctoproject.org")
 
 # List of the directories we delete from all releases
 UNLOVED = ['rpm', 'deb', 'ptest', 'adt-installer-QA']
@@ -346,7 +378,12 @@ if __name__ == '__main__':
 parser.add_option("-p", "--poky-ver",
   type="string", dest="poky",
   help="Required for Major and Point releases. i.e. 
14.0.0")
- 
+parser.add_option("-a", action="store_true", dest="pub_adt",
+  help="Publish an ADT repo for the release. Default is 
NOT to publish.")
+parser.add_option("-d", "--adt-dir",
+  type="string", dest="adt_dir",
+  help="Use when you need to publish the ADT repo to a 
custom location. i.e. python adtcopy -b yocto-2.0_M1.rc1 -a 1.8+snaphot")
+
 (options, args) = parser.parse_args()
  
 REL_TYPE = ""
@@ -395,12 +432,12 @@ if __name__ == '__main__':
 print "Build ID is a required argument."
 print "Please use -h or --help for options."
 sys.exit()
-
+   
 if not (RELEASE and RC and REL_ID and REL_TYPE):
 print "Can't determine the release type. Check your args."
 print "You gave me: %s" %options.build
 sys.exit()
-
+
 print "RC_DIR: %s" %RC_DIR
 print "RELEASE: %s" %RELEASE
 print "RC: %s" %RC
@@ -420,7 +457,7 @@ if __name__ == '__main__':
 ECLIPSE_DIR = os.path.join(RELEASE_DIR, "eclipse-plugin")
 BUILD_APP_DIR = os.path.join(RELEASE_DIR, "build-appliance")
 REL_MD5_FILE = RELEASE + ".md5sum"
-   
+
 # For all releases:
 # 1) Rsync the rc candidate to a staging dir where all work happens
 sync_it(RC_SOURCE, RELEASE_DIR, UNLOVED)
@@ -461,3 +498,16 @@ if __name__ == '__main__':
 print "Publishing release to downloads."
 sync_it(RELEASE_DIR, DL_DIR, "")
 
+# 9) Publish the ADT repo. The default is NOT to publish the ADT. The ADT 
+# is deprecated as of 2.1_M1. However, we need to retain backward 
+# compatability for point releases, etc. We do this step after all the 
other
+#  stuff because we want the symlinks to have been converted, extraneous 
+# files deleted, and md5sums generated.
+#
+if options.pub_adt:
+if options.adt_dir:
+print "Publishing the ADT repo using custom dir %s" 
%options.adt_dir
+publish_adt(REL_ID, REL_TYPE, options.adt_dir)
+else:
+print "Publishing ADT repo."
+publish_adt(REL

[yocto] [yocto-autobuilder][PATCH 1/3] bin/release_scripts/release.py

2016-02-17 Thread Graydon, Tracy
From: Tracy Graydon 

This is part of the release automation work, related to Yocto bug #8942. This
patch removes the print_vars function and some other lines that were only used
for testing and are otherwise useless.

Signed-off-by: Tracy Graydon 
---
 bin/release_scripts/release.py | 37 -
 1 file changed, 37 deletions(-)

diff --git a/bin/release_scripts/release.py b/bin/release_scripts/release.py
index 27ee409..3dab369 100755
--- a/bin/release_scripts/release.py
+++ b/bin/release_scripts/release.py
@@ -20,33 +20,6 @@ import shutil
 from shutil import rmtree, copyfile
 from subprocess import call
 
-def print_vars():
-print "RELEASE: %s" %RELEASE
-print "REL_TYPE: %s" %REL_TYPE
-print "RC_DIR: %s" %RC_DIR
-print "REL_ID: %s" %REL_ID
-print "RC: %s" %RC
-if MILESTONE != "":
-print "Milestone: %s" %MILESTONE
-if POKY_VER != "":
-print "POKY_VER: %s" %POKY_VER
-else:
-   print "POKY_VER: undefined!"
-if BRANCH:
-print "BRANCH: %s" %BRANCH
-else:
-print "BRANCH: undefined!"
-
-print "DL_BASE: %s" %DL_BASE
-if RC_SOURCE != "":
-print "RC_SOURCE: %s" %RC_SOURCE
-print "RELEASE_DIR: %s" %RELEASE_DIR
-print "ECLIPSE_DIR: %s" %ECLIPSE_DIR
-print "PLUGIN_DIR: %s" %PLUGIN_DIR
-print "DL_DIR: %s" %DL_DIR
-print
-return
-
 def sanity_check(source, target):
 if not os.path.exists(source):
print
@@ -64,7 +37,6 @@ def sanity_check(source, target):
sys.exit()
 return
 
-
 def sync_it(source, target, exclude_list):
 print "Syncing %s to %s" %(source, target)
 sanity_check(source, target)
@@ -112,7 +84,6 @@ def fix_tarballs():
 print "Repackaging poky and eclipse tarballs"
 os.chdir(RELEASE_DIR)
 os.mkdir(TARBALL_DIR)
-#os.mkdir("%s" %TARBALL_DIR)
 os.system("mv %s/*.tar.bz2 %s" %(RELEASE_DIR, TARBALL_DIR))
 os.system("rm *.md5sum")
 os.chdir(TARBALL_DIR)
@@ -352,12 +323,6 @@ if __name__ == '__main__':
 os.system("clear")
 print

-# This is for testing convenience
-#HOME_BASE = "/home/tgraydon/work/release"
-#AB_BASE = HOME_BASE
-#DL_BASE = os.path.join(HOME_BASE, "downloads")
-
-# This is the legit set of vars used for production release
 VHOSTS = "/srv/www/vhosts"
 AB_BASE = os.path.join(VHOSTS, "autobuilder.yoctoproject.org/pub/releases")
 DL_BASE = os.path.join(VHOSTS, "downloads.yoctoproject.org/releases")
@@ -439,8 +404,6 @@ if __name__ == '__main__':
 BUILD_APP_DIR = os.path.join(RELEASE_DIR, "build-appliance")
 REL_MD5_FILE = RELEASE + ".md5sum"
  
-print_vars()
-
 # For all releases:
 # 1) Rsync the rc candidate to a staging dir where all work happens
 sync_it(RC_SOURCE, RELEASE_DIR, UNLOVED)
-- 
2.4.3

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [yocto-autobuilder][PATCH 2/3] bin/release_scripts/release.py

2016-02-17 Thread Graydon, Tracy
From: Tracy Graydon 

This is part of the release automation work, related to Yocto bug #8942. This
patch adds a check for a valid release candidate ID passed in from command line
and quits if it is bogus. Adds a few comments/output for the user for the
various release steps to improve clarity.

Signed-off-by: Tracy Graydon 
---
 bin/release_scripts/release.py | 53 +++---
 1 file changed, 39 insertions(+), 14 deletions(-)

diff --git a/bin/release_scripts/release.py b/bin/release_scripts/release.py
index 3dab369..c332718 100755
--- a/bin/release_scripts/release.py
+++ b/bin/release_scripts/release.py
@@ -360,19 +360,23 @@ if __name__ == '__main__':
 else:
 BRANCH = ""
 
-
 if options.build:
 # Figure out the release name, type of release, and generate some 
vars, do some basic validation
-chunks = split_thing(options.build, ".")
+options.build = options.build.lower()
+RC = split_thing(options.build, ".")[-1]
+chunks = split_thing(options.build, ".") # i.e. split yocto-2.1_m1.rc1
 chunks.pop()
-RELEASE = rejoin_thing(chunks, ".")
-rel_thing = split_thing(options.build, "-")
-RC = split_thing(options.build, ".")[-1].lower()
-RC_DIR = RELEASE + "." + RC
-REL_ID = split_thing(RELEASE, "-")[-1]
-milestone = split_thing(REL_ID, "_")
-if len(milestone) == 1:
-thing = split_thing(milestone[0], ".")
+chunks[1] = chunks[1].upper()
+RELEASE = rejoin_thing(chunks, ".")  # i.e. yocto-2.1_m1
+REL_ID = split_thing(RELEASE, "-")[-1].upper()
+RC_DIR = rejoin_thing([RELEASE, RC], ".")
+RC_SOURCE = os.path.join(AB_BASE, RC_DIR)
+if not os.path.exists(RC_SOURCE):
+print "%s does not appear to be a valid RC dir. Check your args." 
%RC_SOURCE
+sys.exit()
+relstring = split_thing(REL_ID, "_")
+if len(relstring) == 1:
+thing = split_thing(relstring[0], ".")
 if len(thing) == 3:
 REL_TYPE = "point"
 elif len(thing) == 2:
@@ -385,14 +389,27 @@ if __name__ == '__main__':
 print "Please use -h or --help for options."
 sys.exit()
 else:
-MILESTONE = milestone.pop()
+MILESTONE = relstring.pop()
 REL_TYPE = "milestone"
 else:
 print "Build ID is a required argument."
 print "Please use -h or --help for options."
 sys.exit()
-
-RC_SOURCE = os.path.join(AB_BASE, RC_DIR)
+
+if not (RELEASE and RC and REL_ID and REL_TYPE):
+print "Can't determine the release type. Check your args."
+print "You gave me: %s" %options.build
+sys.exit()
+
+print "RC_DIR: %s" %RC_DIR
+print "RELEASE: %s" %RELEASE
+print "RC: %s" %RC
+print "REL_ID: %s" %REL_ID
+print "REL_TYPE: %s" %REL_TYPE
+if MILESTONE:
+print "MILESTONE: %s" %MILESTONE
+print
+
 PLUGIN_DIR = os.path.join(DL_BASE, "eclipse-plugin", REL_ID)
 RELEASE_DIR = os.path.join(AB_BASE, RELEASE)
 DL_DIR = os.path.join(DL_BASE, RELEASE)
@@ -403,36 +420,44 @@ if __name__ == '__main__':
 ECLIPSE_DIR = os.path.join(RELEASE_DIR, "eclipse-plugin")
 BUILD_APP_DIR = os.path.join(RELEASE_DIR, "build-appliance")
 REL_MD5_FILE = RELEASE + ".md5sum"
- 
+   
 # For all releases:
 # 1) Rsync the rc candidate to a staging dir where all work happens
 sync_it(RC_SOURCE, RELEASE_DIR, UNLOVED)
 
 # 2) Convert the symlinks in build-appliance dir.
+print "Converting the build-appliance symlink."
 convert_symlinks(BUILD_APP_DIR)
 
 # 3) In machines dir, convert the symlinks, delete the cruft
+print "Cleaning up the machines dirs, converting symlinks."
 dirlist = get_list(MACHINES)
 for dirname in dirlist:
 dirname = os.path.join(MACHINES, dirname)
 convert_symlinks(dirname)
 nuke_cruft(dirname, CRUFT_LIST)
+print "Generating fresh md5sums."
 gen_md5sum(MACHINES)
 
 # For major and point releases
 if REL_TYPE == "major" or REL_TYPE == "point":
 # 4) Fix up the eclipse and poky tarballs
+print "Cleaning up the eclipse, poky and other tarballs."
 fix_tarballs()
 
 # 5) Publish the eclipse stuff
+print "Publishing the eclipse plugins."
 pub_eclipse(ECLIPSE_DIR, PLUGIN_DIR)
 
 # 6) Make the bsps
+print "Generating the BSP tarballs."
 make_bsps(BSP_LIST, BSP_DIR)
 
 # 7) Generate the master md5sum file for the release (for all releases)
+print "Generating the master md5sum table."
 gen_rel_md5(RELEASE_DIR, REL_MD5_FILE)
 
 # 8) sync to downloads
+print "Publishing release to downloads."
 sync_it(RELEASE_DIR, DL_DIR, "")
 
-- 
2.4.3

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yocto

[yocto] [yocto-autobuilder][PATCH] bin/release_scripts/release.py

2016-02-17 Thread Graydon, Tracy
This is part of the release automation work, related to
Yocto bug #8942. This patch includes:

- Adding a check to see if the rc candidate passed in actually
  exists first.
- Adds the ADT repo publishing step of the release process.
- Removes the print_vars function that was largely for script
  testing purposes and is essentially otherwise useless.
- Removes some variable definitions that were used for testing.

Signed-off-by: Graydon, Tracy 
---
 bin/release_scripts/release.py | 134 ++---
 1 file changed, 85 insertions(+), 49 deletions(-)

diff --git a/bin/release_scripts/release.py b/bin/release_scripts/release.py
index 27ee409..d67a7ec 100755
--- a/bin/release_scripts/release.py
+++ b/bin/release_scripts/release.py
@@ -20,33 +20,6 @@ import shutil
 from shutil import rmtree, copyfile
 from subprocess import call
 
-def print_vars():
-print "RELEASE: %s" %RELEASE
-print "REL_TYPE: %s" %REL_TYPE
-print "RC_DIR: %s" %RC_DIR
-print "REL_ID: %s" %REL_ID
-print "RC: %s" %RC
-if MILESTONE != "":
-print "Milestone: %s" %MILESTONE
-if POKY_VER != "":
-print "POKY_VER: %s" %POKY_VER
-else:
-   print "POKY_VER: undefined!"
-if BRANCH:
-print "BRANCH: %s" %BRANCH
-else:
-print "BRANCH: undefined!"
-
-print "DL_BASE: %s" %DL_BASE
-if RC_SOURCE != "":
-print "RC_SOURCE: %s" %RC_SOURCE
-print "RELEASE_DIR: %s" %RELEASE_DIR
-print "ECLIPSE_DIR: %s" %ECLIPSE_DIR
-print "PLUGIN_DIR: %s" %PLUGIN_DIR
-print "DL_DIR: %s" %DL_DIR
-print
-return
-
 def sanity_check(source, target):
 if not os.path.exists(source):
print
@@ -64,7 +37,6 @@ def sanity_check(source, target):
sys.exit()
 return
 
-
 def sync_it(source, target, exclude_list):
 print "Syncing %s to %s" %(source, target)
 sanity_check(source, target)
@@ -346,21 +318,48 @@ def gen_rel_md5(dirname, md5_file):
 f.close()
 return
 
+def publish_adt(rel_id, rel_type, opts):
+if opts:
+ADT_DIR = os.path.join(ADT_BASE, opts)
+else:
+if rel_type == "milestone":
+chunks = split_thing(rel_id, "_")
+id_thing = float(chunks[0])
+id_thing = id_thing - 0.1
+rel_id = str(id_thing) + "+" + "snapshot"
+ADT_DIR = os.path.join(ADT_BASE, rel_id)
+print "ADT_DIR: %s" %ADT_DIR
+if os.path.exists(ADT_DIR):
+print "ADT_DIR %s EXISTS! Refusing to clobber!" %ADT_DIR
+sys.exit()
+else:
+ADT_ROOTFS = os.path.join(ADT_DIR, "rootfs")
+ADT_IPK = os.path.join(ADT_DIR, "adt-ipk")
+QEMU_DIR = os.path.join(MACHINES, "qemu")
+IPK_DIR = os.path.join(RELEASE_DIR, "ipk")
+os.mkdir(ADT_DIR)
+os.mkdir(ADT_ROOTFS)
+dirlist = get_list(QEMU_DIR)
+
+for dirname in dirlist:
+QEMU_SRC = os.path.join(QEMU_DIR, dirname)
+QEMU_TARGET = os.path.join(ADT_ROOTFS, dirname)
+print "QEMU_SRC: %s" %QEMU_SRC
+sync_it(QEMU_SRC, QEMU_TARGET, "")
+
+sync_it(IPK_DIR, ADT_IPK, "")
+return
 
 if __name__ == '__main__':
 
 os.system("clear")
 print

-# This is for testing convenience
-#HOME_BASE = "/home/tgraydon/work/release"
-#AB_BASE = HOME_BASE
-#DL_BASE = os.path.join(HOME_BASE, "downloads")
-
-# This is the legit set of vars used for production release
 VHOSTS = "/srv/www/vhosts"
 AB_BASE = os.path.join(VHOSTS, "autobuilder.yoctoproject.org/pub/releases")
 DL_BASE = os.path.join(VHOSTS, "downloads.yoctoproject.org/releases")
+ADT_DEV = os.path.join(VHOSTS, "adtrepo-dev")
+ADT_BASE = os.path.join(VHOSTS, "adtrepo.yoctoproject.org")
 
 # List of the directories we delete from all releases
 UNLOVED = ['rpm', 'deb', 'ptest', 'adt-installer-QA']
@@ -381,7 +380,10 @@ if __name__ == '__main__':
 parser.add_option("-p", "--poky-ver",
   type="string", dest="poky",
   help="Required for Major and Point releases. i.e. 
14.0.0")
- 
+parser.add_option("-a", "--adt-dir",
+  type="string", dest="adt",
+  help="Use when you need to publish the ADT repo to a 
custom location. i.e. python adtcopy -b yocto-2.0_M1.rc1 -a 1.8+snaphot")
+
 (options, args) = parser.parse_args()
  

[yocto] [PATCH][yocto-autobuilder] buildbot/status/web/templates/build.html

2016-02-11 Thread Graydon, Tracy
From: Tracy Graydon 

[YOCTO #8098]

The resubmit build button on the build status page, when used with exact same
revisions generates an exception. Fixed by removing the Resubmit Build button.

Signed-off-by: Tracy Graydon 
---
 .../buildbot/status/web/templates/build.html | 5 -
 1 file changed, 5 deletions(-)

diff --git 
a/lib/python2.7/site-packages/buildbot-0.8.8-py2.7.egg/buildbot/status/web/templates/build.html
 
b/lib/python2.7/site-packages/buildbot-0.8.8-py2.7.egg/buildbot/status/web/templates/build.html
index a01d4b0..0f50888 100644
--- 
a/lib/python2.7/site-packages/buildbot-0.8.8-py2.7.egg/buildbot/status/web/templates/build.html
+++ 
b/lib/python2.7/site-packages/buildbot-0.8.8-py2.7.egg/buildbot/status/web/templates/build.html
@@ -213,11 +213,6 @@ SourceStamps:
   Elapsed{{ 
elapsed }}
 
 
-  {% if authz.advertiseAction('forceBuild', request) %}
-Resubmit Build:
-{{ forms.rebuild_build(build_url+"/rebuild", authz, sourcestamps[0]) }}
-  {% endif %}
-
 
 
 
-- 
2.4.3

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH] /bin/release_scripts: Release automation scripts

2016-01-22 Thread Graydon, Tracy
[YOCTO #8942]

This is the initial commit of the release.py and misc component scripts which
form the basis for release automation work. The release.py script may be used
to stage and publish a major, point, or milestone release. The various
standalone scriptlet perform individual steps of parts of the release
 process and are handy for clean up, incremental staging, and testing.

Signed-off-by: Graydon, Tracy 
---
 bin/release_scripts/README  |  40 +++
 bin/release_scripts/convert_symlinks.py | 131 +
 bin/release_scripts/gen_md5.py  |  95 +++
 bin/release_scripts/nuke_cruft.py   |  92 +++
 bin/release_scripts/purge_unloved.py|  84 ++
 bin/release_scripts/release.py  | 475 
 bin/release_scripts/rsync.py| 176 
 7 files changed, 1093 insertions(+)
 create mode 100644 bin/release_scripts/README
 create mode 100755 bin/release_scripts/convert_symlinks.py
 create mode 100755 bin/release_scripts/gen_md5.py
 create mode 100755 bin/release_scripts/nuke_cruft.py
 create mode 100755 bin/release_scripts/purge_unloved.py
 create mode 100755 bin/release_scripts/release.py
 create mode 100755 bin/release_scripts/rsync.py

diff --git a/bin/release_scripts/README b/bin/release_scripts/README
new file mode 100644
index 000..dbc51fc
--- /dev/null
+++ b/bin/release_scripts/README
@@ -0,0 +1,40 @@
+The release.py script is intended to help more efficiently and consistently 
+publish releases. The script works for Major, Point, and Milestone releases.
+
+To invoke the script, run "python release.py . Available options are: 
 
+
+
+-i, --build-idRequired for all release types. Build id of release 
+  including rc#. i.e. yocto-2.0.rc1, yocto-2.1_M1.rc3, etc.
+-b, --branch  Required for Major and Point releases. i.e. daisy, fido, 
jethro, etc.
+-p, --poky-verRequired for Major and Point releases. Not used for 
Milestones. i.e. 14.0.0
+
+Example: 
+
+$ python release.py -i yocto-2.0.rc3 -b jethro -p 14.0.0 
+
+The script will take the release candidate name and determine the source and 
+target directories, as well as the type of release, etc., to prepare for 
staging 
+the release. 
+
+The script will then do the following:
+
+1) Rsync the rc candidate to a staging dir where all work happens
+2) Convert the symlink in build-appliance dir.
+3) In machines dir, convert the symlinks, delete the files we do not want to 
+   publish, and generate fresh md5sums after link conversion.
+4) For major and point releases, repackage the poky and eclipse tarballs using 
+   branch and poky version.
+5) For major and point releases, publish the eclipse plugins.
+6) For major and point releases, create the BSP tarballs. 
+7) For major and point releases, generate the master md5sum file for the 
release.
+8) Sync the staging directory to downloads directory.
+
+Currently, the ADT release sync and the release notes must still be done 
manually 
+and copied over to the release download directories accordingly. Future 
enhancements
+will address these two release steps.
+
+
+
+
+
diff --git a/bin/release_scripts/convert_symlinks.py 
b/bin/release_scripts/convert_symlinks.py
new file mode 100755
index 000..21aaf04
--- /dev/null
+++ b/bin/release_scripts/convert_symlinks.py
@@ -0,0 +1,131 @@
+import os
+import optparse
+import sys
+import hashlib
+import glob
+import os.path
+import shutil
+from shutil import rmtree, copyfile
+from subprocess import call
+
+def print_vars():
+print "AB_BASE: %s" %AB_BASE
+print "RELEASE_DIR: %s" %RELEASE_DIR
+print "MACHINES: %s" %MACHINES
+print
+return
+
+
+def get_list(dirname):
+dirlist = os.listdir(dirname)
+dirlist.sort()
+return dirlist
+
+def split_thing(thing, marker):
+filebits = thing.split(marker)
+return filebits
+
+def rejoin_thing(thing, marker):
+filebits = marker.join(thing)
+return filebits
+
+
+def convert_symlinks(dirname):
+thing = os.path.split(dirname)[1]
+if thing == "qemu":
+dirlist = get_list(dirname)
+for dir in dirlist:
+qemu_dir = os.path.join(MACHINES, dirname, dir)
+print "Converting symlinks in %s" %qemu_dir
+convert_symlinks(qemu_dir)
+else:
+print "Converting symlinks in %s" %dirname
+link_list = []
+for root, dirs, files in os.walk(dirname, topdown=True):
+for name in files:
+filename = (os.path.join(root, name))
+if os.path.islink(filename):
+src_file = os.path.realpath(filename)
+link_list.append([filename, src_file])
+for line in link_list:
+os.remove(line[0])
+try:
+   copyfile(line[1], line[0])
+except IOError:
+print "Error: %s is missing or isn\&#x

[yocto] [ANNOUNCEMENT] Milestone 1 for Yocto Project 2.1 now available.

2016-01-06 Thread Graydon, Tracy
The first milestone release for Yocto Project 2.1 is available for
download now.

http://downloads.yoctoproject.org/releases/yocto/milestones/yocto-2.1_M1/

Thank you to everyone for your contributions.

eclipse-poky/kepler-master cf60ac293629fc8ecd6c4eb3709a6f334b499d0c
eclipse-poky/luna-master 45aa5c77523bdf051d548fff4305382942db2ebb
eclipse-poky/mars-master 1d179ddcbd1983bf7bcfe98efdcbb186bdccca4f
meta-qt3 5233565c80db869f6f539f37f26ea6662d9dc5f6
meta-qt4 fa88230121379075d752876007fb84dfcb6e9de4
poky 5e3e2e0cbb0a49986f4653e64c4c8d2b5461645e


Test report at:

https://wiki.yoctoproject.org/wiki/WW50_-_2015-12-10_-_Full_Pass_2.1_M1.rc1


Tracy Graydon
Yocto Project
Build and Release



-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [ANNOUNCEMENT] Yocto Project 2.0 (jethro 14.0.0) Released

2015-11-10 Thread Graydon, Tracy
Hello,

The latest release of the Yocto Project 2.0 (jethro-14.0.0) is now
available
for download at:

http://downloads.yoctoproject.org/releases/yocto/yocto-2.0/poky-jethro-14.0
.0.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-2.0/poky-jethro-14.0.0.tar.bz2

A gpg signed version of these release notes is available at:

http://downloads.yoctoproject.org/releases/yocto/yocto-2.0/RELEASENOTES

Full pass test report is available at:

https://wiki.yoctoproject.org/wiki/WW44_-_2015-11-04_-_Full_Pass_2.0.rc3

Thanks go out to everyone for all their hard work during this release!

Sincerely,

Tracy Graydon
Yocto Project Build and Release




yocto-2.0 Errata


Release Name: eclipse-poky-kepler-jethro-14.0.0
Branch: kepler/jethro
Tag: kepler/jethro-14.0.0
Hash: cf60ac293629fc8ecd6c4eb3709a6f334b499d0c
md5: e1e35f99065f8521b0c7c728e9da26dc
eclipse-poky-kepler-jethro-14.0.0.tar.bz2
Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-2.0/eclipse-poky-kep
ler-jethro-14.0.0.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-2.0/eclipse-poky-kepler-jethro-
14.0.0.tar.bz2

Release Name: eclipse-poky-luna-jethro-14.0.0
Branch: luna/jethro
Tag: luna/jethro-14.0.0
Hash: 45aa5c77523bdf051d548fff4305382942db2ebb
md5: 6f2fd410472ea9b161bdd6fb50d935dd
eclipse-poky-luna-jethro-14.0.0.tar.bz2
Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-2.0/eclipse-poky-lun
a-jethro-14.0.0.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-2.0/eclipse-poky-luna-jethro-14
.0.0.tar.bz2

Release Name: eclipse-poky-mars-jethro-14.0.0
Branch: mars/jethro
Tag: mars/jethro-14.0.0
Hash: 1d179ddcbd1983bf7bcfe98efdcbb186bdccca4f
md5: fe8deecc61406d3e2f3743dd9fe7e6e6
eclipse-poky-mars-jethro-14.0.0.tar.bz2
Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-2.0/eclipse-poky-mar
s-jethro-14.0.0.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-2.0/eclipse-poky-mars-jethro-14
.0.0.tar.bz2

Release Name: meta-qt3-jethro-14.0.0
Branch: jethro
Tag: jethro-14.0.0
Hash: 5233565c80db869f6f539f37f26ea6662d9dc5f6
md5: 9aa9ff634c98d55351aef5e644e79d62 meta-qt3-jethro-14.0.0.tar.bz2
Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-2.0/meta-qt3-jethro-
14.0.0.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-2.0/meta-qt3-jethro-14.0.0.tar.
bz2

Release Name: poky-jethro-14.0.0
Branch: jethro
Tag: jethro-14.0.0
Hash: fc45deac89ef63ca1c44e763c38ced7dfd72cbe1
md5: b14ed2c19c6811436fdcd2f5322d8213 poky-jethro-14.0.0.tar.bz2
Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-2.0/poky-jethro-14.0
.0.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-2.0/poky-jethro-14.0.0.tar.bz2



New Features / Enhancements

* Added gcc 5.2 which is now the default compiler (gcc 4.8 and 4.9 are
also provided)
* Updated linux-yocto kernel for qemu* and reference BSPs to version 4.1
* Added basic support for Altera Nios II and Adapteva Epiphany
* Added tune files for Cavium ThunderX, Cavium Octeon, ARM Cortex-A17,
Intel Quark X1000, and ARM vfpv3 and vfpv3d16 features
* Added support for building baremetal toolchains
* Added support for building nativesdk versions of the toolchain, to
potentially replace the host toolchain
* Added recipes to the core: iw, alsa-plugins, ruby, iso-codes, libcap-ng,
p11-kit, libwnck3, libwebp, libsecret, libyaml, swig, gcr, gnome-desktop3,
gsettings-desktop-schemas. Many of these were added in order to be able to
build the most recent version of webkitgtk and epiphany, which have also
been added.
* Added support for GPG-signed RPM packages and package feeds
* Added basic support for sstate package signing/validation
* Stale files from removed/renamed recipes now automatically removed from
the sysroot
* bitbake variable overrides now handled dynamically (update_data() no
longer required)
* Toaster Web UI improvements:
  - Improved performance and reliability: Toaster now builds almost
anything you throw at it
  - Simplified setup process: get Toaster up and running with a single
command
  - Support for Z shell (zsh)
  - New project UI with better navigation and layout
  - Improved layer dependency handling: Toaster will now retrieve and
display second-level layer dependencies
  - Separate list of image recipes: available images are now easier to
find and build
* wic image creation tool version 0.2.0, including bug fixes, code cleanup
and new features:
  - fixed support for GPT partition tables
  - uses native tools (parted, mkfs, mtools, etc)
  - add image compression support
  - add partition UUID support
  - add plugin for hybrid iso image
  - add plugin for single partition disk
  - add support for building rootfs externally (wic invokes bitbake to
build the image)
  - support ontrackdm6aux3 partitions for Freescale mxs platforms
* Image generation improvements:
  - Added qcow2 type
  - Added vdi (VirtualBox VDI) type
  - Added hdddirect type
  - Added wic ima

[yocto] [PATCH] buildset-config.staging/nightly-no-x11.conf

2015-10-20 Thread Graydon, Tracy
[YOCTO #6854]

This patchset relocates nigtly-no-x11.conf to buildset-config.staging
while work in in progress. It also removes nightly-no-x11 from the
yoctoAB.conf file in buildset-config.controller dir. This effecitively
removed the currently non-functioning no-x11 build from nightly build
for now.

Signed-off-by: Graydon, Tracy 
---
 buildset-config.controller/nightly-no-x11.conf | 19 ---
 buildset-config.controller/yoctoAB.conf| 10 +-
 buildset-config.staging/nightly-no-x11.conf| 19 +++
 3 files changed, 24 insertions(+), 24 deletions(-)
 delete mode 100644 buildset-config.controller/nightly-no-x11.conf
 create mode 100644 buildset-config.staging/nightly-no-x11.conf

diff --git a/buildset-config.controller/nightly-no-x11.conf 
b/buildset-config.controller/nightly-no-x11.conf
deleted file mode 100644
index 4881154..000
--- a/buildset-config.controller/nightly-no-x11.conf
+++ /dev/null
@@ -1,19 +0,0 @@
-[nightly-no-x11]
-builders: 'example-worker'
-repos: [{'poky':
-{'repourl':'git://git.yoctoproject.org/poky',
- 'layerversion':{'core':'meta', 'yoctobsp':'meta-yocto-bsp'},
- 'branch':'master'}}]
-steps: [{'SetDest':{}},
-{'CheckOutLayers': {}},
-{'RunPreamble': {}},
-{'GetDistroVersion' : {'distro': 'poky'}},
-{'CreateAutoConf': {'machine': 'qemux86-64', 'SDKMACHINE' : 'i686',
-'distro': 'poky', 'buildhistory' : False,
-'atextappend' : '\nDISTRO_FEATURES_remove = 
"x11"\n'}},
-{'CreateBBLayersConf': {'buildprovider' : 'yocto'}},
-{'SyncPersistDB' : {'distro' : 'poky'}},
-{'GetBitbakeVersion': {}},
-{'BuildImages': {'images': 'world'}},
-{'SendErrorReport': {}},
-{'UploadToasterEventlog': {}}]
diff --git a/buildset-config.controller/yoctoAB.conf 
b/buildset-config.controller/yoctoAB.conf
index 0f9ba0c..5f39d6f 100644
--- a/buildset-config.controller/yoctoAB.conf
+++ b/buildset-config.controller/yoctoAB.conf
@@ -3,9 +3,9 @@ order: ['nightly', 'eclipse-plugin-mars',
 'eclipse-plugin-kepler', 'eclipse-plugin-luna',
 'nightly-arm', 'nightly-arm64', 'nightly-arm-lsb', 
 'nightly-mips', 'nightly-mips64', 'nightly-mips-lsb', 
-'nightly-ppc', 'nightly-ppc-lsb', 'nightly-no-x11',
-'nightly-x86-64', 'nightly-x86-64-lsb', 'nightly-x86',
-'nightly-x86-lsb', 'nightly-x32', 'nightly-multilib',
-'nightly-world', 'nightly-world-lsb', 'nightly-non-gpl3', 
-'nightly-oecore', 'nightly-intel-gpl', 'nightly-wic', 'poky-tiny',
+'nightly-ppc', 'nightly-ppc-lsb', 'nightly-x86-64', 
+'nightly-x86-64-lsb', 'nightly-x86', 'nightly-x86-lsb', 
+'nightly-x32', 'nightly-multilib', 'nightly-world', 
+'nightly-world-lsb', 'nightly-non-gpl3', 'nightly-oecore', 
+'nightly-intel-gpl', 'nightly-wic', 'poky-tiny',
 'build-appliance', 'nightly-qa-extras', 'nightly-qa-systemd']
diff --git a/buildset-config.staging/nightly-no-x11.conf 
b/buildset-config.staging/nightly-no-x11.conf
new file mode 100644
index 000..4881154
--- /dev/null
+++ b/buildset-config.staging/nightly-no-x11.conf
@@ -0,0 +1,19 @@
+[nightly-no-x11]
+builders: 'example-worker'
+repos: [{'poky':
+{'repourl':'git://git.yoctoproject.org/poky',
+ 'layerversion':{'core':'meta', 'yoctobsp':'meta-yocto-bsp'},
+ 'branch':'master'}}]
+steps: [{'SetDest':{}},
+{'CheckOutLayers': {}},
+{'RunPreamble': {}},
+{'GetDistroVersion' : {'distro': 'poky'}},
+{'CreateAutoConf': {'machine': 'qemux86-64', 'SDKMACHINE' : 'i686',
+'distro': 'poky', 'buildhistory' : False,
+'atextappend' : '\nDISTRO_FEATURES_remove = 
"x11"\n'}},
+{'CreateBBLayersConf': {'buildprovider' : 'yocto'}},
+{'SyncPersistDB' : {'distro' : 'poky'}},
+{'GetBitbakeVersion': {}},
+{'BuildImages': {'images': 'world'}},
+{'SendErrorReport': {}},
+{'UploadToasterEventlog': {}}]
-- 
2.4.3

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [ANNOUNCEMENT] Milestone 3 for Yocto Project 1.9 now available.

2015-09-28 Thread Graydon, Tracy
The third milestone release for Yocto Project 1.9 is available for
download now.

http://downloads.yoctoproject.org/releases/yocto/milestones/yocto-1.9_M3/


Thank you everyone for your contributions.

eclipse-poky/mars-master 05ba7b6791083a70c78366f9737e27d9dd25d08b
eclipse-poky/kepler-master cf60ac293629fc8ecd6c4eb3709a6f334b499d0c
eclipse-poky/luna-master 45aa5c77523bdf051d548fff4305382942db2ebb
meta-qt3 3016129d90b7ac8517a5227d819f10ad417b5b45
poky ea562de57590c966cd5a75fda8defecd397e6436



Test report at:


https://wiki.yoctoproject.org/wiki/WW38_-_2015-09-15_-_Full_Pass_1.9_M3.rc1



Tracy Graydon
Yocto Project
Build and Release

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH] buildset-config.examples/gitpoller.conf, README-NEW-AUTOBUILDER

2015-09-16 Thread Graydon, Tracy
[YOCTO #7702]

This patchset provides an example buildset conf for a multi-
branch GitPoller, which may be found in the
build-config.examples directory. The README-NEW-AUTOBUILDER
file has also been updated with this example.

Signed-off-by: Graydon, Tracy 
---
 README-NEW-AUTOBUILDER  | 43 -
 buildset-config.examples/gitpoller.conf | 33 +
 2 files changed, 75 insertions(+), 1 deletion(-)
 create mode 100644 buildset-config.examples/gitpoller.conf

diff --git a/README-NEW-AUTOBUILDER b/README-NEW-AUTOBUILDER
index d519b15..c37c8c4 100644
--- a/README-NEW-AUTOBUILDER
+++ b/README-NEW-AUTOBUILDER
@@ -249,7 +249,7 @@ scheduler: A list of dicts. Each item defines a scheduler 
associated with this
If you are using a SingleBranchScheduler schedule, it is good
practice to force a build to verify the buildset works correctly.
 
-Example:
+Example of PBChangeSource:
 
 [nightly-x86]
 builders: 'builder1'
@@ -276,6 +276,47 @@ scheduler: [{'dev-branch-scheduler' :
  'stable-timer':30,
  'change-password':'secret_change_password'}}]
 
+
+Example of MultiBranch GitPoller:
+
+[git-poller]
+builders: 'example-worker'
+repos: [{'poky-contrib':
+{'repourl':'git://git.yoctoproject.org/poky-contrib',
+ 'layerversion':{'core':'meta', 'yoctobsp':'meta-yocto-bsp'},
+ 'branch':'tgraydon/poky'}},
+{'meta-qt3':
+{'repourl':'git://git.yoctoproject.org/poky-contrib',
+ 'branch':'tgraydon/meta-qt3'}}]
+steps: [{'SetDest':{}},
+{'CheckOutLayers': {}},
+{'RunPreamble': {}},
+{'GetDistroVersion' : {'distro': 'poky'}},
+{'CreateAutoConf': {'machine': 'qemux86', 'SDKMACHINE' : 'i686',
+'distro': 'poky'}},
+{'CreateBBLayersConf': {'buildprovider' : 'yocto'}},
+{'BuildImages': {'images': 'core-image-sato'}},
+{'PublishLayerTarballs':{}},
+{'PublishArtifacts': {'artifacts': ['qemux86', 'atom-pc']}}]
+scheduler: [{'git-poller-scheduler':
+{'type':'SingleBranchScheduler',
+ 'changesource':'GitPoller',
+ 'repository':'poky-contrib',
+ 'branch':'tgraydon/poky',
+ 'interval':3600},
+ 'stable-timer':300}}]
+scheduler: [{'git-poller-scheduler':
+{'type':'SingleBranchScheduler',
+ 'changesource':'GitPoller',
+ 'repository':'poky-contrib',
+ 'branch':'tgraydon/meta-qt3',
+ 'interval':3600},
+ 'stable-timer':300}}]
+
+Note that the 'change-password' property is not used for GitPoller. This 
+buildset config may also be found in the build-config.examples directory.
+
+
 Adding Buildsteps
 -
 I've included the basic buildsteps required to do general building as well as 
an
diff --git a/buildset-config.examples/gitpoller.conf 
b/buildset-config.examples/gitpoller.conf
new file mode 100644
index 000..9bf5165
--- /dev/null
+++ b/buildset-config.examples/gitpoller.conf
@@ -0,0 +1,33 @@
+[git-poller]
+builders: 'example-worker'
+repos: [{'poky-contrib':
+{'repourl':'git://git.yoctoproject.org/poky-contrib',
+ 'layerversion':{'core':'meta', 'yoctobsp':'meta-yocto-bsp'},
+ 'branch':'tgraydon/poky'}},
+{'meta-qt3':
+{'repourl':'git://git.yoctoproject.org/poky-contrib',
+ 'branch':'tgraydon/meta-qt3'}}]
+steps: [{'SetDest':{}},
+{'CheckOutLayers': {}},
+{'RunPreamble': {}},
+{'GetDistroVersion' : {'distro': 'poky'}},
+{'CreateAutoConf': {'machine': 'qemux86', 'SDKMACHINE' : 'i686',
+'distro': 'poky'}},
+{'CreateBBLayersConf': {'buildprovider' : 'yocto'}},
+{'BuildImages': {'images': 'core-image-sato'}},
+{'PublishLayerTarballs':{}},
+{'PublishArtifacts': {'artifacts': ['qemux86', 'atom-pc']}}]
+scheduler: [{'git-poller-scheduler':
+{'type':'SingleBranchScheduler',
+ 'changesource':'GitPoller',
+ 'repository':'poky-contrib',
+ 'branch':'tgraydon/poky',
+ 'interval':'3600,
+ 'stable-timer':300}}]
+scheduler: [{'git-poller-scheduler':
+{'type':'SingleBranchScheduler',
+ 'changesource':'GitPoller',
+ 'repository':'poky-contrib',
+ 'branch':'tgraydon/meta-qt3',
+ 'interval':'3600,
+ 'stable-timer':300}}]
-- 
1.9.3

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH] README: fix name of tap generating script

2015-09-14 Thread Graydon, Tracy
[YOCTO #8164]

README said "run poky/scripts/runqemu-setup-tapdev. Updated to
reflect correct script sname of poky/scripts/runqemu-gen-tapdevs.

Signed-off-by: Graydon, Tracy 
---
 README | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/README b/README
index 06b9cbc..7edb66c 100644
--- a/README
+++ b/README
@@ -13,7 +13,7 @@ you will need to:
 
 1. Install tight-vnc client and server.
 
-2. Set up tap devs by running poky/scripts/runqemu-setup-tapdev
+2. Set up tap devs by running poky/scripts/runqemu-gen-tapdevs
 
 3. Add "xterm*vt100*geometry: 80x50+10+10" to .Xdefaults
 
-- 
1.9.3

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH] buildset-config.iot-devkit/*

2015-09-07 Thread Graydon, Tracy
[YOCTO: #7703]

Added buildset-config.iot-devkit/*. This buildset uses the following 
repos/branches:

poky: dizzy
meta-intel-iot-devkit: master
meta-intel-iot-middleware: dizzy
meta-intel-quark: dizzy
meta-intel-galileo: dizzy
meta-openembedded: dizzy

And builds the following images:

iot-devkit-image
iot-devkit-prof-image
iot-devkit-prof-dev-image

Signed-off-by: Graydon, Tracy 
---
 buildset-config.iot-devkit/iot-devkit.conf | 33 ++
 buildset-config.iot-devkit/yoctoAB.conf|  2 ++
 2 files changed, 35 insertions(+)
 create mode 100644 buildset-config.iot-devkit/iot-devkit.conf
 create mode 100644 buildset-config.iot-devkit/yoctoAB.conf

diff --git a/buildset-config.iot-devkit/iot-devkit.conf 
b/buildset-config.iot-devkit/iot-devkit.conf
new file mode 100644
index 000..c34d1fd
--- /dev/null
+++ b/buildset-config.iot-devkit/iot-devkit.conf
@@ -0,0 +1,33 @@
+[iot-devkit]
+builders: 'example-worker'
+repos: [{'poky':
+{'repourl':'git://git.yoctoproject.org/poky',
+ 'layerversion':{'core':'meta', 'yocto':'meta-yocto', 
'yoctobsp':'meta-yocto-bsp'},
+ 'branch':'dizzy'}},
+{'meta-intel-iot-devkit':
+{'repourl':'git://git.yoctoproject.org/meta-intel-iot-devkit',
+ 'branch':'master'}},
+{'meta-intel-iot-middleware':
+{'repourl':'git://git.yoctoproject.org/meta-intel-iot-middleware',
+ 'branch':'dizzy'}},
+{'meta-intel-quark':
+{'repourl':'git://git.yoctoproject.org/meta-intel-quark',
+ 'branch':'dizzy'}},
+{'meta-intel-galileo':
+{'repourl':'git://git.yoctoproject.org/meta-intel-galileo',
+ 'branch':'dizzy'}},
+{'meta-openembedded':
+{'repourl':'git://git.openembedded.org/meta-openembedded',
+ 'branch':'dizzy'}}]
+steps: [{'SetDest':{}},
+{'CheckOutLayers': {}},
+{'RunPreamble': {}},
+{'GetDistroVersion' : {'distro': 'poky'}},
+{'CreateAutoConf': {'machine': 'quark', 'SDKMACHINE' : 'x86_64', 
'distro': 'iot-devkit-multilibc'}},
+{'CreateBBLayersConf': {'buildprovider' : 'yocto', 'layerdirs': 
['meta-yocto', 'meta-intel-iot-devkit', 
+  'meta-intel-iot-middleware', 'meta-intel-quark', 
'meta-intel-galileo', 'meta-openembedded/meta-oe',
+  'meta-openembedded/meta-filesystems']}},
+{'BuildImages': {'images': 'iot-devkit-image iot-devkit-prof-image 
iot-devkit-prof-dev-image'}},
+{'PublishLayerTarballs':{}},
+{'SendErrorReport': {}},
+{'PublishArtifacts': {'artifacts': ['quark', 'ipk', 'md5sums']}}]
diff --git a/buildset-config.iot-devkit/yoctoAB.conf 
b/buildset-config.iot-devkit/yoctoAB.conf
new file mode 100644
index 000..0c0cf33
--- /dev/null
+++ b/buildset-config.iot-devkit/yoctoAB.conf
@@ -0,0 +1,2 @@
+[BuildSets]
+order: ['iot-devkit']
-- 
1.9.3

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [ANNOUNCEMENT] Yocto Project 1.7.2 (dizzy 12.0.2) Released

2015-05-28 Thread Graydon, Tracy
All,

We are pleased to announce the second point release for Yocto Project
"dizzy" 1.7.2.

This release contains 130 patches including 13 patches for known CVEs.

This release is available for download at:
http://downloads.yoctoproject.org/releases/yocto/yocto-1.7.2/poky-dizzy-12.
0.2.tar.bz2

or

http://mirrors.kernel.org/yocto/yocto/yocto-1.7.2/poky-dizzy-12.0.2.tar.bz2

Thanks to everyone for all your work and contributions.

Tracy Graydon
Yocto Project 
Release Engineering


yocto-1.7.2 Errata


Release Name: poky-dizzy-12.0.2
Branch: dizzy
Tag: dizzy-12.0.2
Hash: 29812e61736a95f1de64b3e9ebbb9c646ebd28dd
md5sum: ce11dea7fb8651dbdefde4fa9d4943e4
Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-1.7.2/poky-dizzy-12.
0.2.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-1.7.2/poky-dizzy-12.0.2.tar.bz2

Release Name: eclipse-poky-juno-dizzy-12.0.2
Branch: dizzy
Tag: dizzy-12.0.2
Hash: f5e33fc79a3f77b0013c005019b72430d8998e8b
md5sum: 7c8445ee4a76f3561d6c3aeae9d3932b
Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-1.7.2/eclipse-poky-j
uno-dizzy-12.0.2.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-1.7.2/eclipse-poky-juno-dizzy-1
2.0.2.tar.bz2

Release Name: eclipse-poky-kepler-dizzy-12.0.2
Branch: dizzy
Tag: dizzy-12.0.2
Hash: 92f81a5b75ef184a88ba3aded5941dafced0e4cc
md5sum: 41e79213e0635b1c963818e71b7fc6c6
http://downloads.yoctoproject.org/releases/yocto/yocto-1.7.2/eclipse-poky-k
epler-dizzy-12.0.2.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-1.7.2/eclipse-poky-kepler-dizzy
-12.0.2.tar.bz2

Release Name: eclipse-poky-luna-dizzy-12.0.2
Branch: dizzy
Tag: dizzy-12.0.2
Hash: 0ab86ce01713632f54e1d4657133f4eb17db9135
md5sum: 5b4e3d151d7ac12870975d63da7f4afe
http://downloads.yoctoproject.org/releases/yocto/yocto-1.7.2/eclipse-poky-l
una-dizzy-12.0.2.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-1.7.2/eclipse-poky-luna-dizzy-1
2.0.2.tar.bz2

Release Name: meta-qt3-dizzy-12.0.2
Branch: dizzy
Tag: dizzy-12.0.2
Hash: 3016129d90b7ac8517a5227d819f10ad417b5b45
md5sum: e85990f7b8a4e3b539b7a5a302592a73
http://downloads.yoctoproject.org/releases/yocto/yocto-1.7.2/meta-qt3-dizzy
-12.0.2.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-1.7.2/meta-qt3-dizzy-12.0.2.tar
.bz2



Security


cpio: 
CVE-2015-1197
patch: 
CVE-2015-1196
e2fsprogs:  
CVE-2015-0247
util-linux: 
CVE-2014-9114
lzop: 
CVE-2014-4607
busybox: 
CVE-2014-9645
elfutils: 
CVE-2014-9447
python: 
CVE-2014-3566
glibc: 
CVE-2014-9402 
file: 
CVE-2014-9620 
CVE-2014-9621
libxml2: 
CVE-2014-3660
coreutils: 
CVE-2014-9471


Patches


* autotools: Avoid find race for S = "${WORKDIR}"
* base-files: Check for /run and /var/lock softlinks on upgrade
* bind: fix typo chown->chmod
* bitbake: 
- add PKGDATA_DIR to BB_HASHBASE_WHITELIST
- ast: Add error when trying to use dash in sh function names
- bitbake-worker: Use setsid() rather than setpgid()
- Add pyinotify to lib/
- cache/fetch2/siggen: Ensure we track include history for file
checksums
- cooker/cache/parse: Implement pyinofity based reconfigure
- cooker/server: Fix up 100% CPU usage at idle
- cooker: Fix pyinotify handling of ENOENT issues
- cooker: Further optimise pyinotify
- cooker: Improve pyinotify performance
- cooker: Shut down the parser in error state
- cooker: read file watches on server idle
- data.py: fixes bad substitution when running devshell
- data_smart: split expanded removal values when handling _remove
- fetch/git: Remove a possible trailing '/' in subpath
- tests/data: add test for incorrect remove behaviour
- wget: Add localpaths method which gives localpath with history
- add safeguard against recursively deleting things we shouldn't
* boost: Avoid to use local host configuration
* build-appliance-image: Update to dizzy head revision
* busybox: 
- libarchive: open_zipped() does not need to check extensions
- unbreak tar of uncompressed files
* cross-canadian/meta-environment: Allow modification of TARGET_OS to be
optional
* distcc: fix initscript can not stop distcc daemon correctly
* documenation: 
- Updates to release month for rev history tables.
- Preparation for 1.7.2 release.
- Reverted back to the 1.76.1 XSL stylesheet
* dpkg-native: Avoid 'file changed' errors from tar
* dpkg: 
- Fix patch to adjust for older code
- add perl to RDEPENDS
- fix host contamination
* e2fsprogs: Add a patch to speedup mkfs
* files: fix replace target_sdk_dir twice in environment setup file
* fix '[[: not found' error message using dash
* fontcache: 
   - prepend to PACKAGEFUNCS instead of appending
   - allow to pass different fontconfig cache dir
* gcc-runtime: Remove libgfortran data from receipe
* gcc-target: Don't install target gcc libdir files
* gcc/libgc

[yocto] [ANNOUNCEMENT] Yocto Project 1.8 (fido 13.0.0) Released

2015-04-22 Thread Graydon, Tracy
Hello,

The latest release of the Yocto Project 1.8 (fido-13.0.0) is now available
for download at:

http://downloads.yoctoproject.org/releases/yocto/yocto-1.8/poky-fido-13.0.0
.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-1.8/poky-fido-13.0.0.tar.bz2

A gpg signed version of these release notes is available at:

http://downloads.yoctoproject.org/releases/yocto/yocto-1.8/RELEASENOTES

Full pass test report is available at:

https://wiki.yoctoproject.org/wiki/Ww14_-_2015-04-03_-_Full_Pass_1.8_M4.rc2

Thanks go out to everyone for all their hard work during this release!

Sincerely,

Tracy Graydon
Yocto Project
Build and Release

-
yocto-1.8 Errata
-

Release Name: poky-fido-13.0.0
Branch: fido
Tag: fido-13.0.0
Hash: 90d943ae6246ef75f31062f52bee2a32e12ac329
md5: 2d92a34887c4c051aa9e754d0205df1d
Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-1.8/poky-fido-13.0.0
.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-1.8/poky-fido-13.0.0.tar.bz2

Release Name: eclipse-poky-juno-fido-13.0.0
Branch: fido
Tag: fido-13.0.0
Hash: f5e33fc79a3f77b0013c005019b72430d8998e8b
md5: b5d6d44346c815a2e3a070b4dbbdd90a
Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-1.8/eclipse-poky-jun
o-fido-13.0.0.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-1.8/eclipse-poky-juno-fido-13.0
.0.tar.bz2

Release Name: eclipse-poky-kepler-fido-13.0.0
Branch: fido
Tag: fido-13.0.0
Hash: 92f81a5b75ef184a88ba3aded5941dafced0e4cc
md5: ed487c0dbf7b899aeba4dde9242e2361
Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-1.8/eclipse-poky-kep
ler-fido-13.0.0.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-1.8/eclipse-poky-kepler-fido-13
.0.0.tar.bz2

Release Name: meta-qt3-fido-13.0.0
Branch: fido
Tag: fido-13.0.0
Hash: 3016129d90b7ac8517a5227d819f10ad417b5b45
md5: ed487c0dbf7b899aeba4dde9242e2361
Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-1.8/meta-qt3-fido-13
.0.0.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-1.8/meta-qt3-fido-13.0.0.tar.bz
2

---
New Features / Enhancements
---
* Linux kernel 3.19
* glibc 2.21
* Toaster web UI enhancements:
- - Ability to configure and run builds
- - Ability to bring in layers and related information from a layer index
- - Documentation: new Toaster manual
* Kernel improvements:
- - Major kernel build performance improvements
- - Introduce core-image-kernel-dev for kernel testing & development
- - Create kernel-devsrc package for kernel development both on and
off-target
- - linux-yocto: allow in-tree defconfigs
- - linux-yocto: make kernel configuration audit user visible
* Developer workflow tools:
- - Add development helper tool (devtool) to make adding new recipes and
modifying source for existing ones easier
- - Add new recipe auto-creation script (recipetool)
- - Add preview of extensible SDK
* Add machine qemuarm64 and improved aarch64 support
* Add bsp support for UNIVAC 1230
* Provide a proper mechanism for selecting between bluez4/bluez5
* bitbake-layers: add subcommands for adding and removing layers
* bitbake-layers: add ability to fetch layers and their dependencies from
layer index
* Doubled release engineering resources
* wic image creator enhancements:
- - rawcopy: support skipping
- - add fsimage plugin
- - add GPT support
- - properly label filesystems
- - allow to configure overhead factor per partition
- - allow to configure extra space per partition
- - add rawcopy source plugin
- - allow creation of partitions not in table
- - account for mmcblk device partition naming
* read-only-rootfs now works with systemd
* uboot-config.bbclass: Allow multiple U-Boot config for machine
* build-compare: add recipe to support package comparisons
* Enabled gcc-sanitizers and add to on-target SDK
* syslinux: support ext2/3/4 device
* chrpath.bbclass: handle RUNPATH as well as RPATH
* busybox-mdev: Support automatic mounting of block devices
* Make PR server update PKGV, not PV
* gst-plugins-*, gstreamer1.0-plugins-*: make installing main package pull
in all plugins
* image.bbclass: make kernel depmod data optional
* rootfs.py: add log checking ability for deb and ipk
* binconfig-disabled: try harder to prevent usage of config scripts
* bitbake: fetch2: add .lz compression support
* bitbake: re-validate SRC_URI checksums when changed within recipe
* Enable using 'make clean' for rebuilds within do_configure
* Use prebuilt manpages for coreutils and git
* Replace owl-video/gaku with gst-player
* Ensure if python appears in SDK, all of Python is installed
* cronie: Added default crontab
* watchdog: Provide and install initscript
* terminal.py: add tmux new window option
* lib/oe/terminal: add support for Terminology terminal emulator
* Improved layer dependencies mechanism
* Import recipes: libpostproc, debianutils (from meta-oe) and
python-pexpect (from meta-python)
* Add gptfdisk 0.8.10+g

[yocto] [PATCH] nightly-no-x11.conf: Run regular build tests for no-X11 case

2015-04-07 Thread Graydon, Tracy
[YOCTO #6854]

A common configuration selection is to remove x11 from
DISTRO_FEATURES. Add a nightly-no-x11.conf builset to allow us to test this
via the autobuilder. Also added to nightly.conf and yoctoAB.conf. Build
core-image-weston as a starting point.

Signed-off-by: Graydon, Tracy 
---
 buildset-config.controller/nightly-no-x11.conf | 24 
 buildset-config.controller/nightly.conf|  2 +-
 buildset-config.controller/yoctoAB.conf|  5 +++--
 3 files changed, 28 insertions(+), 3 deletions(-)
 create mode 100644 buildset-config.controller/nightly-no-x11.conf

diff --git a/buildset-config.controller/nightly-no-x11.conf 
b/buildset-config.controller/nightly-no-x11.conf
new file mode 100644
index 000..1e292dc
--- /dev/null
+++ b/buildset-config.controller/nightly-no-x11.conf
@@ -0,0 +1,24 @@
+[nightly-no-x11]
+builders: 'example-worker'
+repos: [{'poky':
+{'repourl':'git://git.yoctoproject.org/poky',
+ 'layerversion':{'core':'meta', 'yoctobsp':'meta-yocto-bsp'},
+ 'branch':'master'}},
+{'meta-qt3':
+{'repourl':'git://git.yoctoproject.org/meta-qt3',
+ 'branch':'master'}}]
+steps: [{'SetDest':{}},
+{'CheckOutLayers': {}},
+{'RunPreamble': {}},
+{'GetDistroVersion' : {'distro': 'poky'}},
+{'CreateAutoConf': {'machine': 'qemux86-64', 'SDKMACHINE' : 'i686',
+'distro': 'poky', 'buildhistory' : False}},
+'atextappend' : '\nDISTRO_FEATURES_remove = 
"x11"\n'}},
+{'CreateBBLayersConf': {'buildprovider' : 'yocto'}},
+{'SyncPersistDB' : {'distro' : 'poky'}},
+{'GetBitbakeVersion': {}},
+{'BuildImages': {'images': 'core-image-no-x11'}},
+{'PublishLayerTarballs':{}},
+{'SendErrorReport': {}},
+{'UploadToasterEventlog': {}},
+{'PublishArtifacts': {'artifacts': ['qemux86-64', 'md5sums']}}]
diff --git a/buildset-config.controller/nightly.conf 
b/buildset-config.controller/nightly.conf
index cf7c77c..0db775b 100644
--- a/buildset-config.controller/nightly.conf
+++ b/buildset-config.controller/nightly.conf
@@ -88,7 +88,7 @@ steps: [{'SetDest':{}},
'eclipse-plugin-kepler': {}, 'eclipse-plugin-juno': 
{},
'nightly-non-gpl3': {}, 'nightly-oecore': {},
'nightly-world':{}, 'nightly-world-lsb':{}, 
'nightly-intel-gpl': {},
-   'poky-tiny': {}, 'buildtools': {},
+   'nightly-no-x11':{}, 'poky-tiny': {}, 'buildtools': 
{},
'nightly-qa-systemd': {}, 'nightly-qa-extras': {},
'nightly-qa-logrotate': {}, 'nightly-qa-pam': {},
'nightly-qa-skeleton': {,
diff --git a/buildset-config.controller/yoctoAB.conf 
b/buildset-config.controller/yoctoAB.conf
index 5bc369d..4f2322b 100644
--- a/buildset-config.controller/yoctoAB.conf
+++ b/buildset-config.controller/yoctoAB.conf
@@ -6,5 +6,6 @@ order: ['nightly', 'eclipse-plugin-juno',
 'nightly-x86-64', 'nightly-x86-64-lsb', 'nightly-x86',
 'nightly-x86-lsb', 'nightly-x32', 'nightly-multilib',
 'nightly-world', 'nightly-world-lsb', 'nightly-non-gpl3', 
-'nightly-oecore', 'nightly-intel-gpl', 'poky-tiny',
-'build-appliance', 'nightly-qa-extras', 'nightly-qa-systemd']
+'nightly-oecore', 'nightly-intel-gpl', 'nightly-no-x11',
+'poky-tiny', 'build-appliance', 
+'nightly-qa-extras', 'nightly-qa-systemd']
-- 
1.9.3

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [PATCH] nightly-weston.conf: Run regular build tests for no-X11 case

2015-03-31 Thread Graydon, Tracy
Just following up on this. What images do we wish to do this for?

Tracy



From: , Ross mailto:ross.bur...@intel.com>>
Date: Monday, March 30, 2015 at 2:35 AM
To: Paul Eggleton 
mailto:paul.eggle...@linux.intel.com>>
Cc: Tracy Graydon mailto:tracy.gray...@intel.com>>, 
"yocto@yoctoproject.org" 
mailto:yocto@yoctoproject.org>>
Subject: Re: [yocto] [PATCH] nightly-weston.conf: Run regular build tests for 
no-X11 case


On 28 March 2015 at 15:33, Paul Eggleton 
mailto:paul.eggle...@linux.intel.com>> wrote:
When I wrote the bug I was thinking more of systems with no graphics
at all rather than with Weston replacing X11 - not that we shouldn't be
testing Weston though I guess.

I guess there's value in both.  I for one certainly want to see the non-X11 but 
still GL-enabled codepaths exerised for the Mesa/GTK+/GStreamer stacks.

Ross
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH] nightly-weston.conf: Run regular build tests for no-X11 case

2015-03-27 Thread Graydon, Tracy
[YOCTO #6854]

A common configuration selection is to remove x11 from
DISTRO_FEATURES. Add a nightly-weston.conf builset to allow us to test this
via the autobuilder. Also added to nightly.conf and yoctoAB.conf.

Signed-off-by: Graydon, Tracy 
---
 buildset-config.controller/nightly-weston.conf | 24 
 buildset-config.controller/nightly.conf|  2 +-
 buildset-config.controller/yoctoAB.conf|  5 +++--
 3 files changed, 28 insertions(+), 3 deletions(-)
 create mode 100644 buildset-config.controller/nightly-weston.conf

diff --git a/buildset-config.controller/nightly-weston.conf 
b/buildset-config.controller/nightly-weston.conf
new file mode 100644
index 000..d9875c6
--- /dev/null
+++ b/buildset-config.controller/nightly-weston.conf
@@ -0,0 +1,24 @@
+[nightly-weston]
+builders: 'example-worker'
+repos: [{'poky':
+{'repourl':'git://git.yoctoproject.org/poky',
+ 'layerversion':{'core':'meta', 'yoctobsp':'meta-yocto-bsp'},
+ 'branch':'master'}},
+{'meta-qt3':
+{'repourl':'git://git.yoctoproject.org/meta-qt3',
+ 'branch':'master'}}]
+steps: [{'SetDest':{}},
+{'CheckOutLayers': {}},
+{'RunPreamble': {}},
+{'GetDistroVersion' : {'distro': 'poky'}},
+{'CreateAutoConf': {'machine': 'qemux86-64', 'SDKMACHINE' : 'i686',
+'distro': 'poky', 'buildhistory' : False}},
+'atextappend' : '\nDISTRO_FEATURES_remove = " 
x11"\n'}},
+{'CreateBBLayersConf': {'buildprovider' : 'yocto'}},
+{'SyncPersistDB' : {'distro' : 'poky'}},
+{'GetBitbakeVersion': {}},
+{'BuildImages': {'images': 'core-image-weston'}},
+{'PublishLayerTarballs':{}},
+{'SendErrorReport': {}},
+{'UploadToasterEventlog': {}},
+{'PublishArtifacts': {'artifacts': ['qemux86-64', 'md5sums']}}]
diff --git a/buildset-config.controller/nightly.conf 
b/buildset-config.controller/nightly.conf
index cf7c77c..13235bf 100644
--- a/buildset-config.controller/nightly.conf
+++ b/buildset-config.controller/nightly.conf
@@ -88,7 +88,7 @@ steps: [{'SetDest':{}},
'eclipse-plugin-kepler': {}, 'eclipse-plugin-juno': 
{},
'nightly-non-gpl3': {}, 'nightly-oecore': {},
'nightly-world':{}, 'nightly-world-lsb':{}, 
'nightly-intel-gpl': {},
-   'poky-tiny': {}, 'buildtools': {},
+   'nightly-weston':{}, 'poky-tiny': {}, 'buildtools': 
{},
'nightly-qa-systemd': {}, 'nightly-qa-extras': {},
'nightly-qa-logrotate': {}, 'nightly-qa-pam': {},
'nightly-qa-skeleton': {,
diff --git a/buildset-config.controller/yoctoAB.conf 
b/buildset-config.controller/yoctoAB.conf
index 5bc369d..ab771c0 100644
--- a/buildset-config.controller/yoctoAB.conf
+++ b/buildset-config.controller/yoctoAB.conf
@@ -6,5 +6,6 @@ order: ['nightly', 'eclipse-plugin-juno',
 'nightly-x86-64', 'nightly-x86-64-lsb', 'nightly-x86',
 'nightly-x86-lsb', 'nightly-x32', 'nightly-multilib',
 'nightly-world', 'nightly-world-lsb', 'nightly-non-gpl3', 
-'nightly-oecore', 'nightly-intel-gpl', 'poky-tiny',
-'build-appliance', 'nightly-qa-extras', 'nightly-qa-systemd']
+'nightly-oecore', 'nightly-intel-gpl', 'nightly-weston',
+'poky-tiny', 'build-appliance', 
+'nightly-qa-extras', 'nightly-qa-systemd']
-- 
1.9.3

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH] nightly-*.conf: Add GetBitbakeVersion build step

2015-03-27 Thread Graydon, Tracy
[YOCTO #7519]

Add the GetBitbakeVersion build step to nightly-*.conf buildsets
in buildset_config.controller to enable toaster on autobuilder.

Signed-off-by: Graydon, Tracy 
---
 buildset-config.controller/nightly-arm-lsb.conf | 1 +
 buildset-config.controller/nightly-arm.conf | 1 +
 buildset-config.controller/nightly-arm64.conf   | 1 +
 buildset-config.controller/nightly-fsl-arm-lsb.conf | 1 +
 buildset-config.controller/nightly-fsl-arm.conf | 1 +
 buildset-config.controller/nightly-fsl-ppc-lsb.conf | 1 +
 buildset-config.controller/nightly-fsl-ppc.conf | 1 +
 buildset-config.controller/nightly-mips-lsb.conf| 1 +
 buildset-config.controller/nightly-mips.conf| 1 +
 buildset-config.controller/nightly-ppc-lsb.conf | 1 +
 buildset-config.controller/nightly-ppc.conf | 1 +
 buildset-config.controller/nightly-x86-64-lsb.conf  | 1 +
 buildset-config.controller/nightly-x86-64.conf  | 1 +
 buildset-config.controller/nightly-x86-lsb.conf | 1 +
 buildset-config.controller/nightly-x86.conf | 1 +
 15 files changed, 15 insertions(+)

diff --git a/buildset-config.controller/nightly-arm-lsb.conf 
b/buildset-config.controller/nightly-arm-lsb.conf
index 261a1e3..f950b6d 100644
--- a/buildset-config.controller/nightly-arm-lsb.conf
+++ b/buildset-config.controller/nightly-arm-lsb.conf
@@ -15,6 +15,7 @@ steps: [{'SetDest':{}},
 'distro': 'poky-lsb', 'buildhistory' : True}},
 {'CreateBBLayersConf': {'buildprovider' : 'yocto'}},
 {'SyncPersistDB' : {'distro' : 'poky-lsb'}},
+{'GetBitbakeVersion': {}},
 {'BuildImages': {'images': 'core-image-lsb core-image-lsb-dev 
core-image-lsb-sdk core-image-lsb-qt3'}},
 {'CreateAutoConf': {'machine': 'beagleboard', 'SDKMACHINE' : 'i686', 
'distro': 'poky-lsb'}},
 {'BuildImages': {'images': 'core-image-lsb core-image-lsb-sdk'}},
diff --git a/buildset-config.controller/nightly-arm.conf 
b/buildset-config.controller/nightly-arm.conf
index d705bbc..ae73381 100644
--- a/buildset-config.controller/nightly-arm.conf
+++ b/buildset-config.controller/nightly-arm.conf
@@ -14,6 +14,7 @@ steps: [{'SetDest':{}},
 {'CreateAutoConf': {'machine': 'qemuarm', 'SDKMACHINE' : 'i686', 
'distro': 'poky', 'buildhistory' : True}},
 {'CreateBBLayersConf': {'buildprovider' : 'yocto'}},
 {'SyncPersistDB' : {'distro' : 'poky'}},
+{'GetBitbakeVersion': {}},
 {'BuildImages': {'images': 'core-image-sato core-image-sato-dev 
core-image-sato-sdk core-image-minimal core-image-minimal-dev'}},
 {'RunSanityTests': {'images': 'core-image-minimal core-image-sato 
core-image-sato-sdk'}},
 {'CreateAutoConf': {'machine': 'beagleboard', 'SDKMACHINE' : 'i686', 
'distro': 'poky'}},
diff --git a/buildset-config.controller/nightly-arm64.conf 
b/buildset-config.controller/nightly-arm64.conf
index 9595b3b..0b15ec8 100644
--- a/buildset-config.controller/nightly-arm64.conf
+++ b/buildset-config.controller/nightly-arm64.conf
@@ -14,6 +14,7 @@ steps: [{'SetDest':{}},
 {'CreateAutoConf': {'machine': 'qemuarm64', 'SDKMACHINE' :'i686', 
'distro': 'poky', 'buildhistory' : True}},
 {'CreateBBLayersConf': {'buildprovider' : 'yocto'}},
 {'SyncPersistDB' : {'distro' : 'poky'}},
+{'GetBitbakeVersion': {}},
 {'BuildImages': {'images': 'core-image-sato core-image-sato-dev 
core-image-sato-sdk core-image-minimal core-image-minimal-dev'}},
 {'RunSanityTests': {'images': 'core-image-minimal core-image-sato 
core-image-sato-sdk'}},
 {'CreateAutoConf': {'machine': 'qemuarm64', 'SDKMACHINE' : 'i686', 
'distro': 'poky', 'buildhistory' : False}},
diff --git a/buildset-config.controller/nightly-fsl-arm-lsb.conf 
b/buildset-config.controller/nightly-fsl-arm-lsb.conf
index cccb7a1..4599247 100644
--- a/buildset-config.controller/nightly-fsl-arm-lsb.conf
+++ b/buildset-config.controller/nightly-fsl-arm-lsb.conf
@@ -19,6 +19,7 @@ steps: [{'SetDest':{}},
 'atextprepend': 'ACCEPT_FSL_EULA = "1"\n',
 

[yocto] [PATCH] nightly-*.conf: Add GetBitbakeVersion build step

2015-03-26 Thread Graydon, Tracy
[YOCTO #7519]

Add the GetBitbakeVersion build step to nightly-*.conf buildsets
in buildset_config.controller to enable toaster on autobuilder.

Signed-off-by: Graydon, Tracy 
---
 buildset-config.controller/nightly-arm-lsb.conf | 2 ++
 buildset-config.controller/nightly-arm.conf | 2 ++
 buildset-config.controller/nightly-arm64.conf   | 1 +
 buildset-config.controller/nightly-fsl-arm-lsb.conf | 3 +++
 buildset-config.controller/nightly-fsl-arm.conf | 3 +++
 buildset-config.controller/nightly-fsl-ppc-lsb.conf | 1 +
 buildset-config.controller/nightly-fsl-ppc.conf | 1 +
 buildset-config.controller/nightly-mips-lsb.conf| 2 ++
 buildset-config.controller/nightly-mips.conf| 2 ++
 buildset-config.controller/nightly-ppc-lsb.conf | 2 ++
 buildset-config.controller/nightly-ppc.conf | 2 ++
 buildset-config.controller/nightly-x86-64-lsb.conf  | 2 ++
 buildset-config.controller/nightly-x86-64.conf  | 2 ++
 buildset-config.controller/nightly-x86-lsb.conf | 2 ++
 buildset-config.controller/nightly-x86.conf | 2 ++
 15 files changed, 29 insertions(+)

diff --git a/buildset-config.controller/nightly-arm-lsb.conf 
b/buildset-config.controller/nightly-arm-lsb.conf
index 261a1e3..1101803 100644
--- a/buildset-config.controller/nightly-arm-lsb.conf
+++ b/buildset-config.controller/nightly-arm-lsb.conf
@@ -15,8 +15,10 @@ steps: [{'SetDest':{}},
 'distro': 'poky-lsb', 'buildhistory' : True}},
 {'CreateBBLayersConf': {'buildprovider' : 'yocto'}},
 {'SyncPersistDB' : {'distro' : 'poky-lsb'}},
+{'GetBitbakeVersion': {}},
 {'BuildImages': {'images': 'core-image-lsb core-image-lsb-dev 
core-image-lsb-sdk core-image-lsb-qt3'}},
 {'CreateAutoConf': {'machine': 'beagleboard', 'SDKMACHINE' : 'i686', 
'distro': 'poky-lsb'}},
+{'GetBitbakeVersion': {}},
 {'BuildImages': {'images': 'core-image-lsb core-image-lsb-sdk'}},
 {'SyncPersistDB' : {'commit' : True, 'distro':'poky-lsb'}},
 {'PublishLayerTarballs':{}},
diff --git a/buildset-config.controller/nightly-arm.conf 
b/buildset-config.controller/nightly-arm.conf
index d705bbc..0ff654c 100644
--- a/buildset-config.controller/nightly-arm.conf
+++ b/buildset-config.controller/nightly-arm.conf
@@ -14,9 +14,11 @@ steps: [{'SetDest':{}},
 {'CreateAutoConf': {'machine': 'qemuarm', 'SDKMACHINE' : 'i686', 
'distro': 'poky', 'buildhistory' : True}},
 {'CreateBBLayersConf': {'buildprovider' : 'yocto'}},
 {'SyncPersistDB' : {'distro' : 'poky'}},
+{'GetBitbakeVersion': {}},
 {'BuildImages': {'images': 'core-image-sato core-image-sato-dev 
core-image-sato-sdk core-image-minimal core-image-minimal-dev'}},
 {'RunSanityTests': {'images': 'core-image-minimal core-image-sato 
core-image-sato-sdk'}},
 {'CreateAutoConf': {'machine': 'beagleboard', 'SDKMACHINE' : 'i686', 
'distro': 'poky'}},
+{'GetBitbakeVersion': {}},
 {'BuildImages': {'images': 'core-image-sato core-image-sato-dev 
core-image-sato-sdk core-image-minimal core-image-minimal-dev'}},
 {'CreateAutoConf': {'machine': 'qemuarm', 'SDKMACHINE' : 'i686', 
'distro': 'poky', 'buildhistory' : False}},
 {'BuildToolchainImages': {}},
diff --git a/buildset-config.controller/nightly-arm64.conf 
b/buildset-config.controller/nightly-arm64.conf
index 9595b3b..0b15ec8 100644
--- a/buildset-config.controller/nightly-arm64.conf
+++ b/buildset-config.controller/nightly-arm64.conf
@@ -14,6 +14,7 @@ steps: [{'SetDest':{}},
 {'CreateAutoConf': {'machine': 'qemuarm64', 'SDKMACHINE' :'i686', 
'distro': 'poky', 'buildhistory' : True}},
 {'CreateBBLayersConf': {'buildprovider' : 'yocto'}},
 {'SyncPersistDB' : {'distro' : 'poky'}},
+{'GetBitbakeVersion': {}},
 {'BuildImages': {'images': 'core-image-sato core-image-sato-dev 
core-image-sato-sdk core-image-minimal core-image-minimal-dev'}},
 {'RunSanityTests': {'images': 'core-image-minima

[yocto] [PATCH] nightly-meta-intel-world.conf: Do meta-intel world builds

2015-03-25 Thread Graydon, Tracy
[YOCTO #6385]

Do world builds for meta-intel-world for a couple of BSPs. This patch
adds the new nightly-meta-intel-world buildset to fix bug #6385. Also
added it to the nightly-meta-intel.conf and yoctoAB.conf.

Signed-off-by: Graydon, Tracy 
---
 .../nightly-meta-intel-world.conf  | 28 ++
 buildset-config.meta-intel/nightly-meta-intel.conf |  2 +-
 buildset-config.meta-intel/yoctoAB.conf|  7 +++---
 3 files changed, 33 insertions(+), 4 deletions(-)
 create mode 100644 buildset-config.meta-intel/nightly-meta-intel-world.conf

diff --git a/buildset-config.meta-intel/nightly-meta-intel-world.conf 
b/buildset-config.meta-intel/nightly-meta-intel-world.conf
new file mode 100644
index 000..13f71d1
--- /dev/null
+++ b/buildset-config.meta-intel/nightly-meta-intel-world.conf
@@ -0,0 +1,28 @@
+[nightly-meta-intel-world]
+builders: 'example-worker'
+repos: [{'poky':
+{'repourl':'git://git.yoctoproject.org/poky',
+ 'layerversion':{'core':'meta', 'yoctobsp':'meta-yocto-bsp'},
+ 'branch':'master'}},
+{'meta-qt3':
+{'repourl':'git://git.yoctoproject.org/meta-qt3',
+ 'branch':'master'}},
+{'meta-intel':
+{'repourl':'git://git.yoctoproject.org/meta-intel',
+ 'layerversion':{'intel':'meta-intel'},
+ 'branch':'master'}}]
+steps: [{'SetDest':{}},
+{'CheckOutLayers': {}},
+{'RunPreamble': {}},
+{'CheckBSPExists': {}},
+{'GetDistroVersion' : {'distro': 'poky'}},
+{'CreateAutoConf': {'machine': 'intel-core2-32', 'SDKMACHINE' : 
'x86_64', 'distro': 'poky'}},
+{'CreateBBLayersConf': {'buildprovider' : 'yocto', 'bsplayer': True, 
'bspprovider': 'intel'}},
+{'GetBitbakeVersion':{}},
+{'BuildImages': {'images': 'world'}},
+{'CreateAutoConf': {'machine': 'intel-corei7-64', 'SDKMACHINE' : 
'x86_64', 'distro': 'poky'}},
+{'CreateBBLayersConf': {'buildprovider' : 'yocto', 'bsplayer': True, 
'bspprovider': 'intel'}},
+{'GetBitbakeVersion':{}},
+{'BuildImages': {'images': 'world'}},
+{'SendErrorReport': {}},
+{'UploadToasterEventlog': {}}}]
diff --git a/buildset-config.meta-intel/nightly-meta-intel.conf 
b/buildset-config.meta-intel/nightly-meta-intel.conf
index 89fe67d..d989f3d 100644
--- a/buildset-config.meta-intel/nightly-meta-intel.conf
+++ b/buildset-config.meta-intel/nightly-meta-intel.conf
@@ -53,7 +53,7 @@ steps: [{'SetDest':{}},
  'jasperforest':{}, 'jasperforest-lsb':{},
  'romley':{}, 'romley-lsb':{},
  'sugarbay':{}, 'sugarbay-lsb':{},
- 'nuc':{}, 'nuc-lsb':{}}, 'schedulerNames_nowait' 
: {}}},
+ 'nuc':{}, 'nuc-lsb':{}, 
'nightly-meta-intel-world':{}}, 'schedulerNames_nowait' : {}}},
 {'CreateIntelBSPPackage': {'machine': 'intel-core2-32'}}, 
 {'CreateIntelBSPPackage': {'machine': 'intel-corei7-64'}}, 
 {'CreateIntelBSPPackage': {'machine': 'crownbay'}},
diff --git a/buildset-config.meta-intel/yoctoAB.conf 
b/buildset-config.meta-intel/yoctoAB.conf
index 90e7abf..5bf6248 100644
--- a/buildset-config.meta-intel/yoctoAB.conf
+++ b/buildset-config.meta-intel/yoctoAB.conf
@@ -1,7 +1,8 @@
 [BuildSets]
-order: ['nightly-meta-intel', 'intel-corei7-64', 'intel-corei7-64-lsb',
-'intel-corei7-64-rt', 'intel-corei7-64-lsb-rt', 'intel-core2-32',
-'intel-core2-32-lsb', 'intel-core2-32-rt', 'intel-core2-32-lsb-rt',
+order: ['nightly-meta-intel', 'nightly-meta-intel-world', 
+'intel-corei7-64', 'intel-corei7-64-lsb', 'intel-corei7-64-rt', 
+'intel-corei7-64-lsb-rt', 'intel-core2-32', 'intel-core2-32-lsb', 
+'intel-core2-32-rt', 'intel-core2-32-lsb-rt',
 'crownbay', 'crownbay-lsb', 'crownbay-noemgd', 'crownbay-noemgd-lsb',
 'emenlow', 'emenlow-lsb', 'emenlow-noemgd', 'emenlow-noemgd-lsb',
 'fri2', 'fri2-lsb', 'fri2-noemgd', 'fri2-noemgd-lsb',
-- 
1.9.3

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH] nightly-world-lsb.conf: Do world builds for poky-lsb

2015-03-24 Thread Graydon, Tracy
[YOCTO #7261]

Do world builds for poky-lsb. This patch adds the new nightly-world-lsb buildset
to fix bug #7261. Also added it to the normal nightly.conf trigger
and yoctoAB.conf.

Signed-off-by: Graydon, Tracy 
---
 buildset-config.controller/nightly-world-lsb.conf | 22 ++
 buildset-config.controller/nightly.conf   |  2 +-
 buildset-config.controller/yoctoAB.conf   |  6 +++---
 3 files changed, 26 insertions(+), 4 deletions(-)
 create mode 100644 buildset-config.controller/nightly-world-lsb.conf

diff --git a/buildset-config.controller/nightly-world-lsb.conf 
b/buildset-config.controller/nightly-world-lsb.conf
new file mode 100644
index 000..e9782a9
--- /dev/null
+++ b/buildset-config.controller/nightly-world-lsb.conf
@@ -0,0 +1,22 @@
+[nightly-world-lsb]
+builders: 'example-worker'
+repos: [{'poky':
+{'repourl':'git://git.yoctoproject.org/poky',
+ 'layerversion':{'core':'meta', 'yoctobsp':'meta-yocto-bsp'},
+ 'branch':'master'}},
+{'meta-qt3':
+{'repourl':'git://git.yoctoproject.org/meta-qt3',
+ 'branch':'master'}}]
+steps: [{'SetDest':{}},
+{'CheckOutLayers': {}},
+{'RunPreamble': {}},
+{'GetDistroVersion' : {'distro': 'poky'}},
+{'CreateAutoConf': {'machine': 'qemux86', 'SDKMACHINE' : 'x86_64',
+'buildhistory' : False, 'multilib': True,
+'distro': 'poky-lsb'}},
+{'CreateBBLayersConf': {'buildprovider' : 'yocto'}},
+{'BuildImages': {'images': 'world'}},
+{'SendErrorReport': {}},
+{'UploadToasterEventlog': {}},
+{'PublishArtifacts': {'artifacts': ['ipk', 'rpm', 'deb']}}]
+
diff --git a/buildset-config.controller/nightly.conf 
b/buildset-config.controller/nightly.conf
index e8498f1..cf7c77c 100644
--- a/buildset-config.controller/nightly.conf
+++ b/buildset-config.controller/nightly.conf
@@ -87,7 +87,7 @@ steps: [{'SetDest':{}},
'schedulerNames_nowait' : {'build-appliance': {},
'eclipse-plugin-kepler': {}, 'eclipse-plugin-juno': 
{},
'nightly-non-gpl3': {}, 'nightly-oecore': {},
-   'nightly-world':{}, 'nightly-intel-gpl': {},
+   'nightly-world':{}, 'nightly-world-lsb':{}, 
'nightly-intel-gpl': {},
'poky-tiny': {}, 'buildtools': {},
'nightly-qa-systemd': {}, 'nightly-qa-extras': {},
'nightly-qa-logrotate': {}, 'nightly-qa-pam': {},
diff --git a/buildset-config.controller/yoctoAB.conf 
b/buildset-config.controller/yoctoAB.conf
index 9a07512..5bc369d 100644
--- a/buildset-config.controller/yoctoAB.conf
+++ b/buildset-config.controller/yoctoAB.conf
@@ -5,6 +5,6 @@ order: ['nightly', 'eclipse-plugin-juno',
 'nightly-mips-lsb', 'nightly-ppc', 'nightly-ppc-lsb',
 'nightly-x86-64', 'nightly-x86-64-lsb', 'nightly-x86',
 'nightly-x86-lsb', 'nightly-x32', 'nightly-multilib',
-'nightly-world', 'nightly-non-gpl3', 'nightly-oecore',
-'nightly-intel-gpl', 'poky-tiny', 'build-appliance',
-'nightly-qa-extras', 'nightly-qa-systemd']
+'nightly-world', 'nightly-world-lsb', 'nightly-non-gpl3', 
+'nightly-oecore', 'nightly-intel-gpl', 'poky-tiny',
+'build-appliance', 'nightly-qa-extras', 'nightly-qa-systemd']
-- 
1.9.3

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] nightly-world-lsb.conf: Do world builds for poky-lsb

2015-03-24 Thread Graydon, Tracy
Crap. You are right. There is a change in here that shouldn¹t be. Fixing
that. 

Thank you for catching that. I was on the wrong local branch.

-t

On 03/24/15, 2:51 PM, "Randy Witt"  wrote:

>On 03/24/2015 03:41 PM, Graydon, Tracy wrote:
>> [YOCTO #7261]
>>
>> Do world builds for poky-lsb. This patch adds the new nightly-world-lsb
>>buildset
>> to fix bug #7261. Also added it to the normal nightly.conf trigger
>> and yoctoAB.conf.
>>
>> Signed-off-by: Graydon, Tracy 
>> ---
>>   buildset-config.controller/nightly-world-lsb.conf | 22
>>++
>>   buildset-config.controller/nightly.conf   |  4 +---
>>   buildset-config.controller/yoctoAB.conf   |  6 +++---
>>   3 files changed, 26 insertions(+), 6 deletions(-)
>>   create mode 100644 buildset-config.controller/nightly-world-lsb.conf
>>
>> diff --git a/buildset-config.controller/nightly-world-lsb.conf
>>b/buildset-config.controller/nightly-world-lsb.conf
>> new file mode 100644
>> index 000..e9782a9
>> --- /dev/null
>> +++ b/buildset-config.controller/nightly-world-lsb.conf
>> @@ -0,0 +1,22 @@
>> +[nightly-world-lsb]
>> +builders: 'example-worker'
>> +repos: [{'poky':
>> +{'repourl':'git://git.yoctoproject.org/poky',
>> + 'layerversion':{'core':'meta',
>>'yoctobsp':'meta-yocto-bsp'},
>> + 'branch':'master'}},
>> +{'meta-qt3':
>> +{'repourl':'git://git.yoctoproject.org/meta-qt3',
>> + 'branch':'master'}}]
>> +steps: [{'SetDest':{}},
>> +{'CheckOutLayers': {}},
>> +{'RunPreamble': {}},
>> +{'GetDistroVersion' : {'distro': 'poky'}},
>> +{'CreateAutoConf': {'machine': 'qemux86', 'SDKMACHINE' :
>>'x86_64',
>> +'buildhistory' : False, 'multilib': True,
>> +'distro': 'poky-lsb'}},
>> +{'CreateBBLayersConf': {'buildprovider' : 'yocto'}},
>> +{'BuildImages': {'images': 'world'}},
>> +{'SendErrorReport': {}},
>> +{'UploadToasterEventlog': {}},
>> +{'PublishArtifacts': {'artifacts': ['ipk', 'rpm', 'deb']}}]
>> +
>> diff --git a/buildset-config.controller/nightly.conf
>>b/buildset-config.controller/nightly.conf
>> index e8498f1..e422ede 100644
>> --- a/buildset-config.controller/nightly.conf
>> +++ b/buildset-config.controller/nightly.conf
>> @@ -75,10 +75,8 @@ steps: [{'SetDest':{}},
>>   {'BuildImages': {'images': 'universe -c fetch'}},
>>   {'TriggerBuilds': {'schedulerName': 'main-build',
>>'waitForFinish': 'True',
>>  'schedulerNames': {'minnow': {},
>>'minnow-lsb': {},
>> -   'nightly-arm': {}, 'nightly-arm-lsb': {},
>>  'nightly-fsl-arm': {},
>>'nightly-fsl-arm-lsb': {},
>>  'nightly-fsl-ppc': {},
>>'nightly-fsl-ppc-lsb': {},
>> -   'nightly-mips': {}, 'nightly-mips-lsb': {},
>
>I'll admit that I'm not that familiar with the autobuilder, but this
>looks like 
>some builds are being turned off, but the commit message doesn't mention
>that.
>
>>  'nightly-multilib': {}, 'nightly-x32': {},
>>  'nightly-ppc': {}, 'nightly-ppc-lsb': {},
>>  'nightly-x86-64': {},
>>'nightly-x86-64-lsb': {},
>> @@ -87,7 +85,7 @@ steps: [{'SetDest':{}},
>>  'schedulerNames_nowait' :
>>{'build-appliance': {},
>>  'eclipse-plugin-kepler': {},
>>'eclipse-plugin-juno': {},
>>  'nightly-non-gpl3': {}, 'nightly-oecore':
>>{},
>> -   'nightly-world':{}, 'nightly-intel-g

[yocto] nightly-world-lsb.conf: Do world builds for poky-lsb

2015-03-24 Thread Graydon, Tracy
[YOCTO #7261]

Do world builds for poky-lsb. This patch adds the new nightly-world-lsb buildset
to fix bug #7261. Also added it to the normal nightly.conf trigger
and yoctoAB.conf.

Signed-off-by: Graydon, Tracy 
---
 buildset-config.controller/nightly-world-lsb.conf | 22 ++
 buildset-config.controller/nightly.conf   |  4 +---
 buildset-config.controller/yoctoAB.conf   |  6 +++---
 3 files changed, 26 insertions(+), 6 deletions(-)
 create mode 100644 buildset-config.controller/nightly-world-lsb.conf

diff --git a/buildset-config.controller/nightly-world-lsb.conf 
b/buildset-config.controller/nightly-world-lsb.conf
new file mode 100644
index 000..e9782a9
--- /dev/null
+++ b/buildset-config.controller/nightly-world-lsb.conf
@@ -0,0 +1,22 @@
+[nightly-world-lsb]
+builders: 'example-worker'
+repos: [{'poky':
+{'repourl':'git://git.yoctoproject.org/poky',
+ 'layerversion':{'core':'meta', 'yoctobsp':'meta-yocto-bsp'},
+ 'branch':'master'}},
+{'meta-qt3':
+{'repourl':'git://git.yoctoproject.org/meta-qt3',
+ 'branch':'master'}}]
+steps: [{'SetDest':{}},
+{'CheckOutLayers': {}},
+{'RunPreamble': {}},
+{'GetDistroVersion' : {'distro': 'poky'}},
+{'CreateAutoConf': {'machine': 'qemux86', 'SDKMACHINE' : 'x86_64',
+'buildhistory' : False, 'multilib': True,
+'distro': 'poky-lsb'}},
+{'CreateBBLayersConf': {'buildprovider' : 'yocto'}},
+{'BuildImages': {'images': 'world'}},
+{'SendErrorReport': {}},
+{'UploadToasterEventlog': {}},
+{'PublishArtifacts': {'artifacts': ['ipk', 'rpm', 'deb']}}]
+
diff --git a/buildset-config.controller/nightly.conf 
b/buildset-config.controller/nightly.conf
index e8498f1..e422ede 100644
--- a/buildset-config.controller/nightly.conf
+++ b/buildset-config.controller/nightly.conf
@@ -75,10 +75,8 @@ steps: [{'SetDest':{}},
 {'BuildImages': {'images': 'universe -c fetch'}},
 {'TriggerBuilds': {'schedulerName': 'main-build', 'waitForFinish': 
'True',
'schedulerNames': {'minnow': {}, 'minnow-lsb': {},
-   'nightly-arm': {}, 'nightly-arm-lsb': {},
'nightly-fsl-arm': {}, 'nightly-fsl-arm-lsb': {},
'nightly-fsl-ppc': {}, 'nightly-fsl-ppc-lsb': {},
-   'nightly-mips': {}, 'nightly-mips-lsb': {},
'nightly-multilib': {}, 'nightly-x32': {},
'nightly-ppc': {}, 'nightly-ppc-lsb': {},
'nightly-x86-64': {}, 'nightly-x86-64-lsb': {},
@@ -87,7 +85,7 @@ steps: [{'SetDest':{}},
'schedulerNames_nowait' : {'build-appliance': {},
'eclipse-plugin-kepler': {}, 'eclipse-plugin-juno': 
{},
'nightly-non-gpl3': {}, 'nightly-oecore': {},
-   'nightly-world':{}, 'nightly-intel-gpl': {},
+   'nightly-world':{}, 'nightly-world-lsb':{}, 
'nightly-intel-gpl': {},
'poky-tiny': {}, 'buildtools': {},
'nightly-qa-systemd': {}, 'nightly-qa-extras': {},
'nightly-qa-logrotate': {}, 'nightly-qa-pam': {},
diff --git a/buildset-config.controller/yoctoAB.conf 
b/buildset-config.controller/yoctoAB.conf
index 9a07512..c087628 100644
--- a/buildset-config.controller/yoctoAB.conf
+++ b/buildset-config.controller/yoctoAB.conf
@@ -1,10 +1,10 @@
 [BuildSets]
 order: ['nightly', 'eclipse-plugin-juno', 
 'eclipse-plugin-kepler', 'eclipse-plugin-luna',
-'nightly-arm', 'nightly-arm-lsb', 'nightly-mips',
-'nightly-mips-lsb', 'nightly-ppc', 'nightly-ppc-lsb',
+'nightly-ppc', 'nightly-ppc-lsb',
 'nightly-x86-64', 'nightly-x86-64-lsb', 'nightly-x86',
 'nightly-x86-lsb', 'nightly-x32', 'nightly-multilib',
-'nightly-world', 'nightly-non-gpl3', 'nightly-oecore',
+'nightly-world', 'nightly-world-lsb',
+'nightly-non-gpl3', 'nightly-oecore',
 'nightly-intel-gpl', 'poky-tiny', 'build-appliance',
 'nightly-qa-extras', 'nightly-qa-systemd']
-- 
1.9.3

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto