<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/meta/recipes-devtools/opkg/opkg.inc, branch 1.5_M4</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=1.5_M4</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=1.5_M4'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2013-08-16T10:14:31+00:00</updated>
<entry>
<title>opkg.inc: remove the obsolete POSTLOG variable</title>
<updated>2013-08-16T10:14:31+00:00</updated>
<author>
<name>Chen Qi</name>
<email>Qi.Chen@windriver.com</email>
</author>
<published>2013-08-13T07:34:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=4fc37883adde27141b5659b9d3f218edba563b10'/>
<id>urn:sha1:4fc37883adde27141b5659b9d3f218edba563b10</id>
<content type='text'>
With the current implementation of postinst logging mechanism, the
location for log file is configured via the POSTINST_LOGFILE variable.

The POSTLOG variable is obsolete now, thus removing it.

(From OE-Core rev: 6aaf2d5c51eb4ee6acbb85fd4aa5f44406907bc2)

Signed-off-by: Chen Qi &lt;Qi.Chen@windriver.com&gt;
Signed-off-by: Saul Wold &lt;sgw@linux.intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>opkg.inc: remove the obsolete REDIRECT_CMD</title>
<updated>2013-08-03T09:33:03+00:00</updated>
<author>
<name>Chen Qi</name>
<email>Qi.Chen@windriver.com</email>
</author>
<published>2013-07-30T02:20:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=381566a06730b4e24da07efd8170882b81dc252d'/>
<id>urn:sha1:381566a06730b4e24da07efd8170882b81dc252d</id>
<content type='text'>
The REDIRECT_CMD variable is now obsolete, remove it.

(From OE-Core rev: cba8f3257bb645dafdfa7c672bbdc4b0f0c094e6)

Signed-off-by: Chen Qi &lt;Qi.Chen@windriver.com&gt;
Signed-off-by: Saul Wold &lt;sgw@linux.intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>opkg: put libopkg header files into libopkg-dev</title>
<updated>2013-06-18T16:33:15+00:00</updated>
<author>
<name>Paul Barker</name>
<email>paul@paulbarker.me.uk</email>
</author>
<published>2013-06-17T00:22:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=692b751729c35b83cad12b162330a214c3fe0f81'/>
<id>urn:sha1:692b751729c35b83cad12b162330a214c3fe0f81</id>
<content type='text'>
The header files for libopkg belong in the package libopkg-dev rather than
opkg-dev where they are placed by default.

(From OE-Core rev: f79cd4208340b56afc044d8e3abc72d43d395062)

Signed-off-by: Paul Barker &lt;paul@paulbarker.me.uk&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>opkg: modify the run-postinst script to enable postinst logging</title>
<updated>2013-05-23T09:28:04+00:00</updated>
<author>
<name>Chen Qi</name>
<email>Qi.Chen@windriver.com</email>
</author>
<published>2013-05-23T04:43:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=0bf2c0af71dd506e8019bdd5b2b3b826062185a3'/>
<id>urn:sha1:0bf2c0af71dd506e8019bdd5b2b3b826062185a3</id>
<content type='text'>
Enable postinst logging by checking the configuration in ${sysconfdir}
/default/postinst.

In this way, the postinst logging is enabled if 'debug-tweaks' is
in IMAGE_FEATURES, and at the same time, we avoid unnecessary rebuilt
if IMAGE_FEATURES is changed.

