On Mon, Apr 25, 2011 at 01:14:20PM -0500, George McCollister wrote: > Repository data is stored in /usr/lib/opkg. Don't link it to /tmp.
Hmmm, for what kind of operations does opkg try to write there? This should work with a read-only rootfs (In that case opkg won't be able to install/remove packages). Also, shouldn't we create the directory instead? Michael > Signed-off-by: George McCollister <george.mccollis...@gmail.com> > --- > rules/opkg.make | 3 --- > 1 files changed, 0 insertions(+), 3 deletions(-) > > diff --git a/rules/opkg.make b/rules/opkg.make > index 4c80d1d..5b67671 100644 > --- a/rules/opkg.make > +++ b/rules/opkg.make > @@ -95,9 +95,6 @@ endif > > @$(call install_lib, opkg, 0, 0, 0644, libopkg) > > -# # opkg tries to write to the OPKG_STATE_DIR_PREFIX, which is > /usr/lib/opkg > - @$(call install_link, opkg, ../../tmp, /usr/lib/opkg) > - > @$(call install_finish, opkg) > > @$(call touch) > -- > 1.7.1 > > > -- > ptxdist mailing list > ptxdist@pengutronix.de > -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- ptxdist mailing list ptxdist@pengutronix.de