Date   

Re: [layerindex-web][patch v2 1/1] recipes.html: Require keyword for recipe search

Paul Eggleton
 

On Tuesday, 7 November 2017 8:27:03 PM NZDT Paul Eggleton wrote:
I'm not sure <error> is a valid HTML tag. Looking at the bootstrap docs I
think we should actually be using its error state and help text
functionality (see "Validation states" on http://getbootstrap.com/2.3.2/
base-css.html#forms ). I tested it and to fix the layout apparently we need
to rearrange the tags so that <form> is immediately under the row-fluid div,
i.e. it should be:

<div class="row-fluid">
<form ...>
<div class="control-group">
<div class="controls" id="searchfield">
<div class="input-append">
<input ... />
<button ...>search</button>
</div>
<span class="help-inline" id="errortext">
</span>
</div>
</div>
</form>
</div>
Hmm, actually that's wrong, we want the id on the control-group div not the
controls one i.e.

<div class="row-fluid">
<form ...>
<div class="control-group" id="searchfield">
<div class="controls">
<div class="input-append">
<input ... />
<button ...>search</button>
</div>
<span class="help-inline" id="errortext"></span>
</div>
</div>
</form>
</div>

Cheers,
Paul

--

Paul Eggleton
Intel Open Source Technology Centre


Re: [layerindex-web][patch v2 1/1] recipes.html: Require keyword for recipe search

Paul Eggleton
 

Hi Amanda,

A few comments below.

On Tuesday, 7 November 2017 1:21:23 PM NZDT Amanda Brindle wrote:
Use JavaScript to check if the search box for recipe search is
empty before querying the database. This will prevent the "502
Bad Gateway" error that occurs when the query takes too long due
to the large list of recipes.
We should mention that the main reason we are using this workaround rather
than fixing the underlying issue is that since there are so many recipes
spread across quite a number of layers in the OE index, there's no
point allowing you to search without a keyword in order to browse the list;
it simply isn't digestible as a whole.

Add a browse button for the Machines and Distros pages.
Could you also please add one for the new Classes page you added
(now merged to master)?

Fixes [YOCTO #11930]

Signed-off-by: Amanda Brindle <amanda.r.brindle@...>
---
layerindex/views.py | 10 ++++++++--
templates/layerindex/distros.html | 3 ++-
templates/layerindex/machines.html | 3 ++-
templates/layerindex/recipes.html | 12 +++++++++++-
4 files changed, 23 insertions(+), 5 deletions(-)

diff --git a/layerindex/views.py b/layerindex/views.py
index 3b22067..9b5d505 100644
--- a/layerindex/views.py
+++ b/layerindex/views.py
@@ -656,7 +656,10 @@ class MachineSearchView(ListView):

def get_queryset(self):
_check_url_branch(self.kwargs)
- query_string = self.request.GET.get('q', '')
+ if self.request.GET.get('search', ''):
+ query_string = self.request.GET.get('q', '')
+ else:
+ query_string = ""
init_qs = Machine.objects.filter(layerbranch__branch__name=self.kwargs['branch'])
if query_string.strip():
entry_query = simplesearch.get_query(query_string, ['name', 'description'])
@@ -705,7 +708,10 @@ class DistroSearchView(ListView):

def get_queryset(self):
_check_url_branch(self.kwargs)
- query_string = self.request.GET.get('q', '')
+ if self.request.GET.get('search', ''):
+ query_string = self.request.GET.get('q', '')
+ else:
+ query_string = ""
init_qs = Distro.objects.filter(layerbranch__branch__name=self.kwargs['branch'])
if query_string.strip():
entry_query = simplesearch.get_query(query_string, ['name', 'description'])
diff --git a/templates/layerindex/distros.html b/templates/layerindex/distros.html
index 7085584..34b5419 100644
--- a/templates/layerindex/distros.html
+++ b/templates/layerindex/distros.html
@@ -34,7 +34,8 @@
<div class="input-append">
<form id="filter-form" action="{% url 'distro_search' url_branch %}" method="get">
<input type="text" class="input-xxlarge" id="appendedInputButtons" placeholder="Search distros" name="q" value="{{ search_keyword }}" />
- <button class="btn" type="submit">search</button>
+ <button class="btn" type="submit" name="search" value="1">search</button>
+ <button class="btn" type="submit" name="browse" value="1">browse</button>
</form>
</div>
</div>
diff --git a/templates/layerindex/machines.html b/templates/layerindex/machines.html
index 2a9f947..d91228a 100644
--- a/templates/layerindex/machines.html
+++ b/templates/layerindex/machines.html
@@ -33,7 +33,8 @@
<div class="input-append">
<form id="filter-form" action="{% url 'machine_search' url_branch %}" method="get">
<input type="text" class="input-xxlarge" id="appendedInputButtons" placeholder="Search machines" name="q" value="{{ search_keyword }}" />
- <button class="btn" type="submit">search</button>
+ <button class="btn" type="submit" name="search" value="1">search</button>
+ <button class="btn" type="submit" name="browse" value="1">browse</button>
</form>
</div>
</div>
diff --git a/templates/layerindex/recipes.html b/templates/layerindex/recipes.html
index 60a2667..28f3f55 100644
--- a/templates/layerindex/recipes.html
+++ b/templates/layerindex/recipes.html
@@ -32,13 +32,14 @@

<div class="row-fluid">
<div class="input-append">
- <form id="filter-form" action="{% url 'recipe_search' url_branch %}" method="get">
+ <form id="filter-form" action="{% url 'recipe_search' url_branch %}" method="get" onsubmit="return validate()">
<input type="text" class="input-xxlarge" id="appendedInputButtons" placeholder="Search recipes" name="q" value="{{ search_keyword }}" />
<button class="btn" type="submit">search</button>
</form>
</div>
</div>

+ <div id="error"> </div>
{% if recipe_list %}
<table class="table table-striped table-bordered recipestable">
<thead>
@@ -87,5 +88,14 @@
$('.icon-hdd').tooltip({title:"Inherits image"});
$('.label-inverse').tooltip();
});
+
+ function validate(){
+ if (!$("#appendedInputButtons").val()){
+ $("#error").html("<error>Recipe search cannot be blank</error>");
+ $("error").addClass("control-group alert alert-error");
+ return false;
+ }
+ }
+
I'm not sure <error> is a valid HTML tag. Looking at the bootstrap docs I think
we should actually be using its error state and help text functionality (see
"Validation states" on http://getbootstrap.com/2.3.2/base-css.html#forms ).
I tested it and to fix the layout apparently we need to rearrange the tags so that
<form> is immediately under the row-fluid div, i.e. it should be:

<div class="row-fluid">
<form ...>
<div class="control-group">
<div class="controls" id="searchfield">
<div class="input-append">
<input ... />
<button ...>search</button>
</div>
<span class="help-inline" id="errortext"></span>
</div>
</div>
</form>
</div>

For maximum effect you also need to actually focus the search box at the same
time as setting the error within the javascript.

If you could also change the text to "Please specify search text" at the
same time (and surround with <p></p> to get the correct alignment) that would
be great.

Thanks,
Paul


--

Paul Eggleton
Intel Open Source Technology Centre


[layerindex-web][patch v2 1/1] recipes.html: Require keyword for recipe search

Amanda Brindle
 

Use JavaScript to check if the search box for recipe search is
empty before querying the database. This will prevent the "502
Bad Gateway" error that occurs when the query takes too long due
to the large list of recipes.

Add a browse button for the Machines and Distros pages.

Fixes [YOCTO #11930]

Signed-off-by: Amanda Brindle <amanda.r.brindle@...>
---
layerindex/views.py | 10 ++++++++--
templates/layerindex/distros.html | 3 ++-
templates/layerindex/machines.html | 3 ++-
templates/layerindex/recipes.html | 12 +++++++++++-
4 files changed, 23 insertions(+), 5 deletions(-)

diff --git a/layerindex/views.py b/layerindex/views.py
index 3b22067..9b5d505 100644
--- a/layerindex/views.py
+++ b/layerindex/views.py
@@ -656,7 +656,10 @@ class MachineSearchView(ListView):

def get_queryset(self):
_check_url_branch(self.kwargs)
- query_string = self.request.GET.get('q', '')
+ if self.request.GET.get('search', ''):
+ query_string = self.request.GET.get('q', '')
+ else:
+ query_string = ""
init_qs = Machine.objects.filter(layerbranch__branch__name=self.kwargs['branch'])
if query_string.strip():
entry_query = simplesearch.get_query(query_string, ['name', 'description'])
@@ -705,7 +708,10 @@ class DistroSearchView(ListView):

def get_queryset(self):
_check_url_branch(self.kwargs)
- query_string = self.request.GET.get('q', '')
+ if self.request.GET.get('search', ''):
+ query_string = self.request.GET.get('q', '')
+ else:
+ query_string = ""
init_qs = Distro.objects.filter(layerbranch__branch__name=self.kwargs['branch'])
if query_string.strip():
entry_query = simplesearch.get_query(query_string, ['name', 'description'])
diff --git a/templates/layerindex/distros.html b/templates/layerindex/distros.html
index 7085584..34b5419 100644
--- a/templates/layerindex/distros.html
+++ b/templates/layerindex/distros.html
@@ -34,7 +34,8 @@
<div class="input-append">
<form id="filter-form" action="{% url 'distro_search' url_branch %}" method="get">
<input type="text" class="input-xxlarge" id="appendedInputButtons" placeholder="Search distros" name="q" value="{{ search_keyword }}" />
- <button class="btn" type="submit">search</button>
+ <button class="btn" type="submit" name="search" value="1">search</button>
+ <button class="btn" type="submit" name="browse" value="1">browse</button>
</form>
</div>
</div>
diff --git a/templates/layerindex/machines.html b/templates/layerindex/machines.html
index 2a9f947..d91228a 100644
--- a/templates/layerindex/machines.html
+++ b/templates/layerindex/machines.html
@@ -33,7 +33,8 @@
<div class="input-append">
<form id="filter-form" action="{% url 'machine_search' url_branch %}" method="get">
<input type="text" class="input-xxlarge" id="appendedInputButtons" placeholder="Search machines" name="q" value="{{ search_keyword }}" />
- <button class="btn" type="submit">search</button>
+ <button class="btn" type="submit" name="search" value="1">search</button>
+ <button class="btn" type="submit" name="browse" value="1">browse</button>
</form>
</div>
</div>
diff --git a/templates/layerindex/recipes.html b/templates/layerindex/recipes.html
index 60a2667..28f3f55 100644
--- a/templates/layerindex/recipes.html
+++ b/templates/layerindex/recipes.html
@@ -32,13 +32,14 @@

<div class="row-fluid">
<div class="input-append">
- <form id="filter-form" action="{% url 'recipe_search' url_branch %}" method="get">
+ <form id="filter-form" action="{% url 'recipe_search' url_branch %}" method="get" onsubmit="return validate()">
<input type="text" class="input-xxlarge" id="appendedInputButtons" placeholder="Search recipes" name="q" value="{{ search_keyword }}" />
<button class="btn" type="submit">search</button>
</form>
</div>
</div>

+ <div id="error"> </div>
{% if recipe_list %}
<table class="table table-striped table-bordered recipestable">
<thead>
@@ -87,5 +88,14 @@
$('.icon-hdd').tooltip({title:"Inherits image"});
$('.label-inverse').tooltip();
});
+
+ function validate(){
+ if (!$("#appendedInputButtons").val()){
+ $("#error").html("<error>Recipe search cannot be blank</error>");
+ $("error").addClass("control-group alert alert-error");
+ return false;
+ }
+ }
+
</script>
{% endblock %}
--
2.7.4


[layerindex-web][patch v2 0/1] recipes.html: Require keyword for recipe search

Amanda Brindle
 

For v2, changed the javascript validate() function to jquery.

The following changes since commit 44386eea41a8e1bb8a3ab831613cfc1a19ff6ecd:

querysethelper: fix searching (2017-10-31 09:58:30 +1300)

are available in the git repository at:

git://git.yoctoproject.org/layerindex-web abrindle/recipe_search
http://git.yoctoproject.org/cgit.cgi/layerindex-web/log/?h=abrindle/recipe_search

Amanda Brindle (1):
recipes.html: Require keyword for recipe search

layerindex/views.py | 10 ++++++++--
templates/layerindex/distros.html | 3 ++-
templates/layerindex/machines.html | 3 ++-
templates/layerindex/recipes.html | 12 +++++++++++-
4 files changed, 23 insertions(+), 5 deletions(-)

--
2.7.4


[yocto-autobuilder][PATCH 4/4] buildset-config.meta-intel: add meta-tlk

Stephano Cetola <stephano.cetola@...>
 

Since layer version 5 of meta-intel, meta-tlk is now an external
layer rather than a sub-layer of meta-intel. This requires that we
add meta-tlk as a repo to all buildset-configs, and set the
autoinclude flag to False. Then we must check the layerdirs variable
to see if it contains meta-intel/meta-tlk, and add the appropriate
folder to the bblayers.conf depending on which layer version of
meta-intel we are building.

Also, some cleanup was done on the buildset configs to remove extra
white spaces or cleanup the formatting.

