run-postinsts: make it generic
authorLaurentiu Palcu <laurentiu.palcu@intel.com>
Thu, 23 May 2013 08:03:56 +0000 (11:03 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 11 Jun 2013 14:38:04 +0000 (15:38 +0100)
commit130f5b9cf064496f9697d6e24ae8291324a5baea
tree6a13f0821660ea71b787e6a7044974945f4f66a4
parent0ec2a7f47a80685a957eb757f7f8fce8e5167f81
run-postinsts: make it generic

This recipe is used only when the package manager is not deployed on
target and there still are delayed postinstalls that need to be run on
target. At the moment, run-postinsts is targeted to dpkg/opkg. RPM uses another
recipe, called rpm-postinsts which, in turn, is used even when the rpm
package is deployed.

This patch intends to make run-postinsts generic and deprecate
rpm-postinsts. Here's why:
 * when opkg/dpkg are not deplyed, the meta-data files are useless.
   Hence, the awk script is not needed. The postinstall files are already
   saved in /etc/(deb|ipk)-postinsts directory and we can use the same
   procedure as in rpm's case;

Also, the recipe is moved out from meta/recipes-devel/dpkg to
meta/recipes-devel/run-postinsts.

(From OE-Core rev: 0222e6740ee4670bbf42d246ab3ecad415ffcdee)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/dpkg/run-postinsts/run-postinsts [deleted file]
meta/recipes-devtools/dpkg/run-postinsts/run-postinsts.awk [deleted file]
meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts [new file with mode: 0755]
meta/recipes-devtools/run-postinsts/run-postinsts_1.0.bb [moved from meta/recipes-devtools/dpkg/run-postinsts_1.0.bb with 68% similarity]