<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/meta/recipes-devtools/run-postinsts, branch pyro</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=pyro</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=pyro'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2016-12-08T10:31:30+00:00</updated>
<entry>
<title>run-postinsts: Print message before running deferred postinst scripts</title>
<updated>2016-12-08T10:31:30+00:00</updated>
<author>
<name>Haris Okanovic</name>
<email>haris.okanovic@ni.com</email>
</author>
<published>2016-12-05T21:48:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=e3537163a60cf0764185783de20b064990c0940a'/>
<id>urn:sha1:e3537163a60cf0764185783de20b064990c0940a</id>
<content type='text'>
Opkg can defer running postinst scripts to first boot, which can take
a while on some systems. The output of `opkg configure` (or whatever pm
is used) is redirected to a file when logging is enabled
(I.e. $POSTINST_LOGGING == 1), making the machine appear hung during
this process. This change simply prints a wait message on the console
to inform the user of this potentially long and silent operation so
that they do not mistakenly reboot their machine.

Why not simply `tee` the output instead?
Tee might be provided by BusyBox in some distros, which may need to run
update-alternatives in the very postinst scripts being executed by this
process. It's therefore not safe to assume Tee (or any other packaged
util) is available until the configure process finishes.

(From OE-Core rev: 3f8f1d8e4b129e5dfdd63d450887320aa0e33228)

Signed-off-by: Haris Okanovic &lt;haris.okanovic@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;
</content>
</entry>
<entry>
<title>run-postinsts: Use opkg/dpkg to configure when possible</title>
<updated>2016-12-07T10:38:00+00:00</updated>
<author>
<name>Jussi Kukkonen</name>
<email>jussi.kukkonen@intel.com</email>
</author>
<published>2016-11-04T13:16:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=17ad91acd5f63f04bd3925b2943363e3068e7303'/>
<id>urn:sha1:17ad91acd5f63f04bd3925b2943363e3068e7303</id>
<content type='text'>
Currently run-postinsts script has code to run postinst scripts
via opkg/dpkg configure but that code is never used. The advantage
of using package managers instead of just executing the scripts is
to keep the package manager DB updated.

Fix the script so that the package managers are used when appropriate.
Also use $localstatedir for the opkg runtime file location.

