[oe] [meta-oe][PATCH 1/1] debianutils: Add version 2.30 (initial recipe)

Koen Kooi koen at dominion.thruhere.net
Tue Aug 30 13:40:06 UTC 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Op 30-08-11 15:24, Noor, Ahsan schreef:
> From: Noor Ahsan <noor_ahsan at mentor.com>
> 
> * Imported from oe.dev commit id 280a17bc1d8132f97cf6a89b8bc08a32380fa357. * Merged .bb and .inc file
> 
> Signed-off-by: Noor Ahsan <noor_ahsan at mentor.com> --- .../debianutils/debianutils_2.30.bb                |   49 ++++++++++++++++++++

> +pkg_prerm_${PN} () { +for app in add-shell  installkernel  mkboot  remove-shell run-parts  savelog  sensible-browser  sensible-editor  sensible-pager  tempfile  which ; do +   update-alternatives --remove $app $app.${PN} +done +} + +pkg_postinst_${PN} () { +#!/bin/sh +for app in add-shell
> installkernel  mkboot  remove-shell ; do +    update-alternatives --install ${sbindir}/$app $app $app.${PN} 100 +done +for app in savelog  sensible-browser  sensible-editor  sensible-pager  which ; do +    update-alternatives --install ${bindir}/$app $app $app.${PN} 100 +done +for app in
> run-parts  tempfile ; do +    update-alternatives --install ${base_bindir}/$app $app $app.${PN} 100 +done +}

The *insts are inconsistent, one has a shebang, the other doesn't and neither are safe to use in a cross environment.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFOXOg2MkyGM64RGpERAjJ9AJ49QdImds18J3+35yKjLGJnKq/WzQCeJmGa
U0+Ri3DkNyu52JW5LJ9+QcU=
=l6E5
-----END PGP SIGNATURE-----





More information about the Openembedded-devel mailing list