Signed-off-by: Stephano Cetola <stephano.cetola@...>
---
buildset-config.meta-intel/intel-core2-32-lsb-rt.conf | 5 ++++-
buildset-config.meta-intel/intel-core2-32-lsb.conf | 4 ++++
buildset-config.meta-intel/intel-core2-32-rt.conf | 5 ++++-
buildset-config.meta-intel/intel-core2-32.conf | 4 ++++
buildset-config.meta-intel/intel-corei7-64-lsb-rt.conf | 4 ++++
buildset-config.meta-intel/intel-corei7-64-lsb.conf | 6 +++++-
buildset-config.meta-intel/intel-corei7-64-rt.conf | 4 ++++
buildset-config.meta-intel/intel-corei7-64.conf | 6 +++++-
buildset-config.meta-intel/intel-quark.conf | 4 ++++
buildset-config.meta-intel/nightly-meta-intel-world.conf | 4 ++++
buildset-config.meta-intel/nightly-meta-intel.conf | 15 +++++++++------
buildset-config.meta-intel/nightly-musl-core2-32.conf | 4 ++++
buildset-config.meta-intel/nightly-musl.conf | 4 ++++
buildset-config.meta-intel/nightly-x32.conf | 4 ++++
buildset-config.meta-intel/yoctoAB.conf | 7 ++++---
.../autobuilder/buildsteps/CreateBBLayersConf.py | 6 +++++-
16 files changed, 72 insertions(+), 14 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 a31d624ec..cbcb99b4a 100644
--- a/buildset-config.meta-intel/intel-core2-32-lsb-rt.conf
+++ b/buildset-config.meta-intel/intel-core2-32-lsb-rt.conf
@@ -10,6 +10,10 @@ repos: [{'poky':
{'meta-qt4':
{'repourl':'git://git.yoctoproject.org/meta-qt4',
'branch':'master'}},
+ {'meta-tlk':
+ {'repourl':'git://git.yoctoproject.org/meta-tlk',
+ 'autoinclude': False,
+ 'branch':'master'}},
{'meta-intel':
{'repourl':'git://git.yoctoproject.org/meta-intel',
'layerversion':{'intel':'meta-intel'},
@@ -61,4 +65,3 @@ steps: [{'SetDest':{}},
{'BuildImages': {'images': 'core-image-rt'}},
{'PublishLayerTarballs':{}},
{'PublishArtifacts': {'artifacts': ['conf', 'intel-core2-32']}}]
-
diff --git a/buildset-config.meta-intel/intel-core2-32-lsb.conf b/buildset-config.meta-intel/intel-core2-32-lsb.conf
index 1aba39718..ccf1e6b8d 100644
--- a/buildset-config.meta-intel/intel-core2-32-lsb.conf
+++ b/buildset-config.meta-intel/intel-core2-32-lsb.conf
@@ -10,6 +10,10 @@ repos: [{'poky':
{'meta-qt4':
{'repourl':'git://git.yoctoproject.org/meta-qt4',
'branch':'master'}},
+ {'meta-tlk':
+ {'repourl':'git://git.yoctoproject.org/meta-tlk',
+ 'autoinclude': False,
+ 'branch':'master'}},
{'meta-intel':
{'repourl':'git://git.yoctoproject.org/meta-intel',
'layerversion':{'intel':'meta-intel'},
diff --git a/buildset-config.meta-intel/intel-core2-32-rt.conf b/buildset-config.meta-intel/intel-core2-32-rt.conf
index df04d980d..b591e754f 100644
--- a/buildset-config.meta-intel/intel-core2-32-rt.conf
+++ b/buildset-config.meta-intel/intel-core2-32-rt.conf
@@ -4,6 +4,10 @@ repos: [{'poky':
{'repourl':'git://git.yoctoproject.org/poky',
'layerversion':{'core':'meta', 'yoctobsp':'meta-yocto-bsp', 'yocto':'meta-yocto', 'poky':'meta-poky'},
'branch':'master'}},
+ {'meta-tlk':
+ {'repourl':'git://git.yoctoproject.org/meta-tlk',
+ 'autoinclude': False,
+ 'branch':'master'}},
{'meta-intel':
{'repourl':'git://git.yoctoproject.org/meta-intel',
'layerversion':{'intel':'meta-intel'},
@@ -54,4 +58,3 @@ steps: [{'SetDest':{}},
{'BuildImages': {'images': 'core-image-rt'}},
{'PublishLayerTarballs':{}},
{'PublishArtifacts': {'artifacts': ['conf', 'intel-core2-32']}}]
-
diff --git a/buildset-config.meta-intel/intel-core2-32.conf b/buildset-config.meta-intel/intel-core2-32.conf
index a5849722e..688a67446 100644
--- a/buildset-config.meta-intel/intel-core2-32.conf
+++ b/buildset-config.meta-intel/intel-core2-32.conf
@@ -4,6 +4,10 @@ repos: [{'poky':
{'repourl':'git://git.yoctoproject.org/poky',
'layerversion':{'core':'meta', 'yoctobsp':'meta-yocto-bsp', 'yocto':'meta-yocto', 'poky':'meta-poky'},
'branch':'master'}},
+ {'meta-tlk':
+ {'repourl':'git://git.yoctoproject.org/meta-tlk',
+ 'autoinclude': False,
+ 'branch':'master'}},
{'meta-intel':
{'repourl':'git://git.yoctoproject.org/meta-intel',
'layerversion':{'intel':'meta-intel'},
diff --git a/buildset-config.meta-intel/intel-corei7-64-lsb-rt.conf b/buildset-config.meta-intel/intel-corei7-64-lsb-rt.conf
index 76e0f9f11..53ed45940 100644
--- a/buildset-config.meta-intel/intel-corei7-64-lsb-rt.conf
+++ b/buildset-config.meta-intel/intel-corei7-64-lsb-rt.conf
@@ -10,6 +10,10 @@ repos: [{'poky':
{'meta-qt4':
{'repourl':'git://git.yoctoproject.org/meta-qt4',
'branch':'master'}},
+ {'meta-tlk':
+ {'repourl':'git://git.yoctoproject.org/meta-tlk',
+ 'autoinclude': False,
+ 'branch':'master'}},
{'meta-intel':
{'repourl':'git://git.yoctoproject.org/meta-intel',
'layerversion':{'intel':'meta-intel'},
diff --git a/buildset-config.meta-intel/intel-corei7-64-lsb.conf b/buildset-config.meta-intel/intel-corei7-64-lsb.conf
index 60dda30ac..5ae2cf7fe 100644
--- a/buildset-config.meta-intel/intel-corei7-64-lsb.conf
+++ b/buildset-config.meta-intel/intel-corei7-64-lsb.conf
@@ -10,6 +10,10 @@ repos: [{'poky':
{'meta-qt4':
{'repourl':'git://git.yoctoproject.org/meta-qt4',
'branch':'master'}},
+ {'meta-tlk':
+ {'repourl':'git://git.yoctoproject.org/meta-tlk',
+ 'autoinclude': False,
+ 'branch':'master'}},
{'meta-intel':
{'repourl':'git://git.yoctoproject.org/meta-intel',
'layerversion':{'intel':'meta-intel'},
@@ -49,7 +53,7 @@ steps: [{'SetDest':{}},
{'RunPreamble': {}},
{'CheckBSPExists': {}},
{'GetDistroVersion' : {'distro': 'poky'}},
- {'CreateAutoConf': {'machine': 'intel-corei7-64', 'SDKMACHINE' : 'x86_64',
+ {'CreateAutoConf': {'machine': 'intel-corei7-64', 'SDKMACHINE' : 'x86_64',
'distro': 'poky-lsb'}},
{'CreateBBLayersConf': {'buildprovider' : 'yocto',
'bsplayer': True, 'bspprovider': 'intel',
diff --git a/buildset-config.meta-intel/intel-corei7-64-rt.conf b/buildset-config.meta-intel/intel-corei7-64-rt.conf
index f80666c8a..ab84ebd34 100644
--- a/buildset-config.meta-intel/intel-corei7-64-rt.conf
+++ b/buildset-config.meta-intel/intel-corei7-64-rt.conf
@@ -4,6 +4,10 @@ repos: [{'poky':
{'repourl':'git://git.yoctoproject.org/poky',
'layerversion':{'core':'meta', 'yoctobsp':'meta-yocto-bsp', 'yocto':'meta-yocto', 'poky':'meta-poky'},
'branch':'master'}},
+ {'meta-tlk':
+ {'repourl':'git://git.yoctoproject.org/meta-tlk',
+ 'autoinclude': False,
+ 'branch':'master'}},
{'meta-intel':
{'repourl':'git://git.yoctoproject.org/meta-intel',
'layerversion':{'intel':'meta-intel'},
diff --git a/buildset-config.meta-intel/intel-corei7-64.conf b/buildset-config.meta-intel/intel-corei7-64.conf
index 6337cefa9..a0bc1218f 100644
--- a/buildset-config.meta-intel/intel-corei7-64.conf
+++ b/buildset-config.meta-intel/intel-corei7-64.conf
@@ -4,6 +4,10 @@ repos: [{'poky':
{'repourl':'git://git.yoctoproject.org/poky',
'layerversion':{'core':'meta', 'yoctobsp':'meta-yocto-bsp', 'yocto':'meta-yocto', 'poky':'meta-poky'},
'branch':'master'}},
+ {'meta-tlk':
+ {'repourl':'git://git.yoctoproject.org/meta-tlk',
+ 'autoinclude': False,
+ 'branch':'master'}},
{'meta-intel':
{'repourl':'git://git.yoctoproject.org/meta-intel',
'layerversion':{'intel':'meta-intel'},
@@ -43,7 +47,7 @@ steps: [{'SetDest':{}},
{'RunPreamble': {}},
{'CheckBSPExists': {}},
{'GetDistroVersion' : {'distro': 'poky'}},
- {'CreateAutoConf': {'machine': 'intel-corei7-64', 'SDKMACHINE' : 'x86_64',
+ {'CreateAutoConf': {'machine': 'intel-corei7-64', 'SDKMACHINE' : 'x86_64',
'distro': 'poky'}},
{'CreateBBLayersConf': {'buildprovider' : 'yocto',
'bsplayer': True, 'bspprovider': 'intel',
diff --git a/buildset-config.meta-intel/intel-quark.conf b/buildset-config.meta-intel/intel-quark.conf
index 136c2257d..8f0d5f27d 100644
--- a/buildset-config.meta-intel/intel-quark.conf
+++ b/buildset-config.meta-intel/intel-quark.conf
@@ -4,6 +4,10 @@ repos: [{'poky':
{'repourl':'git://git.yoctoproject.org/poky',
'layerversion':{'core':'meta', 'yoctobsp':'meta-yocto-bsp', 'yocto':'meta-yocto', 'poky':'meta-poky'},
'branch':'master'}},
+ {'meta-tlk':
+ {'repourl':'git://git.yoctoproject.org/meta-tlk',
+ 'autoinclude': False,
+ 'branch':'master'}},
{'meta-intel':
{'repourl':'git://git.yoctoproject.org/meta-intel',
'layerversion':{'intel':'meta-intel'},
diff --git a/buildset-config.meta-intel/nightly-meta-intel-world.conf b/buildset-config.meta-intel/nightly-meta-intel-world.conf
index 654c4f983..32c23e202 100644
--- a/buildset-config.meta-intel/nightly-meta-intel-world.conf
+++ b/buildset-config.meta-intel/nightly-meta-intel-world.conf
@@ -4,6 +4,10 @@ repos: [{'poky':
{'repourl':'git://git.yoctoproject.org/poky',
'layerversion':{'core':'meta', 'yoctobsp':'meta-yocto-bsp', 'yocto':'meta-yocto', 'poky':'meta-poky'},
'branch':'master'}},
+ {'meta-tlk':
+ {'repourl':'git://git.yoctoproject.org/meta-tlk',
+ 'autoinclude': False,
+ 'branch':'master'}},
{'meta-intel':
{'repourl':'git://git.yoctoproject.org/meta-intel',
'layerversion':{'intel':'meta-intel'},
diff --git a/buildset-config.meta-intel/nightly-meta-intel.conf b/buildset-config.meta-intel/nightly-meta-intel.conf
index 791053fc6..33446f757 100644
--- a/buildset-config.meta-intel/nightly-meta-intel.conf
+++ b/buildset-config.meta-intel/nightly-meta-intel.conf
@@ -10,6 +10,10 @@ repos: [{'poky':
{'meta-qt4':
{'repourl':'git://git.yoctoproject.org/meta-qt4',
'branch':'master'}},
+ {'meta-tlk':
+ {'repourl':'git://git.yoctoproject.org/meta-tlk',
+ 'autoinclude': False,
+ 'branch':'master'}},
{'meta-intel':
{'repourl':'git://git.yoctoproject.org/meta-intel',
'layerversion':{'intel':'meta-intel'},
@@ -90,16 +94,15 @@ steps: [{'SetDest':{}},
{'CheckOutLayers': {}},
{'RunPreamble': {}},
{'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':{},
+ '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':{},
- 'intel-quark':{}, 'nightly-musl':{},
- 'nightly-musl-core2-32':{}, 'nightly-x32':{}},
+ 'intel-corei7-64-lsb-rt':{}, 'intel-corei7-64-rt':{},
+ 'intel-quark':{}, 'nightly-musl':{}, 'nightly-musl-core2-32':{}, 'nightly-x32':{}},
'schedulerNames_nowait' : {'nightly-meta-intel-world':{}}}},
{'CreateIntelBSPPackage': {'machine': 'intel-core2-32'}},
{'CreateIntelBSPPackage': {'machine': 'intel-corei7-64'}},
- {'CreateIntelBSPPackage': {'machine': 'intel-quark'}},
+ {'CreateIntelBSPPackage': {'machine': 'intel-quark'}},
{'SendQAEmail': {}},
{'CreateCurrentLink' : {}}]
diff --git a/buildset-config.meta-intel/nightly-musl-core2-32.conf b/buildset-config.meta-intel/nightly-musl-core2-32.conf
index e83d03c40..30eb436f3 100644
--- a/buildset-config.meta-intel/nightly-musl-core2-32.conf
+++ b/buildset-config.meta-intel/nightly-musl-core2-32.conf
@@ -4,6 +4,10 @@ repos: [{'poky':
{'repourl':'git://git.yoctoproject.org/poky',
'layerversion':{'core':'meta', 'yoctobsp':'meta-yocto-bsp', 'yocto':'meta-yocto', 'poky':'meta-poky'},
'branch':'master'}},
+ {'meta-tlk':
+ {'repourl':'git://git.yoctoproject.org/meta-tlk',
+ 'autoinclude': False,
+ 'branch':'master'}},
{'meta-intel':
{'repourl':'git://git.yoctoproject.org/meta-intel',
'layerversion':{'intel':'meta-intel'},
diff --git a/buildset-config.meta-intel/nightly-musl.conf b/buildset-config.meta-intel/nightly-musl.conf
index 7687825dc..e125e2a94 100644
--- a/buildset-config.meta-intel/nightly-musl.conf
+++ b/buildset-config.meta-intel/nightly-musl.conf
@@ -4,6 +4,10 @@ repos: [{'poky':
{'repourl':'git://git.yoctoproject.org/poky',
'layerversion':{'core':'meta', 'yoctobsp':'meta-yocto-bsp', 'yocto':'meta-yocto', 'poky':'meta-poky'},
'branch':'master'}},
+ {'meta-tlk':
+ {'repourl':'git://git.yoctoproject.org/meta-tlk',
+ 'autoinclude': False,
+ 'branch':'master'}},
{'meta-intel':
{'repourl':'git://git.yoctoproject.org/meta-intel',
'layerversion':{'intel':'meta-intel'},
diff --git a/buildset-config.meta-intel/nightly-x32.conf b/buildset-config.meta-intel/nightly-x32.conf
index 47e659765..8b50a8c23 100644
--- a/buildset-config.meta-intel/nightly-x32.conf
+++ b/buildset-config.meta-intel/nightly-x32.conf
@@ -4,6 +4,10 @@ repos: [{'poky':
{'repourl':'git://git.yoctoproject.org/poky',
'layerversion':{'core':'meta', 'yoctobsp':'meta-yocto-bsp', 'yocto':'meta-yocto', 'poky':'meta-poky'},
'branch':'master'}},
+ {'meta-tlk':
+ {'repourl':'git://git.yoctoproject.org/meta-tlk',
+ 'autoinclude': False,
+ 'branch':'master'}},
{'meta-intel':
{'repourl':'git://git.yoctoproject.org/meta-intel',
'layerversion':{'intel':'meta-intel'},
diff --git a/buildset-config.meta-intel/yoctoAB.conf b/buildset-config.meta-intel/yoctoAB.conf
index 646fd90f9..437d233a9 100644
--- a/buildset-config.meta-intel/yoctoAB.conf
+++ b/buildset-config.meta-intel/yoctoAB.conf
@@ -1,5 +1,6 @@
[BuildSets]
order: ['nightly-meta-intel', 'nightly-meta-intel-world', 'nightly-musl',
- 'nightly-musl-core2-32', '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']
+ 'nightly-x32', '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',
+ 'intel-quark']
diff --git a/lib/python2.7/site-packages/autobuilder/buildsteps/CreateBBLayersConf.py b/lib/python2.7/site-packages/autobuilder/buildsteps/CreateBBLayersConf.py
index 593b9ee37..c40b899ec 100644
--- a/lib/python2.7/site-packages/autobuilder/buildsteps/CreateBBLayersConf.py
+++ b/lib/python2.7/site-packages/autobuilder/buildsteps/CreateBBLayersConf.py
@@ -41,6 +41,7 @@ class CreateBBLayersConf(ShellCommand):
workdir=self.getProperty("workdir")
layerversioncore = int(self.getProperty("layerversion_core", "0"))
layerversionyocto = int(self.getProperty("layerversion_yocto", "0"))
+ layerversionintel = int(self.getProperty("layerversion_intel", "0"))
if self.bbtextprepend != "":
fout = fout +"\n"+self.bbtextprepend
if self.bbtext:
@@ -106,7 +107,10 @@ class CreateBBLayersConf(ShellCommand):
if list(self.layerdirs):
for layer in self.layerdirs:
if layer not in ldirs:
- fout = fout + workdir + '/build/' + layer + ' \ \n'
+ if layer == "meta-intel/meta-tlk" and layerversionintel > 4:
+ fout = fout + workdir + '/build/meta-tlk \ \n'
+ else:
+ fout = fout + workdir + '/build/' + layer + ' \ \n'
ldirs.append(layer)
fout = fout + '" \n'
if self.bbtextappend != "":
--
2.14.2


[yocto-autobuilder][PATCH 3/4] buildset-config.meta-intel/nightly-meta-intel.conf: add rocko

Stephano Cetola <stephano.cetola@...>
 

Yocto v2.4 is live and the codename is rocko. This adds that name to
the list of possible releases.

Signed-off-by: Stephano Cetola <stephano.cetola@...>
---
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 ae14c6966..791053fc6 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':'<h3> Generate a release?:</h3>'}},
{'poky_name':{'prop_type':'ChoiceStringParameter',
- 'choices': ['', 'pyro', 'morty', 'krogoth', 'jethro', 'fido'],
+ 'choices': ['', 'rocko', 'pyro', 'morty', 'krogoth', 'jethro', 'fido'],
'name': 'poky_name',
'label':'<h3> Name of the poky release.<br>For further info on release names see <a href="https://wiki.yoctoproject.org/wiki/Releases"> Releases </a> </h3>'}},
{'is_milestone':{'prop_type':'ChoiceStringParameter',
--
2.14.2


[yocto-autobuilder][PATCH 2/4] intel-quark.conf: change the defaults for srcrev_meta and srcrev_machine

Stephano Cetola <stephano.cetola@...>
 

The default values for srcrev_machine and srcrev_meta should be set
to blank rather than AUTOREV. AUTOREV will force them to the tip of
the current branch, which is no longer needed.

Signed-off-by: Stephano Cetola <stephano.cetola@...>
---
buildset-config.meta-intel/intel-quark.conf | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/buildset-config.meta-intel/intel-quark.conf b/buildset-config.meta-intel/intel-quark.conf
index 931ead0e2..136c2257d 100644
--- a/buildset-config.meta-intel/intel-quark.conf
+++ b/buildset-config.meta-intel/intel-quark.conf
@@ -16,8 +16,8 @@ props: [{'kmeta':{'prop_type':'StringParameter',
{'srcrev_meta':{'prop_type':'StringParameter',
'size': 15,
'name': 'srcrev_meta',
- 'default': '${AUTOREV}',
- 'label':'<hr><h3> SRCREV for KMETA_${MACHINE} (default is ${AUTOREV}):<br></h3>'}},
+ 'default': '',
+ 'label':'<hr><h3> SRCREV for KMETA_${MACHINE} (default is blank):<br></h3>'}},
{'srcuri_meta':{'prop_type':'StringParameter',
'size': 50,
'name': 'srcuri_meta',
@@ -31,8 +31,8 @@ props: [{'kmeta':{'prop_type':'StringParameter',
{'srcrev_machine':{'prop_type':'StringParameter',
'size': 15,
'name': 'srcrev_machine',
- 'default': '${AUTOREV}',
- 'label':'<hr><h3> SRCREV for KBRANCH. (default is ${AUTOREV}):<br></h3>'}},
+ 'default': '',
+ 'label':'<hr><h3> SRCREV for KBRANCH. (default is blank):<br></h3>'}},
{'srcuri_machine':{'prop_type':'StringParameter',
'size': 50,
'name': 'srcuri_machine',
--
2.14.2


[yocto-autobuilder][PATCH 1/4] buildset-config.meta-intel: add oe-selftest buildsets

Stephano Cetola <stephano.cetola@...>
 

These buildset configs add RunOeSelftest steps for x86, x86-64,
corei7 core2-32 and qemux86-64.

Signed-off-by: Stephano Cetola <stephano.cetola@...>
---
.../nightly-oe-selftest-core2-32.conf | 31 ++++++++++++++++++++++
.../nightly-oe-selftest-corei7.conf | 31 ++++++++++++++++++++++
.../nightly-oe-selftest-x86-64.conf | 31 ++++++++++++++++++++++
.../nightly-oe-selftest-x86.conf | 31 ++++++++++++++++++++++
.../nightly-oe-selftest.conf | 30 +++++++++++++++++++++
5 files changed, 154 insertions(+)
create mode 100644 buildset-config.meta-intel/nightly-oe-selftest-core2-32.conf
create mode 100644 buildset-config.meta-intel/nightly-oe-selftest-corei7.conf
create mode 100644 buildset-config.meta-intel/nightly-oe-selftest-x86-64.conf
create mode 100644 buildset-config.meta-intel/nightly-oe-selftest-x86.conf
create mode 100644 buildset-config.meta-intel/nightly-oe-selftest.conf

diff --git a/buildset-config.meta-intel/nightly-oe-selftest-core2-32.conf b/buildset-config.meta-intel/nightly-oe-selftest-core2-32.conf
new file mode 100644
index 000000000..e174e82e8
--- /dev/null
+++ b/buildset-config.meta-intel/nightly-oe-selftest-core2-32.conf
@@ -0,0 +1,31 @@
+[nightly-oe-selftest-core2-32]
+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-tlk':
+ {'repourl':'git://git.yoctoproject.org/meta-tlk',
+ 'autoinclude': False,
+ 'branch':'master'}},
+ {'meta-intel':
+ {'repourl':'git://git.yoctoproject.org/meta-intel',
+ 'layerversion':{'intel':'meta-intel'},
+ 'branch':'master'}}]
+steps: [{'SetDest':{}},
+ {'CheckOutLayers': {}},
+ {'RunPreamble': {}},
+ {'GetDistroVersion' : {'distro': 'poky'}},
+ {'CreateAutoConf': {'machine': 'intel-core2-32', 'SDKMACHINE' : 'i686',
+ 'distro': 'poky', 'nosstate': True,
+ 'packages': 'rpm', 'buildhistory' : False,
+ 'prserv': False}},
+ {'CreateBBLayersConf': {'buildprovider' : 'yocto',
+ 'bsplayer': True, 'bspprovider': 'intel',
+ 'packages': 'rpm', 'buildhistory' : False,
+ 'prserv': False}},
+ {'BuildImages': {'images': 'core-image-minimal'}},
+ {'CreateBBLayersConf': {'buildprovider' : 'yocto', 'layerdirs': ['meta-selftest']}},
+ {'RunOeSelftest': {}},
+ {'DownloadErrorReports': {}},
+ {'SendErrorReport': {}}]
diff --git a/buildset-config.meta-intel/nightly-oe-selftest-corei7.conf b/buildset-config.meta-intel/nightly-oe-selftest-corei7.conf
new file mode 100644
index 000000000..e2e71272c
--- /dev/null
+++ b/buildset-config.meta-intel/nightly-oe-selftest-corei7.conf
@@ -0,0 +1,31 @@
+[nightly-oe-selftest-corei7]
+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-tlk':
+ {'repourl':'git://git.yoctoproject.org/meta-tlk',
+ 'autoinclude': False,
+ 'branch':'master'}},
+ {'meta-intel':
+ {'repourl':'git://git.yoctoproject.org/meta-intel',
+ 'layerversion':{'intel':'meta-intel'},
+ 'branch':'master'}}]
+steps: [{'SetDest':{}},
+ {'CheckOutLayers': {}},
+ {'RunPreamble': {}},
+ {'GetDistroVersion' : {'distro': 'poky'}},
+ {'CreateAutoConf': {'machine': 'intel-corei7-64', 'SDKMACHINE' : 'i686',
+ 'distro': 'poky', 'nosstate': True,
+ 'packages': 'rpm', 'buildhistory' : False,
+ 'prserv': False}},
+ {'CreateBBLayersConf': {'buildprovider' : 'yocto',
+ 'bsplayer': True, 'bspprovider': 'intel',
+ 'packages': 'rpm', 'buildhistory' : False,
+ 'prserv': False}},
+ {'BuildImages': {'images': 'core-image-minimal'}},
+ {'CreateBBLayersConf': {'buildprovider' : 'yocto', 'layerdirs': ['meta-selftest']}},
+ {'RunOeSelftest': {}},
+ {'DownloadErrorReports': {}},
+ {'SendErrorReport': {}}]
diff --git a/buildset-config.meta-intel/nightly-oe-selftest-x86-64.conf b/buildset-config.meta-intel/nightly-oe-selftest-x86-64.conf
new file mode 100644
index 000000000..98c08e160
--- /dev/null
+++ b/buildset-config.meta-intel/nightly-oe-selftest-x86-64.conf
@@ -0,0 +1,31 @@
+[nightly-oe-selftest-x86-64]
+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-tlk':
+ {'repourl':'git://git.yoctoproject.org/meta-tlk',
+ 'autoinclude': False,
+ 'branch':'master'}},
+ {'meta-intel':
+ {'repourl':'git://git.yoctoproject.org/meta-intel',
+ 'layerversion':{'intel':'meta-intel'},
+ 'branch':'master'}}]
+steps: [{'SetDest':{}},
+ {'CheckOutLayers': {}},
+ {'RunPreamble': {}},
+ {'GetDistroVersion' : {'distro': 'poky'}},
+ {'CreateBBLayersConf': {'buildprovider' : 'yocto',
+ 'bsplayer': True, 'bspprovider': 'intel',
+ 'layerdirs': ['meta-intel', 'meta-intel/meta-tlk']}},
+ {'CreateAutoConf': {'machine': 'genericx86-64', 'SDKMACHINE' : 'i686',
+ 'distro': 'poky', 'nosstate': True,
+ 'packages': 'rpm', 'buildhistory' : False,
+ 'prserv': False}},
+ {'CreateBBLayersConf': {'buildprovider' : 'yocto'}},
+ {'BuildImages': {'images': 'core-image-minimal'}},
+ {'CreateBBLayersConf': {'buildprovider' : 'yocto', 'layerdirs': ['meta-selftest']}},
+ {'RunOeSelftest': {}},
+ {'DownloadErrorReports': {}},
+ {'SendErrorReport': {}}]
diff --git a/buildset-config.meta-intel/nightly-oe-selftest-x86.conf b/buildset-config.meta-intel/nightly-oe-selftest-x86.conf
new file mode 100644
index 000000000..2c2b794fc
--- /dev/null
+++ b/buildset-config.meta-intel/nightly-oe-selftest-x86.conf
@@ -0,0 +1,31 @@
+[nightly-oe-selftest-x86]
+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-tlk':
+ {'repourl':'git://git.yoctoproject.org/meta-tlk',
+ 'autoinclude': False,
+ 'branch':'master'}},
+ {'meta-intel':
+ {'repourl':'git://git.yoctoproject.org/meta-intel',
+ 'layerversion':{'intel':'meta-intel'},
+ 'branch':'master'}}]
+steps: [{'SetDest':{}},
+ {'CheckOutLayers': {}},
+ {'RunPreamble': {}},
+ {'GetDistroVersion' : {'distro': 'poky'}},
+ {'CreateBBLayersConf': {'buildprovider' : 'yocto',
+ 'bsplayer': True, 'bspprovider': 'intel',
+ 'layerdirs': ['meta-intel', 'meta-intel/meta-tlk']}},
+ {'CreateAutoConf': {'machine': 'genericx86', 'SDKMACHINE' : 'i686',
+ 'distro': 'poky', 'nosstate': True,
+ 'packages': 'rpm', 'buildhistory' : False,
+ 'prserv': False}},
+ {'CreateBBLayersConf': {'buildprovider' : 'yocto'}},
+ {'BuildImages': {'images': 'core-image-minimal'}},
+ {'CreateBBLayersConf': {'buildprovider' : 'yocto', 'layerdirs': ['meta-selftest']}},
+ {'RunOeSelftest': {}},
+ {'DownloadErrorReports': {}},
+ {'SendErrorReport': {}}]
diff --git a/buildset-config.meta-intel/nightly-oe-selftest.conf b/buildset-config.meta-intel/nightly-oe-selftest.conf
new file mode 100644
index 000000000..02586eeb6
--- /dev/null
+++ b/buildset-config.meta-intel/nightly-oe-selftest.conf
@@ -0,0 +1,30 @@
+[nightly-oe-selftest]
+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-tlk':
+ {'repourl':'git://git.yoctoproject.org/meta-tlk',
+ 'autoinclude': False,
+ 'branch':'master'}},
+ {'meta-intel':
+ {'repourl':'git://git.yoctoproject.org/meta-intel',
+ 'layerversion':{'intel':'meta-intel'},
+ 'branch':'master'}}]
+steps: [{'SetDest':{}},
+ {'CheckOutLayers': {}},
+ {'RunPreamble': {}},
+ {'GetDistroVersion' : {'distro': 'poky'}},
+ {'CreateBBLayersConf': {'buildprovider' : 'yocto',
+ 'bsplayer': True, 'bspprovider': 'intel',
+ 'layerdirs': ['meta-intel', 'meta-intel/meta-tlk']}},
+ {'CreateAutoConf': {'machine': 'qemux86-64', 'SDKMACHINE' : 'x86_64',
+ 'distro': 'poky', 'packages': 'rpm',
+ 'buildhistory' : False, 'prserv': False}},
+ {'CreateBBLayersConf': {'buildprovider' : 'yocto'}},
+ {'BuildImages': {'images': 'core-image-minimal'}},
+ {'CreateBBLayersConf': {'buildprovider' : 'yocto', 'layerdirs': ['meta-selftest']}},
+ {'RunOeSelftest': {}},
+ {'DownloadErrorReports': {}},
+ {'SendErrorReport': {}}]
--
2.14.2


[yocto-autobuilder][PATCH 0/4] update meta-intel ab

Stephano Cetola <stephano.cetola@...>
 

There were a few changes that were not committed on the meta-intel
autobuilder, specifically in the buildset configs. These patches get
us back up to date with those changes.

There is also an update to meta-tlk which should not effect the yocto
autobuilder. Since we now have meta-tlk as a separate layer from
meta-intel, we need to add that layer's location based on
meta-intel's layer version.

Stephano Cetola (4):
buildset-config.meta-intel: add oe-selftest buildsets
intel-quark.conf: change the defaults for srcrev_meta and
srcrev_machine
buildset-config.meta-intel/nightly-meta-intel.conf: add rocko
buildset-config.meta-intel: add meta-tlk

.../intel-core2-32-lsb-rt.conf | 5 +++-
buildset-config.meta-intel/intel-core2-32-lsb.conf | 4 +++
buildset-config.meta-intel/intel-core2-32-rt.conf | 5 +++-
buildset-config.meta-intel/intel-core2-32.conf | 4 +++
.../intel-corei7-64-lsb-rt.conf | 4 +++
.../intel-corei7-64-lsb.conf | 6 ++++-
buildset-config.meta-intel/intel-corei7-64-rt.conf | 4 +++
buildset-config.meta-intel/intel-corei7-64.conf | 6 ++++-
buildset-config.meta-intel/intel-quark.conf | 12 ++++++---
.../nightly-meta-intel-world.conf | 4 +++
buildset-config.meta-intel/nightly-meta-intel.conf | 17 +++++++-----
.../nightly-musl-core2-32.conf | 4 +++
buildset-config.meta-intel/nightly-musl.conf | 4 +++
.../nightly-oe-selftest-core2-32.conf | 31 ++++++++++++++++++++++
.../nightly-oe-selftest-corei7.conf | 31 ++++++++++++++++++++++
.../nightly-oe-selftest-x86-64.conf | 31 ++++++++++++++++++++++
.../nightly-oe-selftest-x86.conf | 31 ++++++++++++++++++++++
.../nightly-oe-selftest.conf | 30 +++++++++++++++++++++
buildset-config.meta-intel/nightly-x32.conf | 4 +++
buildset-config.meta-intel/yoctoAB.conf | 7 ++---
.../autobuilder/buildsteps/CreateBBLayersConf.py | 6 ++++-
21 files changed, 231 insertions(+), 19 deletions(-)
create mode 100644 buildset-config.meta-intel/nightly-oe-selftest-core2-32.conf
create mode 100644 buildset-config.meta-intel/nightly-oe-selftest-corei7.conf
create mode 100644 buildset-config.meta-intel/nightly-oe-selftest-x86-64.conf
create mode 100644 buildset-config.meta-intel/nightly-oe-selftest-x86.conf
create mode 100644 buildset-config.meta-intel/nightly-oe-selftest.conf

--
2.14.2


[layerindex-web][patch v2 1/1] templates/layerindex/classes.html: Add bbclass search

Amanda Brindle
 

Add another tab to search for classes.

Fixes [YOCTO #11207]

Signed-off by: Amanda Brindle <amanda.r.brindle@...>
---
layerindex/restviews.py | 10 ++++-
layerindex/urls.py | 3 ++
layerindex/urls_branch.py | 6 ++-
layerindex/views.py | 24 ++++++++++++
templates/layerindex/classes.html | 75 ++++++++++++++++++++++++++++++++++++++
templates/layerindex/distros.html | 1 +
templates/layerindex/layers.html | 1 +
templates/layerindex/machines.html | 1 +
templates/layerindex/recipes.html | 1 +
9 files changed, 120 insertions(+), 2 deletions(-)
create mode 100644 templates/layerindex/classes.html

diff --git a/layerindex/restviews.py b/layerindex/restviews.py
index d947bbf..836aa54 100644
--- a/layerindex/restviews.py
+++ b/layerindex/restviews.py
@@ -1,4 +1,4 @@
-from layerindex.models import Branch, LayerItem, LayerNote, LayerBranch, LayerDependency, Recipe, Machine, Distro
+from layerindex.models import Branch, LayerItem, LayerNote, LayerBranch, LayerDependency, Recipe, Machine, Distro, BBClass
from rest_framework import viewsets, serializers
from layerindex.querysethelper import params_to_queryset, get_search_tuple

@@ -64,3 +64,11 @@ class DistroSerializer(serializers.ModelSerializer):
class DistroViewSet(ParametricSearchableModelViewSet):
queryset = Distro.objects.all()
serializer_class = DistroSerializer
+
+class ClassSerializer(serializers.ModelSerializer):
+ class Meta:
+ model = BBClass
+
+class ClassViewSet(ParametricSearchableModelViewSet):
+ queryset = BBClass.objects.all()
+ serializer_class = ClassSerializer
diff --git a/layerindex/urls.py b/layerindex/urls.py
index b4535d2..6a1cb6a 100644
--- a/layerindex/urls.py
+++ b/layerindex/urls.py
@@ -22,6 +22,7 @@ router.register(r'layerDependencies', restviews.LayerDependencyViewSet)
router.register(r'recipes', restviews.RecipeViewSet)
router.register(r'machines', restviews.MachineViewSet)
router.register(r'distros', restviews.DistroViewSet)
+router.register(r'classes', restviews.ClassViewSet)

urlpatterns = patterns('',
url(r'^$',
@@ -40,6 +41,8 @@ urlpatterns = patterns('',
RedirectView.as_view(url=reverse_lazy('machine_search', args=('master',)), permanent=False)),
url(r'^distros/$',
RedirectView.as_view(url=reverse_lazy('distro_search', args=('master',)), permanent=False)),
+ url(r'^classes/$',
+ RedirectView.as_view(url=reverse_lazy('class_search', args=('master',)), permanent=False)),

url(r'^submit/$', edit_layer_view, {'template_name': 'layerindex/submitlayer.html'}, name="submit_layer"),
url(r'^submit/thanks$',
diff --git a/layerindex/urls_branch.py b/layerindex/urls_branch.py
index 89659d9..d451896 100644
--- a/layerindex/urls_branch.py
+++ b/layerindex/urls_branch.py
@@ -7,7 +7,7 @@
from django.conf.urls import *
from django.views.defaults import page_not_found
from django.core.urlresolvers import reverse_lazy
-from layerindex.views import LayerListView, RecipeSearchView, MachineSearchView, DistroSearchView, PlainTextListView, LayerDetailView, edit_layer_view, delete_layer_view, edit_layernote_view, delete_layernote_view, RedirectParamsView, DuplicatesView, LayerUpdateDetailView
+from layerindex.views import LayerListView, RecipeSearchView, MachineSearchView, DistroSearchView, ClassSearchView, PlainTextListView, LayerDetailView, edit_layer_view, delete_layer_view, edit_layernote_view, delete_layernote_view, RedirectParamsView, DuplicatesView, LayerUpdateDetailView

urlpatterns = patterns('',
url(r'^$',
@@ -32,6 +32,10 @@ urlpatterns = patterns('',
DistroSearchView.as_view(
template_name='layerindex/distros.html'),
name='distro_search'),
+ url(r'^classes/$',
+ ClassSearchView.as_view(
+ template_name='layerindex/classes.html'),
+ name='class_search'),
url(r'^edit/(?P<slug>[-\w]+)/$', edit_layer_view, {'template_name': 'layerindex/editlayer.html'}, name="edit_layer"),
url(r'^duplicates/$',
DuplicatesView.as_view(
diff --git a/layerindex/views.py b/layerindex/views.py
index 3b22067..03d47f2 100644
--- a/layerindex/views.py
+++ b/layerindex/views.py
@@ -724,6 +724,30 @@ class DistroSearchView(ListView):
context['this_url_name'] = resolve(self.request.path_info).url_name
return context

+class ClassSearchView(ListView):
+ context_object_name = 'class_list'
+ paginate_by = 50
+
+ def get_queryset(self):
+ _check_url_branch(self.kwargs)
+ query_string = self.request.GET.get('q', '')
+ init_qs = BBClass.objects.filter(layerbranch__branch__name=self.kwargs['branch'])
+ if query_string.strip():
+ entry_query = simplesearch.get_query(query_string, ['name'])
+ return init_qs.filter(entry_query).order_by('name', 'layerbranch__layer')
+
+ if 'q' in self.request.GET:
+ return init_qs.order_by('name', 'layerbranch__layer')
+
+ # Be consistent with RecipeSearchView
+ return Distro.objects.none()
+
+ def get_context_data(self, **kwargs):
+ context = super(ClassSearchView, self).get_context_data(**kwargs)
+ context['search_keyword'] = self.request.GET.get('q', '')
+ context['url_branch'] = self.kwargs['branch']
+ context['this_url_name'] = resolve(self.request.path_info).url_name
+ return context

class PlainTextListView(ListView):
def render_to_response(self, context):
diff --git a/templates/layerindex/classes.html b/templates/layerindex/classes.html
new file mode 100644
index 0000000..f16cba7
--- /dev/null
+++ b/templates/layerindex/classes.html
@@ -0,0 +1,75 @@
+{% extends "base_toplevel.html" %}
+{% load i18n %}
+
+{% comment %}
+
+ layerindex-web - class index page template
+
+ Copyright (C) 2013 Intel Corporation
+ Copyright (C) 2016 Wind River Systems
+ Licensed under the MIT license, see COPYING.MIT for details
+
+{% endcomment %}
+
+
+<!--
+{% block title_append %} - classes{% endblock %}
+-->
+
+{% block navs %}
+{% autoescape on %}
+ <li><a href="{% url 'layer_list' url_branch %}">Layers</a></li>
+ <li><a href="{% url 'recipe_search' url_branch %}">Recipes</a></li>
+ <li><a href="{% url 'machine_search' url_branch %}">Machines</a></li>
+ <li class="active"><a href="{% url 'class_search' url_branch %}">Classes</a></li>
+ <li><a href="{% url 'distro_search' url_branch %}">Distros</a></li>
+{% endautoescape %}
+{% endblock %}
+
+
+{% block content_inner %}
+{% autoescape on %}
+
+
+ <div class="row-fluid">
+ <div class="input-append">
+ <form id="filter-form" action="{% url 'class_search' url_branch %}" method="get">
+ <input type="text" class="input-xxlarge" id="appendedInputButtons" placeholder="Search classes" name="q" value="{{ search_keyword }}" />
+ <button class="btn" type="submit">search</button>
+ </form>
+ </div>
+ </div>
+
+{% if class_list %}
+ <table class="table table-striped table-bordered classestable">
+ <thead>
+ <tr>
+ <th>Class Name</th>
+ <th>Layer</th>
+ </tr>
+ </thead>
+
+ <tbody>
+ {% for class in class_list %}
+ <tr>
+ <td><a href="{{ class.vcs_web_url }}">{{ class.name }}</a></td>
+ <td><a href="{% url 'layer_item' url_branch class.layerbranch.layer.name %}">{{ class.layerbranch.layer.name }}</a></td>
+ </tr>
+ {% endfor %}
+ </tbody>
+ </table>
+
+ {% if is_paginated %}
+ {% load pagination %}
+ {% pagination page_obj %}
+ {% endif %}
+{% else %}
+ {% if search_keyword %}
+ <p>No matching classes in database.</p>
+ {% endif %}
+{% endif %}
+
+
+{% endautoescape %}
+
+{% endblock %}
diff --git a/templates/layerindex/distros.html b/templates/layerindex/distros.html
index 7085584..5b6995a 100644
--- a/templates/layerindex/distros.html
+++ b/templates/layerindex/distros.html
@@ -21,6 +21,7 @@
<li><a href="{% url 'layer_list' url_branch %}">Layers</a></li>
<li><a href="{% url 'recipe_search' url_branch %}">Recipes</a></li>
<li><a href="{% url 'machine_search' url_branch %}">Machines</a></li>
+ <li><a href="{% url 'class_search' url_branch %}">Classes</a></li>
<li class="active"><a href="{% url 'distro_search' url_branch %}">Distros</a></li>
{% endautoescape %}
{% endblock %}
diff --git a/templates/layerindex/layers.html b/templates/layerindex/layers.html
index f1a3703..11954e0 100644
--- a/templates/layerindex/layers.html
+++ b/templates/layerindex/layers.html
@@ -21,6 +21,7 @@
<li class="active"><a href="{% url 'layer_list' url_branch %}">Layers</a></li>
<li><a href="{% url 'recipe_search' url_branch %}">Recipes</a></li>
<li><a href="{% url 'machine_search' url_branch %}">Machines</a></li>
+ <li><a href="{% url 'class_search' url_branch %}">Classes</a></li>
<li><a href="{% url 'distro_search' url_branch %}">Distros</a></li>
{% endautoescape %}
{% endblock %}
diff --git a/templates/layerindex/machines.html b/templates/layerindex/machines.html
index 2a9f947..c0c6f33 100644
--- a/templates/layerindex/machines.html
+++ b/templates/layerindex/machines.html
@@ -20,6 +20,7 @@
<li><a href="{% url 'layer_list' url_branch %}">Layers</a></li>
<li><a href="{% url 'recipe_search' url_branch %}">Recipes</a></li>
<li class="active"><a href="{% url 'machine_search' url_branch %}">Machines</a></li>
+ <li><a href="{% url 'class_search' url_branch %}">Classes</a></li>
<li><a href="{% url 'distro_search' url_branch %}">Distros</a></li>
{% endautoescape %}
{% endblock %}
diff --git a/templates/layerindex/recipes.html b/templates/layerindex/recipes.html
index 60a2667..1322750 100644
--- a/templates/layerindex/recipes.html
+++ b/templates/layerindex/recipes.html
@@ -20,6 +20,7 @@
<li><a href="{% url 'layer_list' url_branch %}">Layers</a></li>
<li class="active"><a href="{% url 'recipe_search' url_branch %}">Recipes</a></li>
<li><a href="{% url 'machine_search' url_branch %}">Machines</a></li>
+ <li><a href="{% url 'class_search' url_branch %}">Classes</a></li>
<li><a href="{% url 'distro_search' url_branch %}">Distros</a></li>
{% endautoescape %}
{% endblock %}
--
2.7.4


[layerindex-web][patch v2 0/1]

Amanda Brindle
 

Reordered the classes and distro tabs to be consistent with the tabs on the
layer detail pages.

The following changes since commit 44386eea41a8e1bb8a3ab831613cfc1a19ff6ecd:

querysethelper: fix searching (2017-10-31 09:58:30 +1300)

are available in the git repository at:

git://git.yoctoproject.org/layerindex-web abrindle/bbclass_search
http://git.yoctoproject.org/cgit.cgi/layerindex-web/log/?h=abrindle/bbclass_search

Amanda Brindle (1):
templates/layerindex/classes.html: Add bbclass search

layerindex/restviews.py | 10 ++++-
layerindex/urls.py | 3 ++
layerindex/urls_branch.py | 6 ++-
layerindex/views.py | 24 ++++++++++++
templates/layerindex/classes.html | 75 ++++++++++++++++++++++++++++++++++++++
templates/layerindex/distros.html | 1 +
templates/layerindex/layers.html | 1 +
templates/layerindex/machines.html | 1 +
templates/layerindex/recipes.html | 1 +
9 files changed, 120 insertions(+), 2 deletions(-)
create mode 100644 templates/layerindex/classes.html

--
2.7.4


[layerindex-web][patch v1 1/1] recipes.html: Require keyword for recipe search

Amanda Brindle
 

Use JavaScript to check if the search box for recipe search is
empty before querying the database. This will prevent the "502
Bad Gateway" error that occurs when the query takes too long due
to the large list of recipes.

Add a browse button for the Machines and Distros pages.

Fixes [YOCTO #11930]

Signed-off-by: Amanda Brindle <amanda.r.brindle@...>
---
layerindex/views.py | 10 ++++++++--
templates/layerindex/distros.html | 3 ++-
templates/layerindex/machines.html | 3 ++-
templates/layerindex/recipes.html | 17 ++++++++++++++++-
4 files changed, 28 insertions(+), 5 deletions(-)

diff --git a/layerindex/views.py b/layerindex/views.py
index 3b22067..9b5d505 100644
--- a/layerindex/views.py
+++ b/layerindex/views.py
@@ -656,7 +656,10 @@ class MachineSearchView(ListView):

def get_queryset(self):
_check_url_branch(self.kwargs)
- query_string = self.request.GET.get('q', '')
+ if self.request.GET.get('search', ''):
+ query_string = self.request.GET.get('q', '')
+ else:
+ query_string = ""
init_qs = Machine.objects.filter(layerbranch__branch__name=self.kwargs['branch'])
if query_string.strip():
entry_query = simplesearch.get_query(query_string, ['name', 'description'])
@@ -705,7 +708,10 @@ class DistroSearchView(ListView):

def get_queryset(self):
_check_url_branch(self.kwargs)
- query_string = self.request.GET.get('q', '')
+ if self.request.GET.get('search', ''):
+ query_string = self.request.GET.get('q', '')
+ else:
+ query_string = ""
init_qs = Distro.objects.filter(layerbranch__branch__name=self.kwargs['branch'])
if query_string.strip():
entry_query = simplesearch.get_query(query_string, ['name', 'description'])
diff --git a/templates/layerindex/distros.html b/templates/layerindex/distros.html
index 7085584..34b5419 100644
--- a/templates/layerindex/distros.html
+++ b/templates/layerindex/distros.html
@@ -34,7 +34,8 @@
<div class="input-append">
<form id="filter-form" action="{% url 'distro_search' url_branch %}" method="get">
<input type="text" class="input-xxlarge" id="appendedInputButtons" placeholder="Search distros" name="q" value="{{ search_keyword }}" />
- <button class="btn" type="submit">search</button>
+ <button class="btn" type="submit" name="search" value="1">search</button>
+ <button class="btn" type="submit" name="browse" value="1">browse</button>
</form>
</div>
</div>
diff --git a/templates/layerindex/machines.html b/templates/layerindex/machines.html
index 2a9f947..d91228a 100644
--- a/templates/layerindex/machines.html
+++ b/templates/layerindex/machines.html
@@ -33,7 +33,8 @@
<div class="input-append">
<form id="filter-form" action="{% url 'machine_search' url_branch %}" method="get">
<input type="text" class="input-xxlarge" id="appendedInputButtons" placeholder="Search machines" name="q" value="{{ search_keyword }}" />
- <button class="btn" type="submit">search</button>
+ <button class="btn" type="submit" name="search" value="1">search</button>
+ <button class="btn" type="submit" name="browse" value="1">browse</button>
</form>
</div>
</div>
diff --git a/templates/layerindex/recipes.html b/templates/layerindex/recipes.html
index 60a2667..ae69be6 100644
--- a/templates/layerindex/recipes.html
+++ b/templates/layerindex/recipes.html
@@ -32,13 +32,14 @@

<div class="row-fluid">
<div class="input-append">
- <form id="filter-form" action="{% url 'recipe_search' url_branch %}" method="get">
+ <form id="filter-form" action="{% url 'recipe_search' url_branch %}" method="get" onsubmit="return validate()">
<input type="text" class="input-xxlarge" id="appendedInputButtons" placeholder="Search recipes" name="q" value="{{ search_keyword }}" />
<button class="btn" type="submit">search</button>
</form>
</div>
</div>

+ <div id="error"> </div>
{% if recipe_list %}
<table class="table table-striped table-bordered recipestable">
<thead>
@@ -87,5 +88,19 @@
$('.icon-hdd').tooltip({title:"Inherits image"});
$('.label-inverse').tooltip();
});
+
+ function validate(){
+ var x = document.getElementById("appendedInputButtons").value;
+ var error = document.getElementById("error");
+ error.style.display = "none";
+ if (x == ""){
+ error.innerHTML = "<error>Recipe search cannot be blank</error>";
+ $("error").addClass("control-group alert alert-error");
+ error.style.display = "block";
+ return false;
+ }
+ }
+
+
</script>
{% endblock %}
--
2.7.4


[layerindex-web][patch v1 0/1] recipes.html: Require keyword for recipe search

Amanda Brindle
 

The following changes since commit 44386eea41a8e1bb8a3ab831613cfc1a19ff6ecd:

querysethelper: fix searching (2017-10-31 09:58:30 +1300)

are available in the git repository at:

git://git.yoctoproject.org/layerindex-web abrindle/recipe_search
http://git.yoctoproject.org/cgit.cgi/layerindex-web/log/?h=abrindle/recipe_search

Amanda Brindle (1):
recipes.html: Require keyword for recipe search

layerindex/views.py | 10 ++++++++--
templates/layerindex/distros.html | 3 ++-
templates/layerindex/machines.html | 3 ++-
templates/layerindex/recipes.html | 17 ++++++++++++++++-
4 files changed, 28 insertions(+), 5 deletions(-)

--
2.7.4


Re: [Openembedded-architecture] [RFC] stable branch naming scheme

Armin Kuster
 



On 11/06/2017 08:43 AM, Denys Dmytriyenko wrote:
On Fri, Nov 03, 2017 at 09:20:43AM -0700, akuster808 wrote:
Hello,

The problem I hope to solve is that a Maintainer can stage changes in
any branch in the contrib repos making it difficult for folks to track
their back port requests. The also makes it harder to automate any kind
of build automation.

I would like to propose a contrib naming scheme for the stable release
branches. I am thinking of the following:

stable/{version}-next or {special char}_stable/{version}-next.

   "version" is either the code name or numeric like in bitbake.

   "special char" would be used to have these branches at the top of th
list, if we wont that.
I like this branch unification!

I know we discussed this at OEDEM and there was some convenience reason given, 
but can we also standardize on the tree? I.e. openembedded-core-contrib vs. 
poky-contrib?

The current Poky maintenance process talks about deconstructing "stable-next":
https://wiki.yoctoproject.org/wiki/Stable_branch_maintenance#Stable_branch_maintainers
 
  • Split out any bitbake changes and send them to the bitbake-devel mailing list (marking them with the appropriate stable version in the subject line e.g. [1.20])
  • Split out OE-Core changes and create an openembedded-core-contrib branch containing them; send the cover letter only (marking it as such in the subject) to the openembedded-core mailing list.
  • 
        
    The above has been happening via  a script Richard runs.  I personally think it the workflow should be for OE -> Yocto. This does add more work for the maintainer but is cleaner.  I did ask Richard to create bitbake-contrib for this purpose but am lazy as he uses his script ; )

    The reason I choose "stable/" branching is that the "-next" branches are out of sync and not being used correctly or not defined on their purpose. another subject for another time.

    - armin

    
    
    We can apply this to all OE / Yocto repos that have stable branch
    maintenance process.
    
    If we standardize on a naming scheme, We can then document this so
    contributers can monitor their requests more easily. The community can
    see what changes are being backport.  This will enable the possibility
    to automate builds, etc. 
    
    let me know what you think.
    
    Kind regards,
    
    Armin
    
    
    
    _______________________________________________
    Openembedded-architecture mailing list
    Openembedded-architecture@...
    http://lists.openembedded.org/mailman/listinfo/openembedded-architecture
    


    Re: [Openembedded-architecture] [RFC] stable branch naming scheme

    Denys Dmytriyenko
     

    On Fri, Nov 03, 2017 at 09:20:43AM -0700, akuster808 wrote:
    Hello,

    The problem I hope to solve is that a Maintainer can stage changes in
    any branch in the contrib repos making it difficult for folks to track
    their back port requests. The also makes it harder to automate any kind
    of build automation.

    I would like to propose a contrib naming scheme for the stable release
    branches. I am thinking of the following:

    stable/{version}-next or {special char}_stable/{version}-next.

       "version" is either the code name or numeric like in bitbake.

       "special char" would be used to have these branches at the top of th
    list, if we wont that.
    I like this branch unification!

    I know we discussed this at OEDEM and there was some convenience reason given,
    but can we also standardize on the tree? I.e. openembedded-core-contrib vs.
    poky-contrib?


    We can apply this to all OE / Yocto repos that have stable branch
    maintenance process.

    If we standardize on a naming scheme, We can then document this so
    contributers can monitor their requests more easily. The community can
    see what changes are being backport.  This will enable the possibility
    to automate builds, etc. 

    let me know what you think.

    Kind regards,

    Armin



    _______________________________________________
    Openembedded-architecture mailing list
    Openembedded-architecture@...
    http://lists.openembedded.org/mailman/listinfo/openembedded-architecture


    Yocto Project Status WW45’17

    Jolley, Stephen K <stephen.k.jolley@...>
     

    Current Dev Position: YP 2.5 Planning and M1 development

    Next Deadline: YP 2.5 M1 cut off of 12/4/17

     

    SWAT team rotation: Ross -> Leo on Nov. 3, 2017.

    SWAT team rotation: Leo -> Juro on Nov. 10, 2017.

    https://wiki.yoctoproject.org/wiki/Yocto_Build_Failure_Swat_Team

     

    Key Status/Updates:

    ·        Master has started taking patches for 2.5. We are struggling with a raft of different build failures that keep occurring on the autobuilders. Currently open issues are:

    o   qemux86-64 appears to have an early boot hang (bug 12301)

    o   ftp urls are having proxy/firewall issues

    o   oe-selftest log duplication causes failures (or maybe failures cause duplicate logging, hard to tell) (bug 12127)

    o   qemuppc has random hangs (had hoped rng fix would help but hasn’t)

    o   nfs inode count for the sstate share appears to break periodically causing the disk monitor to halt the builds (bug 12267)

    o   a perf build race (bug 12302)

    o   also bugs 12303 and 12304 (not gotten to look into these yet)

    ·        Until we resolve these issues, patches are going to be slow to merge. This also blocks several core developers from doing *any* feature work at this point in time (e.g. layer setup tool is on hold, again).

    ·        We plan to drop the remaining ftp urls from OE-Core as most of the remaining ftp servers are likely being decommissioned anyway (e.g. see https://ftp.gnu.org)

    ·        ross/mut is known to cause further oe-selftest and nightly-qa-target failures so patches there are on hold whilst we try and further isolate which patches are causing these.

    ·        We can only continue to stress that unless others step up and help to try and root cause these issues, things will stall with the project.

     

    Planned upcoming dot releases:

    YP 2.2.3 is planned and should be out in the next few weeks.

    YP 2.3.3 is planned, but date TBD during YP 2.5 planning.

    YP 2.4.1 is planned, but date TBD during YP 2.5 planning.

     

    Key YP 2.5 Dates are:

    YP 2.5 M1 cut off of 12/4/17

    YP 2.5 M1 release of 12/15/17

    YP 2.5 M2 cut off of 1/15/18

    YP 2.5 M2 release of 1/26/18

    YP 2.5 M3 cut off of 2/19/18

    YP 2.5 M3 release of 3/2/18

    YP 2.5 M4 cut off of 4/2/18

    YP 2.5 M4 release of 4/27/18

     

    Tracking Metrics:

                WDD 2633 (last week 2623)

    (https://wiki.yoctoproject.org/charts/combo.html)

     

    Key Status Links for YP:

    https://wiki.yoctoproject.org/wiki/Yocto_Project_v2.5_Status

    https://wiki.yoctoproject.org/wiki/Yocto_2.5_Schedule

    https://wiki.yoctoproject.org/wiki/Yocto_2.5_Features

    [If anyone has suggestions for other information you’d like to see on this weekly status update, let us know!]

     

    Thanks,

     

    Stephen K. Jolley

    Yocto Project Program Manager

    INTEL, MS JF1-255, 2111 N.E. 25th Avenue, Hillsboro, OR 97124

    (   Work Telephone:        (503) 712-0534

    (    Cell:                              (208) 244-4460

    * Email:                            stephen.k.jolley@...

     


    [meta-oracle-java][PATCH] Don't preserve ownership when copying files

    Martin Nordqvist <mano@...>
     

    Don't preserve ownership when copying files. Instead let root be
    owner of all files.
    ---
    recipes-devtools/oracle-java/oracle-jse-jdk.inc | 3 ++-
    recipes-devtools/oracle-java/oracle-jse.inc | 3 ++-
    2 files changed, 4 insertions(+), 2 deletions(-)

    diff --git a/recipes-devtools/oracle-java/oracle-jse-jdk.inc b/recipes-devtools/oracle-java/oracle-jse-jdk.inc
    index a7210d9..ca6af22 100644
    --- a/recipes-devtools/oracle-java/oracle-jse-jdk.inc
    +++ b/recipes-devtools/oracle-java/oracle-jse-jdk.inc
    @@ -13,7 +13,8 @@ require oracle-jse.inc

    do_install_class-native() {
    install -d ${D}${libdir_jvm}
    - cp -a ${S}/${JDK_JRE}${PV}_${PV_UPDATE} ${D}${JDK_HOME}
    + cp -a --no-preserve=ownership \
    + ${S}/${JDK_JRE}${PV}_${PV_UPDATE} ${D}${JDK_HOME}

    install -d ${D}${bindir}
    ln -sf ${JDK_HOME}/bin/java ${D}${bindir}
    diff --git a/recipes-devtools/oracle-java/oracle-jse.inc b/recipes-devtools/oracle-java/oracle-jse.inc
    index 4346f23..5e5f406 100644
    --- a/recipes-devtools/oracle-java/oracle-jse.inc
    +++ b/recipes-devtools/oracle-java/oracle-jse.inc
    @@ -19,7 +19,8 @@ JDK_HOME = "${libdir_jvm}/${JDK_DIR}"

    do_install () {
    install -d -m 0755 ${D}${libdir_jvm}
    - cp -a ${S}/${JDK_JRE}${PV}_${PV_UPDATE} ${D}${JDK_HOME}
    + cp -a --no-preserve=ownership \
    + ${S}/${JDK_JRE}${PV}_${PV_UPDATE} ${D}${JDK_HOME}
    }

    # All the files are provided in a binaray package, and keeping all the
    --
    1.9.1


    use native (cross) toolchain instead of a populated nativesdk (cross-canadian) toolchain

    Zhen LiWei <zhenlw@...>
     

    Hi, I am working on a yocto 2.0 based distro and we usually populate_sdk and use the toolchain included in SDK.

     

    But we also like to check the SDK into a SVN repo, and checkout it anywhere, and use it away right where it is checked out. And since the nativesdk binaries are based on a different glibc than native, and have the “dynamic loader” path hardcoded in them, so I have to patch the toolchain binaries’ .interp secion to point to a common place, and update the loader into that common place automatically in some way. Other than this, things works very good for us.

     

    Then I am thinking: is it a good practice, to use the native/cross toolchain directly from the tmp/sysroots/x86_64-native folder. I tried and succeeded, by just moving the sysroot to where the populated nativesdk toolchain was.

     

    An extra bonus about this is that we got a more populated sysroot for native platform too, for example a openssl dev package at the same version as that on target, that we can actually use to make the native platform a closer-to-target dev env for some “workbench” build.

     

    However I’m still wondering: is there any thing negative about this style? One thing known is that the SDK-using host need to be similar to the SDK-building host, but that is not an issue for us. But anything else, guys?

     


    Re: Customize SDKPATH

    Martin Hundebøll <mnhu@...>
     

    Hi Jonathan,

    On 2017-11-02 17:43, Jonathan Poulin wrote:
    Is there a way to set IMAGE_BASENAME to the image name used in the command "bitbake -c populate_sdk <image_name>" in a way that all package recipe see it?
    We use TOOLCHAIN_OUTPUTNAME, like this:

    TOOLCHAIN_OUTPUTNAME = "${PN}-${SDK_ARCH}-${SDK_OS}-${REAL_MULTIMACH_TARGET_SYS}"


    --
    MARTIN HUNDEBØLL, Prevas A/S
    Software Developer

    Hedeager 3, DK-8200 Aarhus N
    Phone +45 87438070
    Mobile +45 25562438
    Martin.Hundeboll@...
    www.prevas.com


    Re: Customize SDKPATH

    Martin Hundebøll <martin.hundeboll@...>
     

    Hi Jonathan,

    On 2017-11-02 17:43, Jonathan Poulin wrote:
    Is there a way to set IMAGE_BASENAME to the image name used in the command "bitbake -c populate_sdk <image_name>" in a way that all package recipe see it?
    We use TOOLCHAIN_OUTPUTNAME, like this:

    TOOLCHAIN_OUTPUTNAME = "${PN}-${SDK_ARCH}-${SDK_OS}-${REAL_MULTIMACH_TARGET_SYS}"


    --
    MARTIN HUNDEBØLL, Prevas A/S
    Software Developer

    Hedeager 3, DK-8200 Aarhus N
    Phone +45 87438070
    Mobile +45 25562438
    Martin.Hundeboll@...
    www.prevas.com

    18741 - 18760 of 57410