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

Op 30-08-11 15:24, Noor, Ahsan schreef:
> From: Noor Ahsan <[email protected]>
> 
> * Imported from oe.dev commit id 280a17bc1d8132f97cf6a89b8bc08a32380fa357. * 
> Merged .bb and .inc file
> 
> Signed-off-by: Noor Ahsan <[email protected]> --- 
> .../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-----


_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Reply via email to