-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Op 30-08-11 16:21, Ahsan, Noor schreef: >> -----Original Message----- From: >> [email protected] >> [mailto:[email protected]] On Behalf > Of >> Koen Kooi Sent: Tuesday, August 30, 2011 6:40 PM To: >> [email protected] 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 <[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. > >> 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----- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
