<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-updater.git/classes, branch feat/zeus/2020.9</title>
<subtitle>Mirror of github.com/advancedtelematic/meta-updater</subtitle>
<id>https://git.enea.com/cgit/linux/meta-updater.git/atom?h=feat%2Fzeus%2F2020.9</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-updater.git/atom?h=feat%2Fzeus%2F2020.9'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-updater.git/'/>
<updated>2020-08-26T07:49:43+00:00</updated>
<entry>
<title>image_repo_manifest.bbclass: fix build when there is no repo on host</title>
<updated>2020-08-26T07:49:43+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=667b80bba954f05479a532cd97fe71ba4435ea5e'/>
<id>urn:sha1:667b80bba954f05479a532cd97fe71ba4435ea5e</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:33+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=26b5e9333698ec6ac7c51ae7011b3153175738ad'/>
<id>urn:sha1:26b5e9333698ec6ac7c51ae7011b3153175738ad</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:42+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=870ebf9603b0b96f015c373381625d2bb0c0395f'/>
<id>urn:sha1:870ebf9603b0b96f015c373381625d2bb0c0395f</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:53:59+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=6b174a5b1056f80c3593aa57b7268671ab4a8946'/>
<id>urn:sha1:6b174a5b1056f80c3593aa57b7268671ab4a8946</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:33+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=983b9eb365dc8cfedb985ff1bf49d86acb7ba7a2'/>
<id>urn:sha1:983b9eb365dc8cfedb985ff1bf49d86acb7ba7a2</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: change virtual/network-configuration to network-configuration</title>
<updated>2020-07-08T13:49:55+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=0792fdc820e5a3c159f88156bec9ff3eb013a6d6'/>
<id>urn:sha1:0792fdc820e5a3c159f88156bec9ff3eb013a6d6</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>meta: introduce ostree-kernel-initramfs recipe</title>
<updated>2020-06-27T08:38:10+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=75069b6a653a19e298c1b2ea791e80955a26b7b6'/>
<id>urn:sha1:75069b6a653a19e298c1b2ea791e80955a26b7b6</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>image_types_ostree: allow specifying a device tree to deploy</title>
<updated>2020-06-27T08:38:10+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=4fcf797368139cb42ced99fc3b14bd543b37108d'/>
<id>urn:sha1:4fcf797368139cb42ced99fc3b14bd543b37108d</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>
<entry>
<title>Update garage-push invocation for new cli</title>
<updated>2020-06-02T10:04:05+00:00</updated>
<author>
<name>Laurent Bonnans</name>
<email>laurent.bonnans@here.com</email>
</author>
<published>2020-05-29T11:51:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-updater.git/commit/?id=9dcbb6e9afe3a328ec76aa98ffe64445edf35655'/>
<id>urn:sha1:9dcbb6e9afe3a328ec76aa98ffe64445edf35655</id>
<content type='text'>
Signed-off-by: Laurent Bonnans &lt;laurent.bonnans@here.com&gt;
</content>
</entry>
<entry>
<title>image_types_ostree: allow to add layer specific OSTree commit arguments</title>
<updated>2020-06-02T10:04:05+00:00</updated>
<author>
<name>Stefan Agner</name>
<email>stefan.agner@toradex.com</email>
</author>
<published>2020-05-26T16:04:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-updater.git/commit/?id=b11a2f689c1babe916352e7cff9179343f1bccff'/>
<id>urn:sha1:b11a2f689c1babe916352e7cff9179343f1bccff</id>
<content type='text'>
The OSTree commit command allows to add metadata to the commit. This
might be customized in a distro layer for distribution specific needs.
Allow to pass extra arguments using EXTRA_OSTREE_COMMIT variable
(using a variable named similar to EXTRA_OEMAKE used to pass extra make
arguments).

Signed-off-by: Stefan Agner &lt;stefan.agner@toradex.com&gt;
</content>
</entry>
</feed>
