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

Ahsan, Noor Noor_Ahsan at mentor.com
Tue Aug 30 14:21:44 UTC 2011


> -----Original Message-----
> From: openembedded-devel-bounces at lists.openembedded.org
> [mailto:openembedded-devel-bounces at lists.openembedded.org] On Behalf
Of
> Koen Kooi
> Sent: Tuesday, August 30, 2011 6:40 PM
> To: openembedded-devel at lists.openembedded.org
> Subject: Re: [oe] [meta-oe][PATCH 1/1] debianutils: Add version 2.30
> (initial recipe)
> 
> -----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.

Koen BTW this is directly coming from oe.dev.

> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (Darwin)
> 
> iD8DBQFOXOg2MkyGM64RGpERAjJ9AJ49QdImds18J3+35yKjLGJnKq/WzQCeJmGa
> U0+Ri3DkNyu52JW5LJ9+QcU=
> =l6E5
> -----END PGP SIGNATURE-----
> 
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel




More information about the Openembedded-devel mailing list