From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH] rootfs_ipk.bbclass: remove host's lists in /var/lib/opkg/*
Date: Tue, 17 Aug 2010 08:14:14 +0200 [thread overview]
Message-ID: <20100817061411.GC11569@jama> (raw)
In-Reply-To: <4C69D533.7060902@gmail.com>
On Tue, Aug 17, 2010 at 09:47:55AM +0930, Graham Gower wrote:
>
> Signed-off-by: Graham Gower <graham.gower@gmail.com>
Acked-by: Martin Jansa <Martin.Jansa@gmail.com>
> ---
> classes/rootfs_ipk.bbclass | 8 ++++++--
> 1 files changed, 6 insertions(+), 2 deletions(-)
>
> diff --git a/classes/rootfs_ipk.bbclass b/classes/rootfs_ipk.bbclass
> index db04fb6..915e3d7 100644
> --- a/classes/rootfs_ipk.bbclass
> +++ b/classes/rootfs_ipk.bbclass
> @@ -98,15 +98,19 @@ fakeroot rootfs_ipk_do_rootfs () {
> else
> rm -f ${IMAGE_ROOTFS}${libdir}/opkg/lists/*
> fi
> -
> +
> + # Remove lists, but leave SHR's tmp dir if it exists.
> + rm -f ${IMAGE_ROOTFS}/var/lib/opkg/* || true
> +
> # Keep these lines until package manager selection is implemented
> ln -s opkg ${IMAGE_ROOTFS}${sysconfdir}/ipkg
> ln -s opkg ${IMAGE_ROOTFS}${libdir}/ipkg
> else
> rm -rf ${IMAGE_ROOTFS}${libdir}/opkg
> rm -rf ${IMAGE_ROOTFS}/usr/lib/opkg
> + rm -rf ${IMAGE_ROOTFS}/var/lib/opkg
> fi
> -
> +
> log_check rootfs
> rm -rf ${IPKG_TMP_DIR}
> }
> --
> 1.7.1
>
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
prev parent reply other threads:[~2010-08-17 6:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <E1OhMNp-0001vS-Ot@melo.openembedded.org>
2010-08-09 21:54 ` [oe-commits] Graham Gower : package_ipk.bbclass: add lists_dir to sysroots' /etc/opkg. conf Andrea Adami
2010-08-09 23:33 ` Graham Gower
2010-08-16 22:17 ` Martin Jansa
2010-08-17 0:17 ` [PATCH] rootfs_ipk.bbclass: remove host's lists in /var/lib/opkg/* Graham Gower
2010-08-17 6:14 ` Martin Jansa [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100817061411.GC11569@jama \
--to=martin.jansa@gmail.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.