Fixes [YOCTO #10478].

(From OE-Core rev: b645919f173512f9e75aeb26348d60b63dcdc53c)

Signed-off-by: Jussi Kukkonen &lt;jussi.kukkonen@intel.com&gt;
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>Remove $COREBASE/LICENSE from LIC_FILES_CHKSUM</title>
<updated>2016-10-28T15:15:18+00:00</updated>
<author>
<name>Olaf Mandel</name>
<email>o.mandel@menlosystems.com</email>
</author>
<published>2016-10-21T09:24:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=7e5b59d7af6923e082cb34d6ac91742204e90137'/>
<id>urn:sha1:7e5b59d7af6923e082cb34d6ac91742204e90137</id>
<content type='text'>
Several recipes reference the LICENSE file in their LIC_FILES_CHKSUM
variable as ${COREBASE}/LICENSE. This forces distribution providers to
keep this file verbatim or to overload the affected recipes. The section
"Moving to the Yocto Project 1.6 Release" in the Yocto manual suggests
removing the LICENSE file where possible.

Remove LICENSE in cases where COPYING.MIT is also given and replace
LICENSE with COPYING.MIT if the former was the only entry. All modified
recipes specify LICENSE = "MIT" and none of the in-tree files specify a
different license either.

As the packages do not change (the license files are not contained in
them), do not increase PR.

(From OE-Core rev: 0059e0661826c857a07c862bcb46162671e0e330)

Signed-off-by: Olaf Mandel &lt;o.mandel@menlosystems.com&gt;
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>run-postinsts: Correct comment misspelling, "rpm-posinsts".</title>
<updated>2016-07-08T08:57:24+00:00</updated>
<author>
<name>Robert P. J. Day</name>
<email>rpjday@crashcourse.ca</email>
</author>
<published>2016-07-05T12:34:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=e6ad36cb5413509605249d4641f7d039e8a00aeb'/>
<id>urn:sha1:e6ad36cb5413509605249d4641f7d039e8a00aeb</id>
<content type='text'>
(From OE-Core rev: 45048442913687f2817ef9a52352fe3214f5f023)

Signed-off-by: Robert P. J. Day &lt;rpjday@crashcourse.ca&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>opkg: upgrade to v0.3.0</title>
<updated>2015-09-03T11:43:14+00:00</updated>
<author>
<name>Alejandro del Castillo</name>
<email>alejandro.delcastillo@ni.com</email>
</author>
<published>2015-09-01T14:17:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=d6b1171131656907d6bdbb9ce3115c444f06817e'/>
<id>urn:sha1:d6b1171131656907d6bdbb9ce3115c444f06817e</id>
<content type='text'>
Changes required:
- Rename opkg-cl to opkg
- Add libarchive dependency
- Drop backport patches
- Drop obsolete directory options
- Add patch to handle empty index files

Based on initial work by Paul Barker.

(From OE-Core rev: 1dd2a9ea54f5a5497e23814f144f35ff15430d71)

Signed-off-by: Alejandro del Castillo &lt;alejandro.delcastillo@ni.com&gt;
CC: Paul Barker &lt;paul@paulbarker.me.uk&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>run-postinsts: use ${localstatedir} instead of hardcoding /var/lib</title>
<updated>2015-07-31T09:32:38+00:00</updated>
<author>
<name>André Draszik</name>
<email>git@andred.net</email>
</author>
<published>2015-07-24T12:48:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=0e9a9842a83a03cb06bfb49e899bee8c31e47ac4'/>
<id>urn:sha1:0e9a9842a83a03cb06bfb49e899bee8c31e47ac4</id>
<content type='text'>
(From OE-Core rev: 48d735a8938ec7c49754a57019182ebcd9a2d8b6)

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>run-postinsts: Fix ipk package management detection</title>
<updated>2015-06-27T21:42:52+00:00</updated>
<author>
<name>Aníbal Limón</name>
<email>anibal.limon@linux.intel.com</email>
</author>
<published>2015-06-25T18:21:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=64229cb5d44d63af4eccd54509166d25d925cd05'/>
<id>urn:sha1:64229cb5d44d63af4eccd54509166d25d925cd05</id>
<content type='text'>
run-postinsts always mark ipk package management as true, causing
problems when try to execute opkg-cl and isn't present.

(From OE-Core rev: 84dcc8dded5761e24e09dbcc822445ce3dd69497)

Signed-off-by: Aníbal Limón &lt;anibal.limon@linux.intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>meta: set proper S value</title>
<updated>2015-01-23T11:36:27+00:00</updated>
<author>
<name>Petter Mabäcker</name>
<email>petter@technux.se</email>
</author>
<published>2015-01-06T21:29:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=4eb3db9a2ca8eaff64b64b8f56dac25d4734571c'/>
<id>urn:sha1:4eb3db9a2ca8eaff64b64b8f56dac25d4734571c</id>
<content type='text'>
After removal of auto-creating S we must ensure that all recipes are
using a proper value for S.

Fix all recipes that only need to set S equals to WORKDIR.

[YOCTO #5627]

(From OE-Core rev: 9d220b1bfe4589736604dd5a7129e3699377d830)

Signed-off-by: Petter Mabäcker &lt;petter@technux.se&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>run-postinsts.service: remove redundant line</title>
<updated>2014-09-03T10:09:07+00:00</updated>
<author>
<name>Chen Qi</name>
<email>Qi.Chen@windriver.com</email>
</author>
<published>2014-09-03T07:09:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=1ea5aad63afba9eeddd1b6dfc197500a2ff4f581'/>
<id>urn:sha1:1ea5aad63afba9eeddd1b6dfc197500a2ff4f581</id>
<content type='text'>
The basic.target itself requires sysinit.target, so there's no
need to write this redundant line in the run-postinsts unit file.

(From OE-Core rev: 28835fcd78fd35db6d3bd7ee2be16904ddf11991)

Signed-off-by: Chen Qi &lt;Qi.Chen@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>run-postinsts: fix issue with checking IMAGE_FEATURES</title>
<updated>2014-03-27T15:44:43+00:00</updated>
<author>
<name>Laurentiu Palcu</name>
<email>laurentiu.palcu@intel.com</email>
</author>
<published>2014-03-27T12:43:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=cbefaa3e3160aed390722b301e909f72b22dbbb8'/>
<id>urn:sha1:cbefaa3e3160aed390722b301e909f72b22dbbb8</id>
<content type='text'>
The old implementation was wrong. It was not very generic and it checked
IMAGE_FEATURES while building the recipe, which led to various issues
with the generation of the final script. That is, the run-postinsts
script was generated once, while building the package for the first
time. Hence, any other changes to IMAGE_FEATURES, like removing/adding
'package-management' did not reflect in the final script.

This commit makes run-postinsts script autodetect the backend used for
creating the image, making it generic.

[YOCTO #5666]
[YOCTO #5972]

(From OE-Core rev: 44902f7550e490a9d4d2e2bcdf8c577329b4af75)

Signed-off-by: Laurentiu Palcu &lt;laurentiu.palcu@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
