<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-updater.git, branch feat/thud/2020.8</title>
<subtitle>Mirror of github.com/advancedtelematic/meta-updater</subtitle>
<id>https://git.enea.com/cgit/linux/meta-updater.git/atom?h=feat%2Fthud%2F2020.8</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-updater.git/atom?h=feat%2Fthud%2F2020.8'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-updater.git/'/>
<updated>2020-07-09T15:05:23+00:00</updated>
<entry>
<title>aktualizr: Bump to 2020.8 release.</title>
<updated>2020-07-09T15:05:23+00:00</updated>
<author>
<name>Patrick Vacek</name>
<email>patrickvacek@gmail.com</email>
</author>
<published>2020-07-08T13:58:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-updater.git/commit/?id=77d08b76a28b4f0eb2dd6bf940631f52e07aa7df'/>
<id>urn:sha1:77d08b76a28b4f0eb2dd6bf940631f52e07aa7df</id>
<content type='text'>
Signed-off-by: Patrick Vacek &lt;patrickvacek@gmail.com&gt;
</content>
</entry>
<entry>
<title>ostree-kernel-initramfs: fix devicetree deployment</title>
<updated>2020-07-08T13:54:15+00:00</updated>
<author>
<name>antznin</name>
<email>agodard@witekio.com</email>
</author>
<published>2020-07-03T13:07:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-updater.git/commit/?id=afb89b1cf547499a93a2c6137f79caaae367c690'/>
<id>urn:sha1:afb89b1cf547499a93a2c6137f79caaae367c690</id>
<content type='text'>
Following the changes in ostree's deployment of the kernel, initramfs
and devicetree in /lib/modules/$kver, the deployment method of the
device tree also changed. Instead of picking the first device tree it
finds at a given location, ostree looks at a file named devicetree, next
to kernel and initramfs in /lib/modules/$kver.

This commit modifies ostree-kernel-initramfs to deploy the devicetree
from the sota-defined variable OSTREE_DEVICETREE. It will pick the
first one from the list of device trees that OSTREE_DEVICETREE defines,
and copy it to /lib/modules/$kver. Note that since OSTREE_DEVICETREE
equals to KERNEL_DEVICETREE when it isn't explicitly defined, it could
indeed be a list of device trees.

Signed-off-by: antznin &lt;agodard@witekio.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>ostree-kernel-initramfs: skip recipe when OSTREE_KERNEL is not defined</title>
<updated>2020-07-08T13:53:46+00:00</updated>
<author>
<name>Martin Jansa</name>
<email>Martin.Jansa@gmail.com</email>
</author>
<published>2020-07-01T15:24:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-updater.git/commit/?id=e6d03b216b8f22f5f9b9ed78752a5dc93b5c855a'/>
<id>urn:sha1:e6d03b216b8f22f5f9b9ed78752a5dc93b5c855a</id>
<content type='text'>
* otherwise it fails with useless error:
  ostree-kernel-initramfs/0.0.1-r0/temp/run.do_install.3011' failed with exit code 1:
  cp: -r not specified; omitting directory 'tmp-glibc/deploy/images/qemux86/'
  WARNING: exit code 1 from a shell command.

  because of
  cp ${DEPLOY_DIR_IMAGE}/${OSTREE_KERNEL} $kerneldir/vmlinuz
  in do_install will try to copy whole ${DEPLOY_DIR_IMAGE}/ when
  ${OSTREE_KERNEL} is empty

  as reported in:
  https://github.com/advancedtelematic/meta-updater/pull/740#issuecomment-651952735

Signed-off-by: Martin Jansa &lt;Martin.Jansa@gmail.com&gt;
</content>
</entry>
<entry>
<title>ostree-kernel-initramfs: deploy dtbs from OSTREE_DEVICETREE</title>
<updated>2020-07-08T13:53:19+00:00</updated>
<author>
<name>antznin</name>
<email>agodard@witekio.com</email>
</author>
<published>2020-06-30T08:37:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-updater.git/commit/?id=dc94b083c865e5ac909a08dd2f3f1c1edaffc390'/>
<id>urn:sha1:dc94b083c865e5ac909a08dd2f3f1c1edaffc390</id>
<content type='text'>
Signed-off-by: antznin &lt;agodard@witekio.com&gt;
</content>
</entry>
<entry>
<title>ostree-kernel-initramfs: fix parsing for MACHINEs which don't define INITRAMFS_IMAGE</title>
<updated>2020-07-08T13:53:00+00:00</updated>
<author>
<name>Martin Jansa</name>
<email>Martin.Jansa@gmail.com</email>
</author>
<published>2020-06-26T18:16:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-updater.git/commit/?id=d6ef4e9634e9e50e6ef8fd5b61d5d626a587cc8f'/>
<id>urn:sha1:d6ef4e9634e9e50e6ef8fd5b61d5d626a587cc8f</id>
<content type='text'>
* when INITRAMFS_IMAGE isn't defined at all, the "d.getVar('INITRAMFS_IMAGE') == ''" part
  doesn't do anything useful, because the unexpanded version of this ends in
  do_install[depends] variable and breaks parsing:

  meta-updater/recipes-sota/ostree-kernel-initramfs/ostree-kernel-initramfs_0.0.1.bb:do_install[depends], dependency ''][d.getVar('INITRAMFS_IMAGE') in 'virtual/kernel:do_deploy ${@['${INITRAMFS_IMAGE}:do_image_complete', ''][d.getVar('INITRAMFS_IMAGE') == '']} virtual/fakeroot-native:do_populate_sysroot' does not contain exactly one ':' character.
  Task 'depends' should be specified in the form 'packagename:task'

Signed-off-by: Martin Jansa &lt;Martin.Jansa@gmail.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>Add recipe to build images with binary primaries</title>
<updated>2020-07-08T13:48:39+00:00</updated>
<author>
<name>Laurent Bonnans</name>
<email>laurent.bonnans@here.com</email>
</author>
<published>2020-06-16T15:12:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-updater.git/commit/?id=9a61ba49260d1108ced710dc1c2f37c07271035e'/>
<id>urn:sha1:9a61ba49260d1108ced710dc1c2f37c07271035e</id>
<content type='text'>
Signed-off-by: Laurent Bonnans &lt;laurent.bonnans@here.com&gt;
</content>
</entry>
</feed>
