"/opt" is used in Visstrim_M10 boards as the working directory
for opkg.
Signed-off-by: Javier Martin <javier.martin@vista-silicon.com>
Signed-off-by: Tom Rini <tom_rini@mentor.com>
--- /dev/null
+dest root /opt
--- /dev/null
+lists_dir ext /opt/var/lib/opkg
+
--- /dev/null
+# We have whole /tmp in volatile tmpfs which is better than wear leveling NAND or uSD
+# But also bad for big upgrades where tmpfs eats whole memory,
+# device starts swapping (possibly using more NAND/uSD than temporary unpack) and then segfaults because of lack of space
+option tmp_dir /tmp
}
require update-alternatives-merge.inc
+
+EXTRA_OECONF_append_visstrim_m10 = " --with-opkglockfile=/var/lock/opkg.lock"