<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/bitbake, branch krogoth-enea</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=krogoth-enea</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=krogoth-enea'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2017-02-10T11:21:35+00:00</updated>
<entry>
<title>bitbake: siggen: Ensure taskhash mismatches don't override existing data</title>
<updated>2017-02-10T11:21:35+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2016-11-02T15:07:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=6c398cb3aad33f5ec56234c137dc268a327b5291'/>
<id>urn:sha1:6c398cb3aad33f5ec56234c137dc268a327b5291</id>
<content type='text'>
We recalculate the taskhash to ensure the version we have matches
what we think it should be. When we write out a sigdata file, use
the calculated value so that we don't overwrite any existing file.
This leaves any original taskhash sigdata file intact to allow a
debugging comparison.

(Bitbake rev: dac68af6f4add9c99cb7adcf23b2ae89b96ca075)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;

Minor fixup
Signed-off-by: Armin Kuster &lt;akuster808@gmail.com&gt;

Signed-off-by: Sona Sarmadi &lt;sona.sarmadi@enea.com&gt;
</content>
</entry>
<entry>
<title>bitbake: siggen: Pass basehash to worker processes and sanity check reparsing result</title>
<updated>2017-02-10T11:21:35+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2016-11-02T15:06:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=79a3cf30ee62bee1a96f2310b7c75a811f252ec1'/>
<id>urn:sha1:79a3cf30ee62bee1a96f2310b7c75a811f252ec1</id>
<content type='text'>
Bitbake can parse metadata in the cooker and in the worker during builds. If
the metadata isn't deterministic, it can change between these two parses and
this confuses things a lot. It turns out to be hard to debug these issues
currently.

This patch ensures the basehashes from the original parsing are passed into
the workers and that these are checked when reparsing for consistency. The user
is shown an error message if inconsistencies are found.

