]> code.ossystems Code Review - openembedded-core.git/commit
ipk: use OPKGLIBDIR in all places
authorMartin Jansa <martin.jansa@gmail.com>
Mon, 4 Feb 2013 22:06:52 +0000 (23:06 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 6 Feb 2013 09:35:01 +0000 (09:35 +0000)
commitcf0aa9c4fdae8855803e96b1922d54a2431795d3
treee3e5cfed064f7243885c8e8a57779dbfa5a287b7
parent8abcf2c3541d7fe96d7717cb161812784dca6c66
ipk: use OPKGLIBDIR in all places

* 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

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
meta/classes/package_ipk.bbclass
meta/classes/rootfs_ipk.bbclass
meta/recipes-devtools/opkg/opkg-collateral.bb
meta/recipes-devtools/opkg/opkg-collateral/lists [deleted file]
meta/recipes-devtools/opkg/opkg.inc