<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/meta/classes/rootfs-postcommands.bbclass, branch uninative-2.10</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=uninative-2.10</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=uninative-2.10'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2020-09-17T08:47:45+00:00</updated>
<entry>
<title>image-artifact-names: introduce new bbclass and move some variables into it</title>
<updated>2020-09-17T08:47:45+00:00</updated>
<author>
<name>Martin Jansa</name>
<email>Martin.Jansa@gmail.com</email>
</author>
<published>2020-09-16T12:54:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=43f1cf2d3d4b35b0bcd4bc9a4f464341af5f97dd'/>
<id>urn:sha1:43f1cf2d3d4b35b0bcd4bc9a4f464341af5f97dd</id>
<content type='text'>
* similar to kernel-artifact-names for other recipes/bbclasses which
  need to use some deployed artifacts

* bitbake.conf: move IMAGE_BASENAME, IMAGE_VERSION_SUFFIX, IMAGE_NAME,
  IMAGE_LINK_NAME variables

* image_types.bbclass: move IMAGE_NAME_SUFFIX variable

* currently IMAGE_NAME_SUFFIX is used only by image.bbclass,
  image_types.bbclass and meta/recipes-core/images/build-appliance-image_15.0.0.bb
  but if it's needed by some recipe which isn't itself an image, then
  it's useful in bitbake.conf, e.g. we have a recipe for creating
  VirtualBox appliances which combines .wic.vmdk with .ovf file to
  create .zip with appliance, but for that we need the filename of
  .wic.vmdk which now contains IMAGE_NAME_SUFFIX
  https://github.com/webOS-ports/meta-webos-ports/blob/4980ce52a43ac6897657602810313af359f0b839/meta-luneos/recipes-core/images/luneos-emulator-appliance.inc#L24

* we were hardcoding .rootfs suffix where needed, but for quite long
  time it's configurable with IMAGE_NAME_SUFFIX since:

  commit 380ee36811939d947024bf78de907e3c071b834f
  Author: Patrick Ohly &lt;patrick.ohly@intel.com&gt;
  Date:   Mon Mar 7 18:07:52 2016 +0100

    image creation: allow overriding .rootfs suffix

  and might not match with hardcoded .rootfs, so make it easier to
  use IMAGE_NAME_SUFFIX where needed even without inheritting whole
  image_types.bbclass

