[0/2] Unique run-postinsts

Submitted by Laurentiu Palcu on March 6, 2014, 12:15 p.m. | Patch ID: 68105


Message ID cover.1394099850.git.laurentiu.palcu@intel.com
State New
Headers show


git://git.yoctoproject.org/poky-contrib lpalcu/b5666_unique_run_postinsts

Commit Message

Laurentiu Palcu March 6, 2014, 12:15 p.m.
This patchset removes the opkg/dpkg postinstalls that were creating their own
run-postinsts script which, sometimes, confused people... Instead, use the
already available run-postinsts recipe in order to create the run-postinsts
init script. It will be used for both 'package-management'/no
'package-management' in DISTRO_FEATURES.

In my tests I tried to cover as much usecases as possible, in various
 * rpm/ipk/deb;
 * package-management/no package-management;
 * delayed/no delayed postinstalls;
 * sysvinit/systemd;

I hope I covered most of them. If there are any other 'dirty' usecases I should
be aware of, don't be shy.


The following changes since commit a01af0202558e6ed9d16590b3a8d1dd1b95c0374:

  recipes: bump PRs (2014-03-05 17:36:37 +0000)

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib lpalcu/b5666_unique_run_postinsts

Laurentiu Palcu (2):
  run-postinsts: use it for opkg/dpkg too
  opkg/dpkg: remove the postinstalls

 meta/recipes-devtools/dpkg/dpkg.inc                |   24 +-------
 meta/recipes-devtools/opkg/opkg.inc                |   28 +--------
 .../run-postinsts/run-postinsts/run-postinsts      |   63 +++++++++++++-------
 .../run-postinsts/run-postinsts_1.0.bb             |    2 +
 4 files changed, 44 insertions(+), 73 deletions(-)