wendellchao / opkg

Automatically exported from code.google.com/p/opkg
0 stars 0 forks source link

allow configuration of tmp path #67

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I know about the -t option. On some devices, tmpfs is mounted elsewhere and 
it'd be nice to be able to specify that during build configuration or in a 
runtime configuration file, instead of having to manually edit 
OPKG_CONF_DEFAULT_TMP_DIR_BASE in libopkg/opkg_conf.h

Original issue reported on code.google.com by inpo...@gmail.com on 3 Nov 2010 at 10:27

GoogleCodeExporter commented 9 years ago
The temp dir can be specified in the config file with a line like:

option tmp_dir /var/lib/opkg/tmp

The full list of option directives can be found in a table at the top of 
libopkg/opkg_conf.c

Original comment by graham.g...@gmail.com on 3 Nov 2010 at 10:55

GoogleCodeExporter commented 9 years ago
Thanks for the tip! I don't know how I missed that :D

Original comment by inpo...@gmail.com on 4 Nov 2010 at 12:39

GoogleCodeExporter commented 9 years ago

Original comment by graham.g...@gmail.com on 7 Nov 2010 at 10:17