There is debug code in siggen.py (see the "Slow but can be useful for debugging
mismatched basehashes" commented code), we don't enable this by default due to
performance issues. If you run into this message, enable this code and you will
find "sigbasedata" files in tmp/stamps which should correspond to the hashes
shown in this error message. bitbake-diffsigs on the files should show which
variables are changing.

(Bitbake rev: 46207262ee6cdd2e49c4765481a6a24702ca4843)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;

Fixed up do to python3 changes not being in krogoth.
Signed-off-by: Armin Kuster &lt;akuster808@gmail.com&gt;

Signed-off-by: Sona Sarmadi &lt;sona.sarmadi@enea.com&gt;
</content>
</entry>
<entry>
<title>bitbake: build: Ensure we preserve sigbasedata files as well as sigdata ones</title>
<updated>2017-02-10T11:21:35+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2016-11-02T15:06:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=1188de6e65fb93fd15db5bab68d8a2226c1478c7'/>
<id>urn:sha1:1188de6e65fb93fd15db5bab68d8a2226c1478c7</id>
<content type='text'>
We don't remove sigdata files, we also shouldn't remove sigbasedata files
as this hinders debugging.

(Bitbake rev: 06e7c00f2e1ddda6a2632ec2354a3c8f5c34562d)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
Signed-off-by: Armin Kuster &lt;akuster808@gmail.com&gt;
Signed-off-by: Sona Sarmadi &lt;sona.sarmadi@enea.com&gt;
</content>
</entry>
<entry>
<title>bitbake: bitbake: toaster: settings set ALLOWED_HOSTS to * in debug mode</title>
<updated>2016-11-28T14:23:48+00:00</updated>
<author>
<name>brian avery</name>
<email>avery.brian@gmail.com</email>
</author>
<published>2016-11-23T18:55:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=ae9b341ecfcc60e970f29cfe04306411ad26c0cf'/>
<id>urn:sha1:ae9b341ecfcc60e970f29cfe04306411ad26c0cf</id>
<content type='text'>
This is a backport of 7c3a47ed8965c3a3eb90a9a4678d5caedbba6337

&gt;From the commit to master:
As of Django 1.8.16, Django is rejecting any HTTP_HOST header that is
not on the ALLOWED_HOST list.  We often need to reference the toaster
server via a fqdn, if we start it via webport=0.0.0.0:8000 for instance,
and are hitting the server from a laptop. This change does reduce  the
protection from a DNS rebinding attack, however, if you are running the
toaster server outside a protected network, you should be using the
production instance.

[YOCTO #10586]

(Bitbake rev: 449dc9b955dfbe048e380f5ab9fd61c3d1489dad)

Signed-off-by: brian avery &lt;brian.avery@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: fetch: copy files with -H</title>
<updated>2016-11-08T23:47:15+00:00</updated>
<author>
<name>Enrico Scholz</name>
<email>enrico.scholz@sigma-chemnitz.de</email>
</author>
<published>2016-05-26T00:08:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=0aedf304e5045cf113f3cfb2e1b09e63be049a1e'/>
<id>urn:sha1:0aedf304e5045cf113f3cfb2e1b09e63be049a1e</id>
<content type='text'>
When using a PREMIRROR with plain (non-unpack) files, a SRC_URI like

SRC_URI = "file://devmem2.c"

will cause devmem2.c to be a symlink in the WORKDIR pointing to the
local PREMIRROR.

Trying to apply a patch on this file will either modify the file on
the PREMIRROR or will fail due to sanity checks:

ERROR: devmem2-1.0-r7 do_patch: Command Error: 'quilt --quiltrc /cache/build-ubuntu/sysroots/x86_64-oe-linux/etc/quiltrc push' exited with 1  Output:
Applying patch devmem2-fixups-2.patch
File devmem2.c is not a regular file -- refusing to patch

(Bitbake rev: e82862ba8fedb2c5cd478c731b3d259d16c6e3d8)

Signed-off-by: Enrico Scholz &lt;enrico.scholz@sigma-chemnitz.de&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: bb.event: fix infinite loop on print_ui_queue</title>
<updated>2016-11-08T23:47:14+00:00</updated>
<author>
<name>Aníbal Limón</name>
<email>anibal.limon@linux.intel.com</email>
</author>
<published>2016-10-14T15:48:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=f0f6acac039e75171b8f4c89eff7d1c2d3ddba5b'/>
<id>urn:sha1:f0f6acac039e75171b8f4c89eff7d1c2d3ddba5b</id>
<content type='text'>
If bitbake ends before _uiready and bb.event.LogHandler was add
to the bitbake logger it causes an infinite loop when logging
something.

The scenario is print_ui_queue is called at exit and executes
the log handlers [2] one of them is bb.event.LogHandler this handler
appends the same entry to ui_queue causing the inifine loop [3].

In order to fix a new copy of the ui_queue list is created when iterate
ui_queue.

[YOCTO #10399]

[1] https://bugzilla.yoctoproject.org/show_bug.cgi?id=10399#c0
[2] http://git.openembedded.org/bitbake/tree/lib/bb/event.py?id=41d9cd41d40b04746c82b4a940dca47df02514fc#n156
[3]
http://git.openembedded.org/bitbake/tree/lib/bb/event.py?id=41d9cd41d40b04746c82b4a940dca47df02514fc#n164

(Bitbake rev: bb56a8957255999b9ffd1408d249cc5b715b5a3a)

Signed-off-by: Aníbal Limón &lt;anibal.limon@linux.intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: event: prevent unclosed file warning in print_ui_queue</title>
<updated>2016-11-08T23:47:14+00:00</updated>
<author>
<name>Joshua Lock</name>
<email>joshua.g.lock@intel.com</email>
</author>
<published>2016-10-04T10:03:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=bae35b3e5f3f388027cee30dbfc2df8f5a707aba'/>
<id>urn:sha1:bae35b3e5f3f388027cee30dbfc2df8f5a707aba</id>
<content type='text'>
Use logger.addHandler(), rather than assigning an array of Handlers
to the loggers handlers property directly, to avoid a warning from
Python 3 about unclosed files:

$ bitbake
Nothing to do.  Use 'bitbake world' to build everything, or run 'bitbake --help' for usage information.
WARNING: /home/joshuagl/Projects/poky/bitbake/lib/bb/event.py:143: ResourceWarning: unclosed file &lt;_io.TextIOWrapper name='/home/joshuagl/Projects/poky/build/tmp/log/cooker/qemux86/20161004094928.log' mode='a' encoding='UTF-8'&gt;
  logger.handlers = [stdout]

(Bitbake rev: 775888307dc2917ef4b52799cc1600a6b3a01abe)

Signed-off-by: Joshua Lock &lt;joshua.g.lock@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: event.py: output errors and warnings to stderr</title>
<updated>2016-11-08T23:47:14+00:00</updated>
<author>
<name>Ed Bartosh</name>
<email>ed.bartosh@linux.intel.com</email>
</author>
<published>2016-09-08T11:02:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=2de121703d11809d02815e6434674c7ec5e5704c'/>
<id>urn:sha1:2de121703d11809d02815e6434674c7ec5e5704c</id>
<content type='text'>
All logging messages are printed on stdout when processing
UI event queue. This makes it impossible to distinguish between
errors and normal bitbake output. Output to stderror or stdout
depending on log level should fix this.

(Bitbake rev: c4029c4f00197804511fc71e1190d34eb120212a)

Signed-off-by: Ed Bartosh &lt;ed.bartosh@linux.intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: lib/bb/tests/fetch: remove URL that doesn't exist anymore</title>
<updated>2016-09-13T15:19:46+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross.burton@intel.com</email>
</author>
<published>2016-08-15T14:20:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=8c69f7d56cbd496aa01ba0738675a170826a536b'/>
<id>urn:sha1:8c69f7d56cbd496aa01ba0738675a170826a536b</id>
<content type='text'>
The CUPS ipptool URL we were checking now redirects to github where the tarball
isn't present, so remove it from the test suite.

(Bitbake rev: e64564bcaa7331f505baa5209fef1f50dfda1469)

Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: toaster: Fix adding of bitbake variables containing ':'</title>
<updated>2016-08-31T19:37:44+00:00</updated>
<author>
<name>Alexander Egorenkov</name>
<email>Alexander.Egorenkov@vector.com</email>
</author>
<published>2016-08-30T10:18:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=7e11efef59c3102948d3eafe5b136c493deee3b5'/>
<id>urn:sha1:7e11efef59c3102948d3eafe5b136c493deee3b5</id>
<content type='text'>
This fix is a backport from toaster-next.

Krogoth Toaster is unable to add a variable containing ':'
and fails with the following error message:

error on request:
too many values to unpack
Traceback (most recent call last):
 File "bitbake/lib/toaster/toastergui/views.py", line 2171, in
xhr_configvaredit
  variable, value = t.spli(":")
ValueError: too many values to unpack.

[YOCTO #10170]

(Bitbake rev: bee144eeed6c08ec2829533e82f94405058ce453)

Signed-off-by: Alexander Egorenkov &lt;Alexander.Egorenkov@vector.com&gt;
Signed-off-by: Ed Bartosh &lt;ed.bartosh@linux.intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
