<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-updater.git/classes, branch ci/ota-1810</title>
<subtitle>Mirror of github.com/advancedtelematic/meta-updater</subtitle>
<id>https://git.enea.com/cgit/linux/meta-updater.git/atom?h=ci%2Fota-1810</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-updater.git/atom?h=ci%2Fota-1810'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-updater.git/'/>
<updated>2018-11-29T10:18:38+00:00</updated>
<entry>
<title>Merge pull request #440 from agners/mandate-usr-move</title>
<updated>2018-11-29T10:18:38+00:00</updated>
<author>
<name>Patrick Vacek</name>
<email>patrickvacek@gmail.com</email>
</author>
<published>2018-11-29T10:18:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-updater.git/commit/?id=0b2db436420531d9f4a57e8ec27943bba6ac2b1f'/>
<id>urn:sha1:0b2db436420531d9f4a57e8ec27943bba6ac2b1f</id>
<content type='text'>
Use usrmerge</content>
</entry>
<entry>
<title>aktualizr and image_types_ota: more curly braces.</title>
<updated>2018-11-28T16:56:45+00:00</updated>
<author>
<name>Patrick Vacek</name>
<email>patrickvacek@gmail.com</email>
</author>
<published>2018-11-28T16:55:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-updater.git/commit/?id=d55d2dfa4f9fe96ffed95f95ccf3f24bded1c861'/>
<id>urn:sha1:d55d2dfa4f9fe96ffed95f95ccf3f24bded1c861</id>
<content type='text'>
Just trying to be careful and consistent. I didn't change every variable in
places where it seemed like it was obvious that we were dealing with purely
local variables.

Signed-off-by: Patrick Vacek &lt;patrickvacek@gmail.com&gt;
</content>
</entry>
<entry>
<title>image_types_ostree: drop manual usrmove implementation</title>
<updated>2018-11-28T15:30:23+00:00</updated>
<author>
<name>Stefan Agner</name>
<email>stefan.agner@toradex.com</email>
</author>
<published>2018-11-16T13:56:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-updater.git/commit/?id=2b5d6110db3960a5f37b8ab0836226d7753c74e0'/>
<id>urn:sha1:2b5d6110db3960a5f37b8ab0836226d7753c74e0</id>
<content type='text'>
OpenEmbedded's usrmerge implementation checks that nothing is
installing in /bin, /sbin or /lib. Hence those directories
are empty by default. There is no need for the manual usrmove
anymore.

Signed-off-by: Stefan Agner &lt;stefan.agner@toradex.com&gt;
</content>
</entry>
<entry>
<title>image_types_ostree: make usrmerge mandatory</title>
<updated>2018-11-28T15:30:23+00:00</updated>
<author>
<name>Stefan Agner</name>
<email>stefan.agner@toradex.com</email>
</author>
<published>2018-11-16T08:27:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-updater.git/commit/?id=9d6cf7300d6d7cc6f9447f5882bc3186b6c7e255'/>
<id>urn:sha1:9d6cf7300d6d7cc6f9447f5882bc3186b6c7e255</id>
<content type='text'>
Make usrmerge a mandatory DISTRO feature when using the ostree class.
This will allow to remove the "manual" usrmerge implementation.

Signed-off-by: Stefan Agner &lt;stefan.agner@toradex.com&gt;
</content>
</entry>
<entry>
<title>image_types_ostree: use OSTree repo location for lockfiles</title>
<updated>2018-11-28T11:42:21+00:00</updated>
<author>
<name>Stefan Agner</name>
<email>stefan.agner@toradex.com</email>
</author>
<published>2018-11-28T08:47:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-updater.git/commit/?id=d13ec585ae677affd88b9d92c6ea135cc249b2fa'/>
<id>urn:sha1:d13ec585ae677affd88b9d92c6ea135cc249b2fa</id>
<content type='text'>
OSTree does not allow concurrent access to the repository. If
two bitbake instances use the same OSTree repository, then they
might access it simultanously. The lockfile to prevent such
simultaneous access should really be in the same location where
the OSTree repository is stored.

Revert back to the location inside the OSTree repository.

Fixes: e97975d6113c ("image_types_ostree/ota.bbclass: refactor ostree task")
Signed-off-by: Stefan Agner &lt;stefan.agner@toradex.com&gt;
</content>
</entry>
<entry>
<title>Fix bloated OTA image</title>
<updated>2018-11-27T16:58:04+00:00</updated>
<author>
<name>Anton Gerasimov</name>
<email>anton.gerasimov@here.com</email>
</author>
<published>2018-11-27T16:58:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-updater.git/commit/?id=a5cf2677bd6bf4acaa1349d3030de0b7c48439ba'/>
<id>urn:sha1:a5cf2677bd6bf4acaa1349d3030de0b7c48439ba</id>
<content type='text'>
Curly braces are necessary around bitbake variables

