Why? prerm would work just the same and there are examples in meta/:

pkg_prerm:${PN} () {
        sh run-my-prerm-script.sh
}

Alex

On Fri, 25 Oct 2024 at 11:21, Uy Ha via Lists.Yoctoproject.Org
<hchanuy=gmail....@lists.yoctoproject.org> wrote:
>
> That works for postinst, but what about prerm? It is run only when the 
> package is removed in future so it cannot be done at bitbake build time
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#64124): https://lists.yoctoproject.org/g/yocto/message/64124
Mute This Topic: https://lists.yoctoproject.org/mt/109204322/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to