[YOCTO #4262]

(From OE-Core rev: 35be6ffc19a5156aa029397707f1e6869684b821)

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>opkg: remove unnecessary extra leading slash in run-postinsts</title>
<updated>2013-05-20T23:18:45+00:00</updated>
<author>
<name>Jonathan Liu</name>
<email>net147@gmail.com</email>
</author>
<published>2013-05-16T02:37:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=5c43ee2f2a11252beb412310fa98e37e16a68406'/>
<id>urn:sha1:5c43ee2f2a11252beb412310fa98e37e16a68406</id>
<content type='text'>
(From OE-Core rev: 047826f034f00c2402c0a078b5c918019fcf36a4)

Signed-off-by: Jonathan Liu &lt;net147@gmail.com&gt;
Signed-off-by: Saul Wold &lt;sgw@linux.intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>opkg.inc: don't hardcode /var/lib/opkg</title>
<updated>2013-04-11T15:39:39+00:00</updated>
<author>
<name>Laurentiu Palcu</name>
<email>laurentiu.palcu@intel.com</email>
</author>
<published>2013-04-11T13:03:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=d1ff4b68ba0828d7b319f93145218244857753ef'/>
<id>urn:sha1:d1ff4b68ba0828d7b319f93145218244857753ef</id>
<content type='text'>
(From OE-Core rev: 9caf1f2540f0419c1301cc21777f97c6671fd844)

Signed-off-by: Laurentiu Palcu &lt;laurentiu.palcu@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>dpkg, opkg, rpm-postinsts: avoid repackaging when changing IMAGE_FEATURES</title>
<updated>2013-04-11T15:13:58+00:00</updated>
<author>
<name>Paul Eggleton</name>
<email>paul.eggleton@linux.intel.com</email>
</author>
<published>2013-04-11T14:55:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=f3dbf8f674930cc9035e5f7da5528611cf1c6d25'/>
<id>urn:sha1:f3dbf8f674930cc9035e5f7da5528611cf1c6d25</id>
<content type='text'>
Recipes cannot depend on the value of IMAGE_FEATURES; in this case the
result is do_package task signatures changing every time IMAGE_FEATURES
changes, causing a large number of task re-executions. The
implementation of the log capturing really needs to be changed to
capture these in a different place and possibly not even conditional
upon IMAGE_FEATURES at all, but this will be invasive at this point in
the development cycle. For now, remove the variable dependencies to fix
the immediate problem.

Fixes [YOCTO #4246].

(From OE-Core rev: b4fbe4095de447ef4e426128bafaf8a292fa63e1)

Signed-off-by: Paul Eggleton &lt;paul.eggleton@linux.intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>dpkg, opkg, rpm-postinst: fix overwriting the run-postinstall script</title>
<updated>2013-04-11T11:20:35+00:00</updated>
<author>
<name>Laurentiu Palcu</name>
<email>laurentiu.palcu@intel.com</email>
</author>
<published>2013-04-11T11:09:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=8b29120a8cdd92a0429f383f4811f7f84c6c350e'/>
<id>urn:sha1:8b29120a8cdd92a0429f383f4811f7f84c6c350e</id>
<content type='text'>
If multiple package managers are installed in the image, they will
overwrite each other's run-postinsts script, resulting in postinstalls
not beeing run at all at first boot.

What this patch does:
 * checks whether opkg/dpks/rpm is actually used to install
   the packages and, only after, creates the run-postinsts script;
 * brings dpkg recipe in sync with opkg: moves the script creation from
   do_install to postinstall;
 * move creation of run-postinsts script (rpm-postinsts recipe) to the
   postinstall scriptlet in order to better control the creation of the
   script according to the package manager used;

[YOCTO #4231]
[YOCTO #4179]

(From OE-Core rev: d7fd56df0a4954954d6d0764ae06beb869e6b99a)

Signed-off-by: Laurentiu Palcu &lt;laurentiu.palcu@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>opkg: save output of postinst scripts when image first boot</title>
<updated>2013-03-07T11:14:38+00:00</updated>
<author>
<name>Kang Kai</name>
<email>kai.kang@windriver.com</email>
</author>
<published>2013-02-24T12:06:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=0276db5e64e2a233c673e55c3ac1fdefe3030f39'/>
<id>urn:sha1:0276db5e64e2a233c673e55c3ac1fdefe3030f39</id>
<content type='text'>
When image feature "debug-tweaks" enabled, save output of postinstall
scripts to log file /var/log/postinstall.log when image first boot. And the
log file can be configured.

It also needs image feature "package-management" enabled. If not,
package run-postinsts will be installed and then all packages will be
configured by it. Command 'opkg configure' outputs nothing.

[YOCTO #3223]

(From OE-Core rev: 378504c1c0ab1e0e09950b37effc04221b928236)

Signed-off-by: Kang Kai &lt;kai.kang@windriver.com&gt;
Signed-off-by: Saul Wold &lt;sgw@linux.intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>ipk: use OPKGLIBDIR in all places</title>
<updated>2013-02-06T09:37:22+00:00</updated>
<author>
<name>Martin Jansa</name>
<email>martin.jansa@gmail.com</email>
</author>
<published>2013-02-04T22:06:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=77b1409522abd9bef511a160ec2f768cdd3c7580'/>
<id>urn:sha1:77b1409522abd9bef511a160ec2f768cdd3c7580</id>
<content type='text'>
* it's not recommended to change this value, because it breaks upgrade path on target
  (all old u-a alternatives are forgot in old OPKGLIBDIR value
* but make it consistent, so if someone really want to change that, then
  setting OPKGLIBDIR_distro in distro.conf would be enough
* without this there were at least 4 places to change:
  rootfs_ipk: opkglibdir variable (notice that I've removed /opkg from it to correspond
              with EXTRA_OECONF option used in opkg recipes
  package_ipk: ${target_rootfs}${localstatedir}/lib/opkg/ hardcoded in
               package_install_internal_ipk
  opkg-collateral: value in lists file
  opkg: EXTRA_OECONF for all 3 classes, FILES_libopkg, do_install
* validated with buildhistory that without OPKGLIBDIR explicitly set the
  output is the same and that after setting
  OPKGLIBDIR_forcevariable := "${libdir}"
  everything including empty directory from package_ipk is moved to
  libdir

(From OE-Core rev: cf0aa9c4fdae8855803e96b1922d54a2431795d3)

Signed-off-by: Martin Jansa &lt;Martin.Jansa@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
