<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-updater.git, branch feat/warrior/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%2Fwarrior%2F2020.8</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-updater.git/atom?h=feat%2Fwarrior%2F2020.8'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-updater.git/'/>
<updated>2020-07-09T15:05:05+00:00</updated>
<entry>
<title>aktualizr: Bump to 2020.8 release.</title>
<updated>2020-07-09T15:05:05+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=5ecf41036be3a9c9e5694a5f25527dafe6f95d9a'/>
<id>urn:sha1:5ecf41036be3a9c9e5694a5f25527dafe6f95d9a</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:13+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=765a7aee7b53bf8d3242cf8e4be3c25e2990b194'/>
<id>urn:sha1:765a7aee7b53bf8d3242cf8e4be3c25e2990b194</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:01+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=52c92a10fee6daf0c7c4fc0cd94e47d74bdcbf7a'/>
<id>urn:sha1:52c92a10fee6daf0c7c4fc0cd94e47d74bdcbf7a</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:43+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=7fe5b3fe0a211ad1e431787a69443594fcb01143'/>
<id>urn:sha1:7fe5b3fe0a211ad1e431787a69443594fcb01143</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:16+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=c0226074ae09cddc59903c6760e0f67bef033056'/>
<id>urn:sha1:c0226074ae09cddc59903c6760e0f67bef033056</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:52:58+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=168600ceb95679c610c7472cd09ce8886f8f4357'/>
<id>urn:sha1:168600ceb95679c610c7472cd09ce8886f8f4357</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:36+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=da0db8fa4c0aafab3baa3660c89ae89431d121c1'/>
<id>urn:sha1:da0db8fa4c0aafab3baa3660c89ae89431d121c1</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:20+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=690ef2b7738dc332b81d7d773e1447db45a4422d'/>
<id>urn:sha1:690ef2b7738dc332b81d7d773e1447db45a4422d</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:50: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=1f854bdd2384dbe8aa26eb0e72856989f3dedbcf'/>
<id>urn:sha1:1f854bdd2384dbe8aa26eb0e72856989f3dedbcf</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>aktualizr: make use of boot-complete.target</title>
<updated>2020-07-08T13:49:38+00:00</updated>
<author>
<name>Stefan Agner</name>
<email>stefan.agner@toradex.com</email>
</author>
<published>2020-06-15T08:27:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-updater.git/commit/?id=fab18b187ffc8046e69416115f3927891c947efe'/>
<id>urn:sha1:fab18b187ffc8046e69416115f3927891c947efe</id>
<content type='text'>
From the systemd.special(7) man page section boot-complete.target:
This target is intended as generic synchronization point for services
that shall determine or act on whether the boot process completed
successfully.

Let's make use of the target. Since aktualizr by default marks a boot
as successful, we consider aktualizr.service a service which needs to
be executed on successful boot (hence after the boot-complete.target).

This allows to declare a service as crucial by simply ordering it before
the boot-complete.target. The systemd example service
systemd-boot-check-no-failures.service can serve as an example.

This change does not add any service dependency by default as
boot-complete.target by default does not has any extra dependencies.

Note that rebooting in the failure case is not handled by this
mechanism. This can be added by using FailureAction.

Boot assessement infrastructure got introduced with systemd 240. See
also:
https://systemd.io/AUTOMATIC_BOOT_ASSESSMENT/

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