<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/meta/classes/create-spdx.bbclass, branch uninative-3.6</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=uninative-3.6</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=uninative-3.6'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2022-03-29T14:59:29+00:00</updated>
<entry>
<title>create-spdx: Avoid regex warning by quoting correctly</title>
<updated>2022-03-29T14:59:29+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2022-03-28T12:29:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=c80a6a6e663a3fe017a3fdee65c63c99402ebd19'/>
<id>urn:sha1:c80a6a6e663a3fe017a3fdee65c63c99402ebd19</id>
<content type='text'>
create-spdx.bbclass:43: DeprecationWarning: invalid escape sequence \W
  lic_regex = re.compile(b'^\W*SPDX-License-Identifier:\s*([ \w\d.()+-]+?)(?:\s+\W*)?$', re.MULTILINE)

(From OE-Core rev: 5dfb26d45f69c4d5dc4b6fcef084b830ef9dbf4c)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>create-spdx.bbclass: Simplify extraction of license text</title>
<updated>2022-03-24T17:45:29+00:00</updated>
<author>
<name>Peter Kjellerstedt</name>
<email>peter.kjellerstedt@axis.com</email>
</author>
<published>2022-03-23T23:14:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=fb0a43cd2f0dafd568b98432070954b791f3858c'/>
<id>urn:sha1:fb0a43cd2f0dafd568b98432070954b791f3858c</id>
<content type='text'>
There is no reason to first search for all available licenses using
avail_licenses() and then search through the same paths looking for
the actual license texts. Just look for the license texts directly
instead.

(From OE-Core rev: 59eb405a80f0a0acf9b754b2b78399bacb0094ae)

Signed-off-by: Peter Kjellerstedt &lt;peter.kjellerstedt@axis.com&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>create-spdx: Use function rather than AVAILABLE_LICENSES</title>
<updated>2022-03-16T10:31:41+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2022-03-15T15:04:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=0ca67e4d97692c25b6154938cee7a228cca7fa60'/>
<id>urn:sha1:0ca67e4d97692c25b6154938cee7a228cca7fa60</id>
<content type='text'>
We can directly call the function rather than using the variable indirection.
As this is the last user of the variable, it then allows removal of it in a
followup patch.

(From OE-Core rev: 3ed84651b2f4eff9409bfecba2a080e244124880)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>create-spdx.bbclass: Remove an unnecessary path from do_create_spdx[dirs]</title>
<updated>2022-03-15T08:40:09+00:00</updated>
<author>
<name>Peter Kjellerstedt</name>
<email>peter.kjellerstedt@axis.com</email>
</author>
<published>2022-03-14T14:16:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=688599a039336723df5c1593de762cd0a2ddeec8'/>
<id>urn:sha1:688599a039336723df5c1593de762cd0a2ddeec8</id>
<content type='text'>
There is no reason to include a path in foo[dirs] if it is also in
foo[cleandirs] (except if it is the last path in foo[dirs]).

(From OE-Core rev: cb30a6cfa58072bbf5f5def36103fbcac920e168)

Signed-off-by: Peter Kjellerstedt &lt;peter.kjellerstedt@axis.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>create-spdx: add support for SDKs</title>
<updated>2022-02-25T12:41:23+00:00</updated>
<author>
<name>Andres Beltran</name>
<email>abeltran@linux.microsoft.com</email>
</author>
<published>2022-01-26T18:16:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=e43a9d15ea8ea04afe5a49a39cc3dd1f93783acd'/>
<id>urn:sha1:e43a9d15ea8ea04afe5a49a39cc3dd1f93783acd</id>
<content type='text'>
Currently, SPDX SBOMs are only created for images. Add support for
SDKs.

(From OE-Core rev: c3acbb936a339636153903daf127eec9f36de79b)

