]> code.ossystems Code Review - openembedded-core.git/commit
run-postinsts: make it generic
authorLaurentiu Palcu <laurentiu.palcu@intel.com>
Thu, 23 May 2013 08:03:56 +0000 (11:03 +0300)
committerSaul Wold <sgw@linux.intel.com>
Mon, 10 Jun 2013 21:51:29 +0000 (14:51 -0700)
commit0222e6740ee4670bbf42d246ab3ecad415ffcdee
tree092d863be5664769ce8840cdb8fdf015e9cd6826
parentaac8a59216819759d6b97bc30a7c717dbee7060a
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.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
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]