<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-updater.git/classes, branch thud</title>
<subtitle>Mirror of github.com/advancedtelematic/meta-updater</subtitle>
<id>https://git.enea.com/cgit/linux/meta-updater.git/atom?h=thud</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-updater.git/atom?h=thud'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-updater.git/'/>
<updated>2020-10-29T11:42:12+00:00</updated>
<entry>
<title>ostree-kernel-initramfs: add back initramfs fit workaround</title>
<updated>2020-10-29T11:42:12+00:00</updated>
<author>
<name>Ricardo Salveti</name>
<email>ricardo@foundries.io</email>
</author>
<published>2020-10-15T15:27:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-updater.git/commit/?id=1118ab2e1f36a475472d534e0f6665a5508a41be'/>
<id>urn:sha1:1118ab2e1f36a475472d534e0f6665a5508a41be</id>
<content type='text'>
Previous initramfs fit specific workaround was removed as part of commit
6eecf1593d, causing ostree to provide an init argument as part of the
kernel command line arguments when it is not really needed.

Bring back the workaround by simply generating an empty file in case
kernel image type is fit and initramfs is also used by the target.

Signed-off-by: Ricardo Salveti &lt;ricardo@foundries.io&gt;
</content>
</entry>
<entry>
<title>image_types_ostree: fix chmod</title>
<updated>2020-10-29T10:39:42+00:00</updated>
<author>
<name>Dominik Wild</name>
<email>dominik.wild@glutz.com</email>
</author>
<published>2020-09-17T13:19:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-updater.git/commit/?id=6c6260c857f58b817d24ed662b58bfb9930c9070'/>
<id>urn:sha1:6c6260c857f58b817d24ed662b58bfb9930c9070</id>
<content type='text'>
Signed-off-by: Dominik Wild &lt;dominik.wild@glutz.com&gt;
</content>
</entry>
<entry>
<title>image_repo_manifest.bbclass: fix build when there is no repo on host</title>
<updated>2020-08-26T07:49:47+00:00</updated>
<author>
<name>Martin Jansa</name>
<email>Martin.Jansa@gmail.com</email>
</author>
<published>2020-08-18T13:57:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-updater.git/commit/?id=2e1f53ed22a1c555216f710070f00a689f29c823'/>
<id>urn:sha1:2e1f53ed22a1c555216f710070f00a689f29c823</id>
<content type='text'>
* failing "which repo" causes the run.buildinfo_manifest task to fail
  before it even reaches the test for empty repotool variable:

  dash -x some-image/1.0-r2/temp/run.buildinfo_manifest.80233

  + export systemd_system_unitdir=/usr/lib/systemd/system
  + export systemd_unitdir=/usr/lib/systemd
  + export systemd_user_unitdir=/usr/lib/systemd/user
  + buildinfo_manifest
  + which repo
  + repotool=
  + bb_sh_exit_handler
  + ret=1
  + [ 1 != 0 ]
  + echo WARNING: exit code 1 from a shell command.
  WARNING: exit code 1 from a shell command.
  + exit 1

  causing nasty long python exception from do_image task

  with this fix, it just shows an warning again:

  dash -x some-image/1.0-r2/temp/run.buildinfo_manifest.80233

  + export systemd_user_unitdir=/usr/lib/systemd/user
  + buildinfo_manifest
  + which repo
  + true
  + repotool=
  + [ -n  ]
  + bbwarn Android repo tool not found; manifest not copied.
  + [ -p some-image/1.0-r2/temp/fifo.80233 ]
  + echo WARNING: Android repo tool not found; manifest not copied.
  WARNING: Android repo tool not found; manifest not copied.
  + ret=0
  + trap  0
  + exit 0

Signed-off-by: Martin Jansa &lt;Martin.Jansa@gmail.com&gt;
</content>
</entry>
<entry>
<title>image_repo_manifest.bbclass: explicitly call python3</title>
<updated>2020-08-26T07:49:35+00:00</updated>
<author>
<name>Ming Liu</name>
<email>ming.liu@toradex.com</email>
</author>
<published>2020-08-09T10:28:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-updater.git/commit/?id=702bd61fb66c6ad95e0ee733e74ca41d8890845b'/>
<id>urn:sha1:702bd61fb66c6ad95e0ee733e74ca41d8890845b</id>
<content type='text'>
Now we have changed to inherit python3native to provide python3 binary
for repo, then we need explicitly call python3 to execute repo, or else
it will firstly try to locate python which will fail if python is not
in HOSTTOOLS.

This fixes a following warning:
| Android repo tool failed to run; manifest not copied

Signed-off-by: Ming Liu &lt;ming.liu@toradex.com&gt;
</content>
</entry>
<entry>
<title>Inherit python3native instead of using HOSTTOOLS.</title>
<updated>2020-08-26T07:47:45+00:00</updated>
<author>
<name>Patrick Vacek</name>
<email>patrickvacek@gmail.com</email>
</author>
<published>2020-08-03T06:58:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-updater.git/commit/?id=4a17860ed3a39d44f61e10af8eab2d1505e758a2'/>
<id>urn:sha1:4a17860ed3a39d44f61e10af8eab2d1505e758a2</id>
<content type='text'>
Signed-off-by: Patrick Vacek &lt;patrickvacek@gmail.com&gt;
</content>
</entry>
<entry>
<title>image_types_ota.bbclass: change IMAGE_BASENAME to PN</title>
<updated>2020-07-08T13:54:03+00:00</updated>
<author>
<name>Ming Liu</name>
<email>ming.liu@toradex.com</email>
</author>
<published>2020-07-04T08:06:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-updater.git/commit/?id=d34ff3163eb9a148fc5c6d8f012188c56566d094'/>
<id>urn:sha1:d34ff3163eb9a148fc5c6d8f012188c56566d094</id>
<content type='text'>
When setting intertask dependencies, we should use PN instead of
IMAGE_BASENAME to refer to a image recipe, since PN is generated from
recipe file name, while IMAGE_BASENAME is a variable that could be
changed, it's not guaranteed to always equal to PN.

