<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/meta/recipes-devtools/opkg-utils, branch yocto-3.0.3</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=yocto-3.0.3</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=yocto-3.0.3'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2020-02-11T23:05:12+00:00</updated>
<entry>
<title>opkg-utils: Fix reproducibility issues in opkg-build</title>
<updated>2020-02-11T23:05:12+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2020-02-03T20:39:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=00534e3e4cfb5c82f5b3ca3634ada73f5acc41b7'/>
<id>urn:sha1:00534e3e4cfb5c82f5b3ca3634ada73f5acc41b7</id>
<content type='text'>
There is a sorting problem with opkg-build where the ipk generated is depending
upon the order of files on disk. The reason is the --sort option to tar only
influences the orders of files tar reads, not those passed by the -T option.

Add in a sort call to resolve this issue. To ensure consistent sorting we
also need to force to a specific locale (C) else the results are still not
deterministic.

(From OE-Core rev: a9b8287984c63420e10329a69f7ac5125f1687f8)

(From OE-Core rev: b577a6d923042cfc04e67d470e0987488ea61412)

(From OE-Core rev: ff31fa7ae18cffb1618c3859c5dff7eb3c587692)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
Signed-off-by: Armin Kuster &lt;akuster808@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>opkg-utils: upgrade to version 0.4.2</title>
<updated>2020-02-11T23:05:12+00:00</updated>
<author>
<name>Alejandro del Castillo</name>
<email>alejandro.delcastillo@ni.com</email>
</author>
<published>2019-12-18T00:16:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=f17ff5f9ce00b7958f2d1d89a80281dbe30bba11'/>
<id>urn:sha1:f17ff5f9ce00b7958f2d1d89a80281dbe30bba11</id>
<content type='text'>
- Drop 00001-Switch-all-scripts-to-use-Python-3.x.patch
- Drop 00001-opkg-build-clamp-mtimes-to-SOURCE_DATE_EPOCH.patch
- Drop pipefail.patch

(From OE-Core rev: bf51a4a1312562cc9b5944b7dfccba0b3d11dc3c)

(From OE-Core rev: 1b71c28e1ca4fddc0f3c340ea4bcd76854ef620c)

(From OE-Core rev: 428c8a3887c86ea882b264fdad606612b9d9eb8e)

Signed-off-by: Alejandro del Castillo &lt;alejandro.delcastillo@ni.com&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
Signed-off-by: Armin Kuster &lt;akuster808@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>opkg-utils: Fix silent empty/broken opkg package creation</title>
<updated>2019-11-25T21:34:50+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2019-11-23T16:18:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=1c0a93e1be46e486eb0950e5cb90d16e466a0b39'/>
<id>urn:sha1:1c0a93e1be46e486eb0950e5cb90d16e466a0b39</id>
<content type='text'>
opkg-build was failing on hosts where tar &lt; 1.28 and reproducibile builds
were enabled but it was doing this silently and generating corrupted
(empty) ipk files. Add a fix for this (submitted upstream).

The fix requires bash but if you're building ipk files this shoudn't be
a problem.

(From OE-Core rev: 5d774331226f967a2d00c9594c4811ee378cd572)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
Signed-off-by: Armin Kuster &lt;akuster808@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>opkg-utils: respect SOURCE_DATE_EPOCH when building ipkgs</title>
<updated>2019-09-19T09:54:32+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross.burton@intel.com</email>
</author>
<published>2019-09-17T09:18:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=038b0120816f24fc7a6ee61991a27b437a29f169'/>
<id>urn:sha1:038b0120816f24fc7a6ee61991a27b437a29f169</id>
<content type='text'>
Backport a patch from upstream to respect SOURCE_DATE_EPOCH when building ipkgs,
to ensure reproducible archives.

(From OE-Core rev: d50d52188cee7ccc0f40f0bba6da1084410b81cf)

Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>opkg-utils: upgrade to version 0.4.1</title>
<updated>2019-06-14T21:48:22+00:00</updated>
<author>
<name>Alejandro del Castillo</name>
<email>alejandro.delcastillo@ni.com</email>
</author>
<published>2019-06-13T20:17:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=9d9163d36f7830f7ddc5923d3a7cf3a9f1f47983'/>
<id>urn:sha1:9d9163d36f7830f7ddc5923d3a7cf3a9f1f47983</id>
<content type='text'>
- Drop 0001-opkg-build-do-not-set-mtime-on-data.tar.X.patch
- Drop 0001-opkg-list-fields-fix-to-print-the-fields-again.patch

(From OE-Core rev: 76a7f0d60f5dc38da15f21720cb97bf761562b44)

