summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libopkg/opkg_cmd.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libopkg/opkg_cmd.c b/libopkg/opkg_cmd.c
index d742d7b..6160b79 100644
--- a/libopkg/opkg_cmd.c
+++ b/libopkg/opkg_cmd.c
@@ -412,6 +412,10 @@ opkg_configure_packages(char *pkg_name)
opkg_intercept_t ic;
int r, err = 0;
+ if (conf->offline_root && !conf->force_postinstall) {
+ opkg_msg(INFO, "Offline root mode: not configuring unpacked packages.\n");
+ return 0;
+ }
opkg_msg(INFO, "Configuring unpacked packages.\n");
all = pkg_vec_alloc();