diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2010-02-24 10:16:41 +0100 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2010-02-24 20:10:47 +0100 |
commit | 45809c052d7d6030675b9da0a95db705fafbc740 (patch) | |
tree | 9eb482495a2484463186a4eac90690bdf27b9717 /recipes/opkg/opkg-collateral | |
parent | 046c7c5f1cdec5c92f6a365d8846ba33986277b6 (diff) | |
download | openembedded-45809c052d7d6030675b9da0a95db705fafbc740.tar.gz |
opkg: add tmp_dir option to opkg.conf for SHR
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes/opkg/opkg-collateral')
-rw-r--r-- | recipes/opkg/opkg-collateral/tmp_dir | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/recipes/opkg/opkg-collateral/tmp_dir b/recipes/opkg/opkg-collateral/tmp_dir new file mode 100644 index 0000000000..7ba6abf6cf --- /dev/null +++ b/recipes/opkg/opkg-collateral/tmp_dir @@ -0,0 +1,4 @@ +# 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 /var/lib/opkg/tmp |