[OE-core] [PATCH V3] opkg: Call prerm and postrm scripts on package upgrade.

Paul Barker paul at paulbarker.me.uk
Tue Oct 21 15:40:24 UTC 2014


On 15 October 2014 23:27, Peter Urbanec <openembedded-devel at urbanec.net> wrote:
> opkg upgrade will now call prerm and postrm scripts from the old package
> with "upgrade new-version" arguments, similar to what dpkg does.
>
> Signed-off-by: Peter Urbanec <openembedded-devel at urbanec.net>
> ---
>  .../opkg/opkg/prerm-and-postrm-scripts.patch       | 81
> ++++++++++++++++++++++
>  meta/recipes-devtools/opkg/opkg_0.2.2.bb           |  1 +
>  2 files changed, 82 insertions(+)
>  create mode 100644
> meta/recipes-devtools/opkg/opkg/prerm-and-postrm-scripts.patch
>
> diff --git a/meta/recipes-devtools/opkg/opkg/prerm-and-postrm-scripts.patch
> b/meta/recipes-devtools/opkg/opkg/prerm-and-postrm-scripts.patch
> new file mode 100644
> index 0000000..98a447a
> --- /dev/null
> +++ b/meta/recipes-devtools/opkg/opkg/prerm-and-postrm-scripts.patch
> @@ -0,0 +1,81 @@
> +From 476965fdb2d6eec559242e6205cbb07d539b80e1 Mon Sep 17 00:00:00 2001
> +From: Peter Urbanec <openembedded-devel at urbanec.net>
> +Date: Wed, 15 Oct 2014 14:32:22 +1100
> +Subject: [PATCH] opkg_install: Call prerm and postrm scripts on package
> upgrade.

Sorry Peter, it looks like this patch has been corrupted as well as
the one sent to the opkg-devel list. In this case I think it's mostly
lines like the above which have been incorrectly wrapped.

Could you resend this using 'git send-email' if possible?

Thanks,

-- 
Paul Barker

Email: paul at paulbarker.me.uk
http://www.paulbarker.me.uk



More information about the Openembedded-core mailing list