Signed-off-by: Ming Liu &lt;ming.liu@toradex.com&gt;
</content>
</entry>
<entry>
<title>Put aktualizr-info in a separate package and use it in Secondaries.</title>
<updated>2020-07-08T13:52:38+00:00</updated>
<author>
<name>Patrick Vacek</name>
<email>patrickvacek@gmail.com</email>
</author>
<published>2020-06-23T07:48:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-updater.git/commit/?id=e8398d068e9bc6e5aedd2e2c8876176b48e2f07d'/>
<id>urn:sha1:e8398d068e9bc6e5aedd2e2c8876176b48e2f07d</id>
<content type='text'>
We did the work a while ago to make aktualizr-info work for Secondaries,
but until now we weren't putting the tool into the secondary-image we
use for testing. Now it's there. Actually, it's in every image that
inherits from sota.bbclass, which is probably a good thing.

Signed-off-by: Patrick Vacek &lt;patrickvacek@gmail.com&gt;
</content>
</entry>
<entry>
<title>meta: introduce ostree-kernel-initramfs recipe</title>
<updated>2020-07-08T13:52:23+00:00</updated>
<author>
<name>Ming Liu</name>
<email>ming.liu@toradex.com</email>
</author>
<published>2020-05-11T18:16:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-updater.git/commit/?id=f5e0a7682da5142d154d7605e5de3221d03cdab0'/>
<id>urn:sha1:f5e0a7682da5142d154d7605e5de3221d03cdab0</id>
<content type='text'>
We package kernel image, devicetrees, initramfs and install them to
/usr/lib/modules/${KERNEL_VERSION}, which is the preferred location
according to ostree's new implementation, this could simplify the
deployment.

Reference:
https://github.com/ostreedev/ostree/commit/3ab0d5e6644885440bac6abd17b6d2637df5435f

To let initramfs-ostree-image be able to be depended by
ostree-kernel-initramfs, it must inherit nopackages to avoid a annoying
QA warning like the follows:
| WARNING: initramfs-ostree-image-0.0.1-r0 do_package: Manifest ...initramfs-ostree-image.packagedata
| not found in colibri_imx6 armv7ahf-neon-imx armv7at2hf-neon-imx armv7at2hf-neon armv7ahf-neon armv7at2hf-vfp
| armv7ahf-vfp armv6thf-vfp armv6hf-vfp armv5tehf-vfp armv5ehf-vfp armv5thf-vfp armv5hf-vfp allarch
| x86_64_x86_64-nativesdk (variant '')?

Also we need define OSTREE_KERNEL, OSTREE_DEPLOY_DEVICETREE and
OSTREE_DEVICETREE in sota.bbclass so they could be accessed in other
recipes as well as in image recipes.

Signed-off-by: Stefan Agner &lt;stefan.agner@toradex.com&gt;
Signed-off-by: Ming Liu &lt;ming.liu@toradex.com&gt;
</content>
</entry>
<entry>
<title>meta: change virtual/network-configuration to network-configuration</title>
<updated>2020-07-08T13:51:07+00:00</updated>
<author>
<name>Ming Liu</name>
<email>ming.liu@toradex.com</email>
</author>
<published>2020-05-10T08:36:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-updater.git/commit/?id=6628d9721de89874b8ae735dcacfa3c214e3d207'/>
<id>urn:sha1:6628d9721de89874b8ae735dcacfa3c214e3d207</id>
<content type='text'>
The name 'virtual' is a recipe specific concept but not a package
specific one, it's confusing that a package provides 'virtual/' names.

Let's drop 'virtual/' from network-configuration, to keep consistent
with yocto naming styles.

Signed-off-by: Ming Liu &lt;ming.liu@toradex.com&gt;
</content>
</entry>
<entry>
<title>image_types_ostree: allow specifying a device tree to deploy</title>
<updated>2020-07-08T13:47:57+00:00</updated>
<author>
<name>antznin</name>
<email>agodard@witekio.com</email>
</author>
<published>2020-05-29T07:59:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-updater.git/commit/?id=6cc3b51ced5ec4609f6f4f3d2871293ee496cfba'/>
<id>urn:sha1:6cc3b51ced5ec4609f6f4f3d2871293ee496cfba</id>
<content type='text'>
When setting `OSTREE_DEPLOY_DEVICETREE` to 1, it will by default deploy
all the device tree blobs present in `KERNEL_DEVICETREE`. Adding
`OSTREE_DEVICETREE` would allow specifying a specific device tree blob
(or several dtbs), thus resulting in only the specified ones in the
image. This is particularely useful because ostree selects the first
device tree it finds in /boot, and discards the remaining ones.

Signed-off-by: antznin &lt;agodard@witekio.com&gt;
</content>
</entry>
</feed>
