Skip to contentSkip to conversation

Append a pkg_postinst script

DISCUSSION Stefano Cordibella 2 participants 3 messages Mar 22, 2016 – Mar 23, 2016

lore
Share & tools
lore
#0 lore raw

Hi list,
just a simple question: what is the best way to append a
pkg_postinst script?
I haven't found any information about a pkg_postint_${PN}_append () ... I extended a recipe, via bbappend, that already defined a pkg_postinst_${PN} ()...

Thank you for your time,
Stefano.

Signature · 8 lines
*Stefano Cordibella*
EDALab s.r.l. - Networked Embedded Systems

Strada Le Grazie, 15 - 37134 Verona - Italy
email : [email protected]
skype : stefano.cordibella
tel. : +39 045 802 70 85
web : www.edalab.it
#1 lore raw

Hi Stefano,

Quoted 5 lines · On Tue, 22 Mar 2016 15:37:43 Stefano Cordibella wrote:

just a simple question: what is the best way to append a
pkg_postinst script?
I haven't found any information about a pkg_postint_${PN}_append () ... I extended a recipe, via bbappend, that already defined a pkg_postinst_${PN} ()...

pkg_postint_${PN}_append should work just fine.

Cheers,
Paul

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre
#2 lore raw

Thank you Paul for your answer.

I thought that only do_<taskname> could be _append ed or _prepend ed.

Have a nice day,
Stefano.

Quoted 13 lines · Paul Eggleton

Hi Stefano,

Quoted 5 lines · On Tue, 22 Mar 2016 15:37:43 Stefano Cordibella wrote:

just a simple question: what is the best way to append a
pkg_postinst script?
I haven't found any information about a pkg_postint_${PN}_append () ... I extended a recipe, via bbappend, that already defined a pkg_postinst_${PN} ()...

pkg_postint_${PN}_append should work just fine.

Cheers,
Paul

Signature · 8 lines
*Stefano Cordibella*
EDALab s.r.l. - Networked Embedded Systems

Strada Le Grazie, 15 - 37134 Verona - Italy
email : [email protected]
skype : stefano.cordibella
tel. : +39 045 802 70 85
web : www.edalab.it