Signed-off-by: Alejandro del Castillo &lt;alejandro.delcastillo@ni.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>opkg-utils: fix opkg-list-fields script</title>
<updated>2019-06-05T23:40:07+00:00</updated>
<author>
<name>Martin Jansa</name>
<email>martin.jansa@gmail.com</email>
</author>
<published>2019-06-04T18:48:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=6832cd497b95f6cc043abf00fc39d27073531cdf'/>
<id>urn:sha1:6832cd497b95f6cc043abf00fc39d27073531cdf</id>
<content type='text'>
(From OE-Core rev: 95c557761de6a89cc31f5a5910be3fced5259de6)

Signed-off-by: Martin Jansa &lt;Martin.Jansa@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>opkg-utils: do not set mtime on data.tar.X</title>
<updated>2019-02-20T11:30:35+00:00</updated>
<author>
<name>Alejandro del Castillo</name>
<email>alejandro.delcastillo@ni.com</email>
</author>
<published>2019-02-19T19:44:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=a79bc39033c07e5cb0aa5ca95afe8f035c403f33'/>
<id>urn:sha1:a79bc39033c07e5cb0aa5ca95afe8f035c403f33</id>
<content type='text'>
Suggested-by: Tristan Ramseyer &lt;t@ramseyer.email&gt;
(From OE-Core rev: 212f9ecc18aed653c852d21989093841d063fa44)

Signed-off-by: Alejandro del Castillo &lt;alejandro.delcastillo@ni.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>opkg-utils: upgrade to version 0.4.0</title>
<updated>2018-12-27T22:52:58+00:00</updated>
<author>
<name>Alejandro del Castillo</name>
<email>alejandro.delcastillo@ni.com</email>
</author>
<published>2018-12-26T23:59:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=5bcb626cf49d2295ccca45d6fc7e1617cca932d6'/>
<id>urn:sha1:5bcb626cf49d2295ccca45d6fc7e1617cca932d6</id>
<content type='text'>
Drop patches already merged upstream.

(From OE-Core rev: 19ac60adbfc9c3ea1896e7e0d83f3b33438c092b)

Signed-off-by: Alejandro del Castillo &lt;alejandro.delcastillo@ni.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>opkg-utils: Fix update-alternatives link relocation</title>
<updated>2018-11-14T11:14:40+00:00</updated>
<author>
<name>Niko Mauno</name>
<email>niko.mauno@iki.fi</email>
</author>
<published>2018-11-12T17:30:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=f00b998ef2403cefb0515258a87f14ad687d2325'/>
<id>urn:sha1:f00b998ef2403cefb0515258a87f14ad687d2325</id>
<content type='text'>
Recently Debian-style support for link relocation was added to
'update-alternatives' script, but it fails under circumstances where
host rootfs root directory differs from target rootfs root directory
and two alternative packages provide a symbolic link with source
located in different directories.

An example of the case is busybox provided /bin/rev (symlinking to
/bin/busybox.nosuid) and util-linux provided /usr/bin/rev (symlinking
to /usr/bin/rev.util-linux) in which case following failure occurs
during image recipe's do_rootfs() task:

  ERROR: core-image-minimal-1.0-r0 do_rootfs: Postinstall scriptlets of ['util-linux'] have failed. If the intention is to defer them to first boot,
  then please place them into pkg_postinst_ontarget_${PN} ().
  Deferring to first boot via 'exit 1' is no longer supported.
  Details of the failure are in .../tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/temp/log.do_rootfs.
  ERROR: core-image-minimal-1.0-r0 do_rootfs: Function failed: do_rootfs

Looking in log.do_rootfs file, following relevant lines can be observed:

  update-alternatives: renaming rev link from /bin/rev to /usr/bin/rev
  mv: cannot stat '/bin/rev': No such file or directory

Mitigate issue by applying patch which adds target root filesystem root
directory path prefix to failing 'mv' calls relevant variable references

(From OE-Core rev: f0912e23629758fe4303284e7db8f4089bb7b4cb)

Signed-off-by: Niko Mauno &lt;niko.mauno@iki.fi&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>opkg-utils: Add support for pigz</title>
<updated>2018-10-09T18:04:02+00:00</updated>
<author>
<name>Mike Crowe</name>
<email>mac@mcrowe.com</email>
</author>
<published>2018-10-05T15:27:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=dabb0747482f4085d925cd5af7ba700d06a8615b'/>
<id>urn:sha1:dabb0747482f4085d925cd5af7ba700d06a8615b</id>
<content type='text'>
Support explicit use of pigz when compressing the package contents by
setting:

 OPKGBUILDCMD = "opkg-build -Z pigz"

(From OE-Core rev: 631e7bb7d02ca9cb9cb66e6b8395b197525cda55)

Signed-off-by: Mike Crowe &lt;mac@mcrowe.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