[YOCTO #12937]

(From OE-Core rev: 456b700d51a5052a285a8477304f902c335223be)

Signed-off-by: Martin Jansa &lt;Martin.Jansa@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>rootfs-post: remove traling blanks from tasks</title>
<updated>2020-07-27T09:37:57+00:00</updated>
<author>
<name>Konrad Weihmann</name>
<email>kweihmann@outlook.com</email>
</author>
<published>2020-07-08T11:09:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=7d82155fd5a4718d7375327a36651413fcc47d68'/>
<id>urn:sha1:7d82155fd5a4718d7375327a36651413fcc47d68</id>
<content type='text'>
remove the traling blanks before the ;-delimiter, so one could use
"_remove" to avoid running tasks like 'rootfs_update_timestamp',
which are currently hardcoded and not bound to any
configurable feature flag

(From OE-Core rev: 8c835f63c2bca0a66385eb7ea5ec021d86265777)

Signed-off-by: Konrad Weihmann &lt;kweihmann@outlook.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>rootfs-postcommands: Improve/fix rootfs_check_host_user_contaminated</title>
<updated>2020-07-03T19:17:29+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2020-06-22T10:57:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=4a2370583b5124ed654b41076e2701ce6bf15132'/>
<id>urn:sha1:4a2370583b5124ed654b41076e2701ce6bf15132</id>
<content type='text'>
Currently if the find command finds /home it stops checking the other
files. Tweak the find expression to fix this.

Also, from Alex Kiernan &lt;alex.kiernan@gmail.com&gt;, generate output for
each contaminated path so it's visible in the main log file.

When matches are found, dump the data from the group and passwd files
so useful debugging can be done based on the results.

(From OE-Core rev: 504f1d158bf7c6ad08fbce755021db2b14565231)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Revert "rootfs: Make BUILDNAME a weak default in reproducible_build_simple"</title>
<updated>2020-02-21T17:48:09+00:00</updated>
<author>
<name>Peter Kjellerstedt</name>
<email>pkj@axis.com</email>
</author>
<published>2020-02-09T06:06:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=b64563009023a2db1f182164195e8f0402711d13'/>
<id>urn:sha1:b64563009023a2db1f182164195e8f0402711d13</id>
<content type='text'>
This reverts commit 8380df6566db49ef184b837432558750f77f592f.

Giving BUILDNAME a static default in reproducible_build_simple.bbclass
to have /etc/version be generated with that name lead to other users
of BUILDNAME no longer working as expected. E.g., buildstats.bcclass
would now write its information in a single directory, overwriting the
statistics for each build.

(From OE-Core rev: dcd1fbe153369634c73370cbe22e1dbdac080146)

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>rootfs: Make BUILDNAME a weak default in reproducible_build_simple</title>
<updated>2020-01-19T23:49:39+00:00</updated>
<author>
<name>Alex Kiernan</name>
<email>alex.kiernan@gmail.com</email>
</author>
<published>2020-01-18T05:41:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=8380df6566db49ef184b837432558750f77f592f'/>
<id>urn:sha1:8380df6566db49ef184b837432558750f77f592f</id>
<content type='text'>
11e45082ad00 ("rootfs-postcommands.bbclass: improve binary
reproducibility") fixed binary reproducibility of /etc/version, but with
the move to reproducibilty in all builds, setting /etc/version to
anything other than the default fixed timestamp is tricky because
rootfs_reproducible() runs very late.

rootfs.py uses BUILDNAME if set for /etc/version, so introduce a weak
default for BUILDNAME of "REPRODUCIBLE_TIMESTAMP_ROOTFS", when enabling
reproducible builds hence allowing BUILDNAME to be overridden elsewhere.

(From OE-Core rev: bbf28ea9100a4f86b052c5cd53c77f9e1c03fb09)

Signed-off-by: Alex Kiernan &lt;alex.kiernan@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>rootfs-postcommands: Avoid use of an hard-coded value</title>
<updated>2019-10-02T19:22:25+00:00</updated>
<author>
<name>Alessio Igor Bogani</name>
<email>alessio.bogani@elettra.eu</email>
</author>
<published>2019-10-02T06:30:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=a558e507ae15d01d033fc191b447861f667451f0'/>
<id>urn:sha1:a558e507ae15d01d033fc191b447861f667451f0</id>
<content type='text'>
(From OE-Core rev: 520c6f30cd571166a0d890d86b461f24f7a6998f)

Signed-off-by: Alessio Igor Bogani &lt;alessio.bogani@elettra.eu&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>rootfs-postcommands: check /etc/gconf exists before working on it</title>
<updated>2019-09-19T09:54:32+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross.burton@intel.com</email>
</author>
<published>2019-09-18T12:16:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=f3977f03a142c0d0ce0328626f12f43b5fd69121'/>
<id>urn:sha1:f3977f03a142c0d0ce0328626f12f43b5fd69121</id>
<content type='text'>
Check that /etc/gconf exists before trying to find files under it, to avoid
writing find error messages to the rootfs log.

Also use ${sysconfdir}/gconf instead of hardcoding /etc/gconf.

(From OE-Core rev: 70a77b91031388ea29eff6b8885fd25cc35b1dae)

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>rootfs-postcommands.bbclass: add inittab tweak to read_only_rootfs_hook()</title>
<updated>2019-08-28T10:31:22+00:00</updated>
<author>
<name>Andre McCurdy</name>
<email>armccurdy@gmail.com</email>
</author>
<published>2019-08-23T20:51:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=ba6898d1b2e9b037f02a2cf17298e754aa4968ef'/>
<id>urn:sha1:ba6898d1b2e9b037f02a2cf17298e754aa4968ef</id>
<content type='text'>
It's not clear that we actually need to call mount -o remount,XX from
the busybox-inittab inittab at all, but as we currently do, let's
respect read-only-rootfs in IMAGE_FEATURES and not remount / as rw.

(From OE-Core rev: 8840a831d47a94f36bb2e173164dbaf9b955e809)

Signed-off-by: Andre McCurdy &lt;armccurdy@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>rootfs-postcommands: Cope with empty IMAGE_LINK_NAME in write_image_test_data</title>
<updated>2019-07-16T12:53:17+00:00</updated>
<author>
<name>Mike Crowe</name>
<email>mcrowe@mcrowe.com</email>
</author>
<published>2019-07-15T12:51:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=2381806f26a8c9184e173f00b5d1ab0ca103ddfc'/>
<id>urn:sha1:2381806f26a8c9184e173f00b5d1ab0ca103ddfc</id>
<content type='text'>
Ensure that we don't create an image test data symlink named
".testdata.json" when IMAGE_LINK_NAME is empty.

(From OE-Core rev: 97e1af51814c63963dc6eee003e0cf0e4dead024)

Signed-off-by: Mike Crowe &lt;mac@mcrowe.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>rootfs-postcommands: Cope with empty IMAGE_LINK_NAME in write_image_manifest</title>
<updated>2019-07-16T12:53:17+00:00</updated>
<author>
<name>Mike Crowe</name>
<email>mac@mcrowe.com</email>
</author>
<published>2019-07-15T12:50:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=3e1938f6d21522569d0aa199cfee51b752222a57'/>
<id>urn:sha1:3e1938f6d21522569d0aa199cfee51b752222a57</id>
<content type='text'>
Ensure that we don't create a symlink named ".manifest" if IMAGE_LINK_NAME
is empty.

(From OE-Core rev: 267697f5e1c931e39fd81dd1b14691e364be64f3)

Signed-off-by: Mike Crowe &lt;mac@mcrowe.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
