<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-updater.git, branch fix/rpi-bootfiles-path</title>
<subtitle>Mirror of github.com/advancedtelematic/meta-updater</subtitle>
<id>https://git.enea.com/cgit/linux/meta-updater.git/atom?h=fix%2Frpi-bootfiles-path</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-updater.git/atom?h=fix%2Frpi-bootfiles-path'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-updater.git/'/>
<updated>2020-08-04T11:50:50+00:00</updated>
<entry>
<title>sota_raspberrypi: Use new variable for bootfiles path.</title>
<updated>2020-08-04T11:50:50+00:00</updated>
<author>
<name>Patrick Vacek</name>
<email>patrickvacek@gmail.com</email>
</author>
<published>2020-08-04T11:50:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-updater.git/commit/?id=8414615cd799013fbc0662d4ff8f82219afb71ce'/>
<id>urn:sha1:8414615cd799013fbc0662d4ff8f82219afb71ce</id>
<content type='text'>
This was changed in a907c3261ef583f898803706cd596d372c6644cb of
meta-raspberrypi. This also requires
0b5292d13692ba074dc85227233e3a819d944204 in meta-updater-raspberrypi.

Signed-off-by: Patrick Vacek &lt;patrickvacek@gmail.com&gt;
</content>
</entry>
<entry>
<title>Merge pull request #749 from advancedtelematic/feat/dunfell/2020.8</title>
<updated>2020-07-14T07:42:23+00:00</updated>
<author>
<name>Patrick Vacek</name>
<email>patrickvacek@gmail.com</email>
</author>
<published>2020-07-14T07:42:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-updater.git/commit/?id=4af1ea60f37d8a63a3a9633be14591f1b2066cd1'/>
<id>urn:sha1:4af1ea60f37d8a63a3a9633be14591f1b2066cd1</id>
<content type='text'>
Feat/dunfell/2020.8</content>
</entry>
<entry>
<title>aktualizr: Bump to 2020.8 release.</title>
<updated>2020-07-09T15:03:50+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=4cb3ea0eca94ba8b20d2c8035e6c12f863e4fd3d'/>
<id>urn:sha1:4cb3ea0eca94ba8b20d2c8035e6c12f863e4fd3d</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:09+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=9b41913c909c030b2a738e05f66f4078daceca04'/>
<id>urn:sha1:9b41913c909c030b2a738e05f66f4078daceca04</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:53:57+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=29548b556744ee4472308a1d3faeb8c931313a1a'/>
<id>urn:sha1:29548b556744ee4472308a1d3faeb8c931313a1a</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:38+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=decd9bcf1f613702d59dec4d0d539d60c5fa2d9d'/>
<id>urn:sha1:decd9bcf1f613702d59dec4d0d539d60c5fa2d9d</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:10+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=762a4ccbeb271da9a38db41330d70cdae8eca2d3'/>
<id>urn:sha1:762a4ccbeb271da9a38db41330d70cdae8eca2d3</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:47+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=cd677f074169586d59a84a0875dbae466331f557'/>
<id>urn:sha1:cd677f074169586d59a84a0875dbae466331f557</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:31+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=a4187918cb2b7c1884c1ccd39e6445b4f35fb318'/>
<id>urn:sha1:a4187918cb2b7c1884c1ccd39e6445b4f35fb318</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:07+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=6a41d4cc7378939270d8ff78d9d3ad3fa8975c98'/>
<id>urn:sha1:6a41d4cc7378939270d8ff78d9d3ad3fa8975c98</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>
</feed>
