<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-updater.git/classes/image_repo_manifest.bbclass, branch master</title>
<subtitle>Mirror of github.com/advancedtelematic/meta-updater</subtitle>
<id>https://git.enea.com/cgit/linux/meta-updater.git/atom?h=master</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-updater.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-updater.git/'/>
<updated>2021-01-19T16:54:55+00:00</updated>
<entry>
<title>image_repo_manifest.bbclass: Improvement for builds outside the .repo directory</title>
<updated>2021-01-19T16:54:55+00:00</updated>
<author>
<name>Dominik Wild</name>
<email>dominik.wild@glutz.com</email>
</author>
<published>2021-01-19T16:43:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-updater.git/commit/?id=41ff3f9e558d2abf619c3584c59c36c0735d3288'/>
<id>urn:sha1:41ff3f9e558d2abf619c3584c59c36c0735d3288</id>
<content type='text'>
The repo tool searches up the directory tree to find the .repo directory,
which doesn't work in a separated build directory.

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-18T13:57:39+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=54f39be6b64aa75e4120a8fb13adc6ac5d973ccf'/>
<id>urn:sha1:54f39be6b64aa75e4120a8fb13adc6ac5d973ccf</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-10T07:25:25+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=235da14ba5f365e7890ea456718eb26323c5a158'/>
<id>urn:sha1:235da14ba5f365e7890ea456718eb26323c5a158</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-03T11:47:30+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=628c4e317618d1b03da41e43cf0ede69c1fa4695'/>
<id>urn:sha1:628c4e317618d1b03da41e43cf0ede69c1fa4695</id>
<content type='text'>
Signed-off-by: Patrick Vacek &lt;patrickvacek@gmail.com&gt;
</content>
</entry>
<entry>
<title>meta: move HOSTTOOLS definitions to sota.conf.inc</title>
<updated>2020-01-30T15:07:07+00:00</updated>
<author>
<name>Ming Liu</name>
<email>liu.ming50@gmail.com</email>
</author>
<published>2020-01-26T21:14:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-updater.git/commit/?id=3a2fecfc1d78e4b161f7180f35fc7d0a1a967ae6'/>
<id>urn:sha1:3a2fecfc1d78e4b161f7180f35fc7d0a1a967ae6</id>
<content type='text'>
HOSTTOOLS and HOSTTOOLS_NONFATAL are global variables that being
handled in base_eventhandler, so they must be defined in config files
or in INHERIT classes or classes being inherited by base.bbclass, or
else we might run into the following problems:
```
$ bitbake pkgname
$ bitbake imgname
```

the HOSTTOOLS and HOSTTOOLS_NONFATAL in the above image recipe, for
instance, 'repo python' in image_repo_manifest.bbclass, they would not
be copied to HOSTTOOLS_DIR.

Signed-off-by: Ming Liu &lt;liu.ming50@gmail.com&gt;
</content>
</entry>
<entry>
<title>meta: add python to HOSTTOOLS_NONFATAL</title>
<updated>2020-01-02T10:08:00+00:00</updated>
<author>
<name>Ming Liu</name>
<email>liu.ming50@gmail.com</email>
</author>
<published>2019-12-31T20:32:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-updater.git/commit/?id=d89f02d9eecbfe4df3bcc380b7d32ecf9f9ba933'/>
<id>urn:sha1:d89f02d9eecbfe4df3bcc380b7d32ecf9f9ba933</id>
<content type='text'>
repo is requiring python to be able to work correctly, add python to
HOSTTOOLS_NONFATAL as well.

image_repo_manifest is actually a image bbclass, move it to
IMAGE_CLASSES instead of inheriting it in sota.bbclass.

Signed-off-by: Ming Liu &lt;liu.ming50@gmail.com&gt;
</content>
</entry>
<entry>
<title>Fix function name conflict</title>
<updated>2018-11-13T11:11:16+00:00</updated>
<author>
<name>Alexandre Bard</name>
<email>alexandre.bard@netmodule.com</email>
</author>
<published>2018-11-13T11:04:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-updater.git/commit/?id=e15634426839166fe829ed9605c69bf8d2d8e091'/>
<id>urn:sha1:e15634426839166fe829ed9605c69bf8d2d8e091</id>
<content type='text'>
buildinfo function name is used in poky:
  meta/classes/image-buildinfo.bbclass

Both classes could not be used together

Signed-off-by: Alexandre Bard &lt;alexandre.bard@netmodule.com&gt;
</content>
</entry>
<entry>
<title>Fixes for Spekulatius</title>
<updated>2017-12-20T14:56:57+00:00</updated>
<author>
<name>Anton Gerasimov</name>
<email>anton@advancedtelematic.com</email>
</author>
<published>2017-12-13T14:30:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-updater.git/commit/?id=6630a83d1292bb96a531208b7c52aa1744c54f79'/>
<id>urn:sha1:6630a83d1292bb96a531208b7c52aa1744c54f79</id>
<content type='text'>
- New garage-sign interface
- Remove garage-sign recipe (now installed with aktualizr-native)
- Small but critical bugfixes in aktualizr
</content>
</entry>
<entry>
<title>Fix builds outside the .repo directory</title>
<updated>2017-11-28T07:22:26+00:00</updated>
<author>
<name>Phil Wise</name>
<email>phil@advancedtelematic.com</email>
</author>
<published>2017-11-28T07:22:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-updater.git/commit/?id=6f13bd2461f88f9658a3d94bffe9550d05fa5da4'/>
<id>urn:sha1:6f13bd2461f88f9658a3d94bffe9550d05fa5da4</id>
<content type='text'>
The repo tool searches up the directory tree to find the .repo directory.
Cleanly handle the case where it can't find anything.
</content>
</entry>
<entry>
<title>Copy repo manifest to the device.</title>
<updated>2017-11-06T12:39:44+00:00</updated>
<author>
<name>Patrick Vacek</name>
<email>patrickvacek@gmail.com</email>
</author>
<published>2017-11-06T12:37:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-updater.git/commit/?id=468b05357d38a21506ed6c999a3088c1d2916a35'/>
<id>urn:sha1:468b05357d38a21506ed6c999a3088c1d2916a35</id>
<content type='text'>
Helpful for debugging, etc.

Mostly copied from here:
https://github.com/openivimobility/meta-oim/blob/master/classes/image-repo-manifest.bbclass
</content>
</entry>
</feed>