Signed-off-by: Andres Beltran &lt;abeltran@linux.microsoft.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>create-spdx: Get SPDX-License-Identifier from source</title>
<updated>2022-02-12T17:05:35+00:00</updated>
<author>
<name>Saul Wold</name>
<email>Saul.Wold@windriver.com</email>
</author>
<published>2022-02-08T15:02:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=75f9785a2b28eddd1f6ca0c8a6c6507dd97df409'/>
<id>urn:sha1:75f9785a2b28eddd1f6ca0c8a6c6507dd97df409</id>
<content type='text'>
This patch will read the begining of source files and try to find
the SPDX-License-Identifier to populate the licenseInfoInFiles
field for each source file. This does not populate licenseConcluded
at this time, nor rolls it up to package level.

We read as binary file since some source code seem to have some
binary characters, the license is then converted to ascii strings.

(From OE-Core rev: 51e5f328635eb022143178c3169bae719509697a)

Signed-off-by: Saul Wold &lt;saul.wold@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>classes/create-spdx: Remove unnecessary package</title>
<updated>2022-02-07T10:08:59+00:00</updated>
<author>
<name>Joshua Watt</name>
<email>JPEWhacker@gmail.com</email>
</author>
<published>2022-01-27T22:48:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=a8351a214e7a4d3ac93ef0a2bf8ff021f61a9f7c'/>
<id>urn:sha1:a8351a214e7a4d3ac93ef0a2bf8ff021f61a9f7c</id>
<content type='text'>
A superfluous package was being created, but it was never used.

(From OE-Core rev: ddfa61f691fc51c1968e8f1ff43f69dccd1632ee)

Signed-off-by: Joshua Watt &lt;JPEWhacker@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>classes/create-spdx: Add packageSupplier field</title>
<updated>2022-02-07T10:08:59+00:00</updated>
<author>
<name>Joshua Watt</name>
<email>JPEWhacker@gmail.com</email>
</author>
<published>2022-01-27T22:48:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=1f8137196de0691a9cedd921637e1566b3e8cf59'/>
<id>urn:sha1:1f8137196de0691a9cedd921637e1566b3e8cf59</id>
<content type='text'>
Per NIST SBoM recommendations, include the Package Supplier field for
all SPDX packages that are created. This field should generally be set
to the person or organization that is performing the build, since they
would be considered the "supplier" of the SPDX packages.

(From OE-Core rev: ca48349501e0ec93dc2448d064e1567fca390bf5)

Signed-off-by: Joshua Watt &lt;JPEWhacker@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>create-spdx: Add kernel work-shared source</title>
<updated>2022-01-13T13:57:26+00:00</updated>
<author>
<name>Saul Wold</name>
<email>Saul.Wold@windriver.com</email>
</author>
<published>2022-01-12T17:20:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=f73e636b0a385dd55c13be33c7fba960fa4da322'/>
<id>urn:sha1:f73e636b0a385dd55c13be33c7fba960fa4da322</id>
<content type='text'>
Since the kernel source is stored in work-shared, we need to add it
to the search path so the kernel and kernel-modules source code can
be found correctly.

(From OE-Core rev: 93a94890b9f2679945e96973937b209aa12302b7)

Signed-off-by: Saul Wold &lt;saul.wold@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>classes/create-spdx: handle if IMAGE_LINK_NAME is empty</title>
<updated>2022-01-11T15:48:11+00:00</updated>
<author>
<name>Paul Eggleton</name>
<email>paul.eggleton@microsoft.com</email>
</author>
<published>2022-01-10T01:54:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=0071d909a589fef769f0067cbdb3c9e8b124f207'/>
<id>urn:sha1:0071d909a589fef769f0067cbdb3c9e8b124f207</id>
<content type='text'>
If IMAGE_LINK_NAME is set to "" (supported in other classes) then skip
creating symlinks for the spdx manifest files.

(From OE-Core rev: c2d5e2dbbba78d8d7036f6418360b2e84bcdc169)

Signed-off-by: Paul Eggleton &lt;paul.eggleton@microsoft.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
