From: Graham Gower <graham.gower@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [oe-commits] Graham Gower : package_ipk.bbclass: add lists_dir to sysroots' /etc/opkg. conf
Date: Tue, 10 Aug 2010 09:03:09 +0930 [thread overview]
Message-ID: <4C609035.7080500@gmail.com> (raw)
In-Reply-To: <AANLkTimcUgoNO73WXbn2R1O-pgXT-4raSGjtsHa8SvOC@mail.gmail.com>
On 08/10/2010 07:24 AM, Andrea Adami wrote:
> It seems this doesn't respect ${ONLINE_PACKAGE_MANAGEMENT}" == "none"
>
> I see a spurious /var/lib/opkg in the cpio of initramfs-kexecboot-image.
>
> oe │ 0│Aug 9 23:32│
> oe-all │ 64030│Aug 9 23:32
> oe-armv5te │3637007│Aug 9 23:32
> oe-tosa │ 463708│Aug 9 23:3
>
>
> We don't need any extra cruft there ;)
>
> Regards
>
> Andrea
>
/var/lib/opkg shouldn't be populated regardless of the value of ONLINE_PACKAGE_MANAGEMENT.
Signed-off-by: Graham Gower <graham.gower@gmail.com>
---
diff --git a/classes/rootfs_ipk.bbclass b/classes/rootfs_ipk.bbclass
index db04fb6..b0baab0 100644
--- a/classes/rootfs_ipk.bbclass
+++ b/classes/rootfs_ipk.bbclass
@@ -98,15 +98,18 @@ fakeroot rootfs_ipk_do_rootfs () {
else
rm -f ${IMAGE_ROOTFS}${libdir}/opkg/lists/*
fi
-
+
+ rm -rf ${IMAGE_ROOTFS}/var/lib/opkg/*
+
# 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}
}
next prev parent reply other threads:[~2010-08-09 23:33 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 [this message]
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
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=4C609035.7080500@gmail.com \
--to=graham.gower@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox