<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-updater.git/classes/sota.bbclass, branch fix/rm-api-gateway-url</title>
<subtitle>Mirror of github.com/advancedtelematic/meta-updater</subtitle>
<id>https://git.enea.com/cgit/linux/meta-updater.git/atom?h=fix%2Frm-api-gateway-url</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-updater.git/atom?h=fix%2Frm-api-gateway-url'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-updater.git/'/>
<updated>2019-01-31T15:41:03+00:00</updated>
<entry>
<title>sota.bbclass: fix a variable assignment regression</title>
<updated>2019-01-31T15:41:03+00:00</updated>
<author>
<name>Ming Liu</name>
<email>liu.ming50@gmail.com</email>
</author>
<published>2019-01-29T20:05:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-updater.git/commit/?id=168efb38411ed4feae6d99e4ae00c867ceff3fba'/>
<id>urn:sha1:168efb38411ed4feae6d99e4ae00c867ceff3fba</id>
<content type='text'>
A regression was introduced by commit 9dcfcdb9:
[ classes, images: Use standard variables for initramfs ]

it replaced OSTREE_INITRAMFS_IMAGE with INITRAMFS_FSTYPES which is
fine, but the '??=' should be changed to "?=" as well, or else it will
not take effect since INITRAMFS_FSTYPES's already set in bitbake.conf
with '?='.

Signed-off-by: Ming Liu &lt;liu.ming50@gmail.com&gt;
</content>
</entry>
<entry>
<title>meta: drop True option to getVar calls</title>
<updated>2019-01-14T13:15:06+00:00</updated>
<author>
<name>Ming Liu</name>
<email>liu.ming50@gmail.com</email>
</author>
<published>2019-01-14T13:06:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-updater.git/commit/?id=d49ae8261680ae2cfd4c0179eff013d2def92e1b'/>
<id>urn:sha1:d49ae8261680ae2cfd4c0179eff013d2def92e1b</id>
<content type='text'>
Search made with the following regex: getVar ?\((.*), True\), this is
to be consistent with OE.

Signed-off-by: Ming Liu &lt;liu.ming50@gmail.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>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>Add SOTA_DEPLOY_CREDENTIALS variable to control whether the built image should be provisioned</title>
<updated>2018-10-01T08:44:50+00:00</updated>
<author>
<name>Anton Gerasimov</name>
<email>anton@advancedtelematic.com</email>
</author>
<published>2018-09-05T14:22:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-updater.git/commit/?id=673a4b91d1794b7c89265ba3dd62febf8826e14f'/>
<id>urn:sha1:673a4b91d1794b7c89265ba3dd62febf8826e14f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ostree-initrd: Make it an initramfs, not initrd</title>
<updated>2018-08-14T14:03:10+00:00</updated>
<author>
<name>Yevgeny Popovych</name>
<email>yevgenyp@pointgrab.com</email>
</author>
<published>2018-07-20T15:14:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-updater.git/commit/?id=212d71d273023470b82854c363854b301bd11314'/>
<id>urn:sha1:212d71d273023470b82854c363854b301bd11314</id>
<content type='text'>
The reasoning here is to allow initramfs generated by this recipe
to be included in FIT.

To do so w/o changing openembedded-core (it allows only cpio format) -
init script should be able to execute from a rootfs (i.e. true initramfs),
not ramdisk (initrd).
See [1] for more information on these keywords.

The gist of this change is switch from `pivot_root` to `switch_root`.
This also allows to get rid of some clutter, since `switch_root` handles
transition to new sysroot all by itself.
Again, see [1] for details on these utility/syscall.

[1] https://www.kernel.org/doc/Documentation/filesystems/ramfs-rootfs-initramfs.txt

Signed-off-by: Yevgeny Popovych &lt;yevgenyp@pointgrab.com&gt;
</content>
</entry>
<entry>
<title>classes, images: Use standard variables for initramfs</title>
<updated>2018-08-14T14:03:10+00:00</updated>
<author>
<name>Yevgeny Popovych</name>
<email>yevgenyp@pointgrab.com</email>
</author>
<published>2018-06-19T10:08:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-updater.git/commit/?id=9dcfcdb9aa2da833a3b86b87fbbb22b60e5d7e3c'/>
<id>urn:sha1:9dcfcdb9aa2da833a3b86b87fbbb22b60e5d7e3c</id>
<content type='text'>
This will reduce the level of indirection and improve compatibility
with the rest of OE.
For example, FIT that includes initramfs may now be built.

Signed-off-by: Yevgeny Popovych &lt;yevgenyp@pointgrab.com&gt;
</content>
</entry>
<entry>
<title>Add support for building ota-tar.xz, and fixes from review comments</title>
<updated>2018-07-11T00:28:40+00:00</updated>
<author>
<name>Ben Clouser</name>
<email>ben.clouser@toradex.com</email>
</author>
<published>2018-07-11T00:27:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-updater.git/commit/?id=fef98227e6ff5c97593697fe6c382ddd3ee8dfa8'/>
<id>urn:sha1:fef98227e6ff5c97593697fe6c382ddd3ee8dfa8</id>
<content type='text'>
</content>
</entry>
</feed>
