summaryrefslogtreecommitdiffstats
path: root/libopkg/opkg_install.c
diff options
context:
space:
mode:
authorpixdamix <pixdamix@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2009-11-23 03:28:58 (EST)
committer pixdamix <pixdamix@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2009-11-23 03:28:58 (EST)
commitb5023b1788eb78b8c1d521e28dd89c540cf92773 (patch)
tree1483d079fc41652815a1315fcbe75b50f36508a6 /libopkg/opkg_install.c
parentdc51de137b84352e22ad99911607779658816ae1 (diff)
Allow to install a package from a read-only dir
This patch allows to install a package which is located on a readonly filesystem or folder by moving the control file into the tmp_dir directory git-svn-id: http://opkg.googlecode.com/svn/trunk@351 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
Diffstat (limited to 'libopkg/opkg_install.c')
-rw-r--r--libopkg/opkg_install.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libopkg/opkg_install.c b/libopkg/opkg_install.c
index f9245ca..96e6080 100644
--- a/libopkg/opkg_install.c
+++ b/libopkg/opkg_install.c
@@ -85,7 +85,7 @@ int opkg_install_from_file(opkg_conf_t *conf, const char *filename)
pkg = pkg_new();
- err = pkg_init_from_file(pkg, filename);
+ err = pkg_init_from_file(conf, pkg, filename);
if (err) {
return err;
}