Signed-off-by: Anton Gerasimov &lt;anton.gerasimov@here.com&gt;
</content>
</entry>
<entry>
<title>image_types_ota.bbclass: move a dependency in</title>
<updated>2018-11-24T13:24:38+00:00</updated>
<author>
<name>Ming Liu</name>
<email>liu.ming50@gmail.com</email>
</author>
<published>2018-11-20T12:03:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-updater.git/commit/?id=53bcdb21ba257955cdc072c8dae7ec42536503bf'/>
<id>urn:sha1:53bcdb21ba257955cdc072c8dae7ec42536503bf</id>
<content type='text'>
Move the dependency do_image_wic -&gt; do_image_ota_ext4 from sota.bbclass
to image_types_ota.bbclass, since it's a image specific dependency.

Signed-off-by: Ming Liu &lt;liu.ming50@gmail.com&gt;
</content>
</entry>
<entry>
<title>image_types_ostree/ota.bbclass: refactor ostree task</title>
<updated>2018-11-24T13:24:26+00:00</updated>
<author>
<name>Ming Liu</name>
<email>liu.ming50@gmail.com</email>
</author>
<published>2018-11-20T08:03:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-updater.git/commit/?id=e97975d6113ca1ffa6cbe9b005bd518bd146fd9c'/>
<id>urn:sha1:e97975d6113ca1ffa6cbe9b005bd518bd146fd9c</id>
<content type='text'>
There are several flaws with ostree tasks, as follows:
- ${IMAGE_NAME}.rootfs.ostree.tar.bz2 is generated, but it's not being
  used during ostree commit, so it should be removed if it's just a
  intermittent artifact. Or if we intend to deploy this tar.bz2 file,
  it should be tracked by sstate cache, that is to day, it should be
  generated in ${IMGDEPLOYDIR} rather than in ${DEPLOY_DIR_IMAGE}.
- There are quite a few redundant code like mktemp/cd/rm a directory,
  which can be replaced by setting 'dirs', 'cleandirs' varflags.
- There are some redundant variable check logic in image_types_ostree
  and image_types_ota bbclass.

To fix the above, we make the following changes:
- Introduce a new conversion image type 'tar', it could convert ostree
  and ota to ostree.tar, ota.tar, hence we can drop the code generating
  ostree.tar.bz2 in image_types_ostree.bbclass, and also drop the
  do_image_ota-tar task. To let this conversion type take effect, the
  otasetup task needs to be changed to ota.
- Introduce BUILD_OSTREE_TARBALL variable, when being set to 1, a
  ostree.tar.bz2 tarball would be built, BUILD_OSTREE_TARBALL defaults
  to be 1, to be consistent with original behavior.
- Replace 'ota-tar ota-tar.xz' with ota.tar.xz in IMAGE_FSTYPES.
- Add a sanity check bbclass sota_sanity.bbclass, to ensure ostree or
  ota is not in OVERRIDES, this is to prevent potential naming
  pollution with other meta layers, and also check the required
  variables are not empty. This sota_sanity.bbclass is a common class
  that could be extended easily in furture, and one of its most
  advantages is that all the check are done in bb.event.SanityCheck
  event handler, so the end users could get the error message at very
  beginning of the recipe parsing time.

Signed-off-by: Ming Liu &lt;liu.ming50@gmail.com&gt;
</content>
</entry>
<entry>
<title>meta: drop redundant export syntax</title>
<updated>2018-11-24T11:12:25+00:00</updated>
<author>
<name>Ming Liu</name>
<email>liu.ming50@gmail.com</email>
</author>
<published>2018-11-19T09:48:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-updater.git/commit/?id=f4cf0698a88631af150782dce9b3dafcb0dbc5d5'/>
<id>urn:sha1:f4cf0698a88631af150782dce9b3dafcb0dbc5d5</id>
<content type='text'>
There are quite a few 'export' syntax, they are either not necessary or
being redundant. Actually only the variables being referred in ostree
or aktualizr need to be exported, we can move them into sota.bbclass so
they can be exported once only for all other classes referring to them.

And drop all other unnecessary exports.

Signed-off-by: Ming Liu &lt;liu.ming50@gmail.com&gt;
</content>
</entry>
<entry>
<title>image_types_ostree.bbclass: fix some dependencies issues</title>
<updated>2018-11-24T11:12:25+00:00</updated>
<author>
<name>Ming Liu</name>
<email>liu.ming50@gmail.com</email>
</author>
<published>2018-11-11T12:35:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-updater.git/commit/?id=4eaec14b8204ab5cb2e4a3fa2f19c39326909101'/>
<id>urn:sha1:4eaec14b8204ab5cb2e4a3fa2f19c39326909101</id>
<content type='text'>
- unzip-native:do_populate_sysroot should be depended by
  do_image_garagesign task instead of by do_image_ostree task.
- openssl-native:do_populate_sysroot can be removed since it's being
  depended by aktualizr-native already.
- do_image_garagesign and do_image_garagecheck does not have to depend
  on aktualizr-native:do_populate_sysroot, that dependency is being
  added by do_image_ostreepush -&gt; aktualizr-native:do_populate_sysroot.
- drop ostreepush dependency from IMAGE_TYPEDEP_garagecheck, that is
  redundant.

Signed-off-by: Ming Liu &lt;liu.ming50@gmail.com&gt;
</content>
</entry>
</feed>
