]> code.ossystems Code Review - openembedded-core.git/commit
run-postinsts: Use opkg/dpkg to configure when possible
authorJussi Kukkonen <jussi.kukkonen@intel.com>
Fri, 4 Nov 2016 13:16:49 +0000 (15:16 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 7 Dec 2016 10:36:11 +0000 (10:36 +0000)
commitb645919f173512f9e75aeb26348d60b63dcdc53c
tree7f8505200010eb59bd8d138f7315db62ec33acbf
parent5610c6397ee098dd998b7417b343494de77179f9
run-postinsts: Use opkg/dpkg to configure when possible

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].

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts