From b5023b1788eb78b8c1d521e28dd89c540cf92773 Mon Sep 17 00:00:00 2001 From: pixdamix Date: Mon, 23 Nov 2009 03:28:58 -0500 Subject: 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 --- (limited to 'libopkg/pkg.h') diff --git a/libopkg/pkg.h b/libopkg/pkg.h index 2e25443..694bda9 100644 --- a/libopkg/pkg.h +++ b/libopkg/pkg.h @@ -190,7 +190,7 @@ struct pkg pkg_t *pkg_new(void); int pkg_init(pkg_t *pkg); void pkg_deinit(pkg_t *pkg); -int pkg_init_from_file(pkg_t *pkg, const char *filename); +int pkg_init_from_file(opkg_conf_t *conf, pkg_t *pkg, const char *filename); abstract_pkg_t *abstract_pkg_new(void); int abstract_pkg_init(abstract_pkg_t *ab_pkg); -- cgit v0.9.1