<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-updater.git/classes, branch fixgb</title>
<subtitle>Mirror of github.com/advancedtelematic/meta-updater</subtitle>
<id>https://git.enea.com/cgit/linux/meta-updater.git/atom?h=fixgb</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-updater.git/atom?h=fixgb'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-updater.git/'/>
<updated>2018-11-27T16:58:04+00:00</updated>
<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>
<entry>
<title>meta: replace bberror with bbfatal</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-11T10:53:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-updater.git/commit/?id=c72d82867d4dd7e2dddaea24e1e56b2349f1af03'/>
<id>urn:sha1:c72d82867d4dd7e2dddaea24e1e56b2349f1af03</id>
<content type='text'>
When calling bbfatal, it reports error message and exit 1, it should be
used to replace of 'bberror &amp;&amp; exit 1' to avoid being redundant.

Also fixed some incorrect bberror usages and typos.

Signed-off-by: Ming Liu &lt;liu.ming50@gmail.com&gt;
</content>
</entry>
<entry>
<title>Allow setup custom hardware_id</title>
<updated>2018-11-22T09:15:35+00:00</updated>
<author>
<name>Serhiy Stetskovych</name>
<email>patriotyk@gmail.com</email>
</author>
<published>2018-11-21T09:47:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-updater.git/commit/?id=01700ac5f0f3aaaee17b9dc426b0697996d17c70'/>
<id>urn:sha1:01700ac5f0f3aaaee17b9dc426b0697996d17c70</id>
<content type='text'>
Signed-off-by: Serhiy Stetskovych &lt;patriotyk@gmail.com&gt;
</content>
</entry>
<entry>
<title>Merge pull request #431 from albard00/master</title>
<updated>2018-11-13T16:18:35+00:00</updated>
<author>
<name>Patrick Vacek</name>
<email>patrickvacek@gmail.com</email>
</author>
<published>2018-11-13T16:18:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-updater.git/commit/?id=8c72fd4555dc5637316564895ec3271b40389497'/>
<id>urn:sha1:8c72fd4555dc5637316564895ec3271b40389497</id>
<content type='text'>
Fix function name conflict</content>
</entry>
<entry>
<title>Fix function name conflict</title>
<updated>2018-11-13T11:11:16+00:00</updated>
<author>
<name>Alexandre Bard</name>
<email>alexandre.bard@netmodule.com</email>
</author>
<published>2018-11-13T11:04:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-updater.git/commit/?id=e15634426839166fe829ed9605c69bf8d2d8e091'/>
<id>urn:sha1:e15634426839166fe829ed9605c69bf8d2d8e091</id>
<content type='text'>
buildinfo function name is used in poky:
  meta/classes/image-buildinfo.bbclass

Both classes could not be used together

Signed-off-by: Alexandre Bard &lt;alexandre.bard@netmodule.com&gt;
</content>
</entry>
<entry>
<title>aktualizr: Fix virtual secondary support.</title>
<updated>2018-11-13T09:03:51+00:00</updated>
<author>
<name>Patrick Vacek</name>
<email>patrickvacek@gmail.com</email>
</author>
<published>2018-11-12T13:49:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-updater.git/commit/?id=f05f7e554575fcc0720564ebc4703a3811644897'/>
<id>urn:sha1:f05f7e554575fcc0720564ebc4703a3811644897</id>
<content type='text'>
Use /etc/sota/ecus as using /var/sota/ecus was conflicting with the
provisioning recipes that also use /var/sota. Not totally ideal, but the
best compromise I could find.

Signed-off-by: Patrick Vacek &lt;patrickvacek@gmail.com&gt;
</content>
</entry>
</feed>
