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

Koen Kooi koen at dominion.thruhere.net
Tue Aug 30 15:36:47 UTC 2011


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

Op 30-08-11 16:21, Ahsan, Noor schreef:
>> -----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)
>> 
> 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.

And? It's still wrong
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFOXQOPMkyGM64RGpERAvYjAJ45fZRDUEa//mXKK1XoU3ByNaQWOQCeNE4q
xQJ2N/zgMWG42dY/6GN/NeM=
=zz1B
-----END PGP SIGNATURE-----





More information about the Openembedded-devel mailing list