]> code.ossystems Code Review - openembedded-core.git/commit
package_manager.py: respect OPKGLIBDIR
authorMartin Jansa <martin.jansa@gmail.com>
Thu, 23 Mar 2017 10:34:23 +0000 (11:34 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 23 Mar 2017 16:30:29 +0000 (16:30 +0000)
commitb14c11d062872c3dcf95e03b61017005dea5b754
tree49593963644a0aac31d0e0abb8c4d1fee8f1b3a9
parentbebdb056c8bd0efc056f07b275a154e5d5a3aa2b
package_manager.py: respect OPKGLIBDIR

* respect it for incremental rootfs generation
* add lists_dir option to opkg.conf
* also fix setting info_dir and status_file when they use default value, the
  problem is that self.opkg_dir is already prefixed with rootfs directory,
  comparing it with /var/lib/opkg always returned false and the options were
  appended to config file unnecessary
* with opkg 0.3.4 we can use VARDIR prefix added in:
  commit d2a8e23dc669adc398f4bb8bcfcabfcf925708f7
  Author: Florin Gherendi <floring2502@gmail.com>
  Date:   Mon Dec 19 12:25:38 2016 +0200
  libopkg: make the /var and /etc directories configurable at compile time.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/package_manager.py