diff options
Diffstat (limited to 'libopkg/opkg_configure.c')
-rw-r--r-- | libopkg/opkg_configure.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libopkg/opkg_configure.c b/libopkg/opkg_configure.c index 719da5a..169828d 100644 --- a/libopkg/opkg_configure.c +++ b/libopkg/opkg_configure.c @@ -35,7 +35,10 @@ opkg_configure(pkg_t *pkg) err = pkg_run_script(pkg, "postinst", "configure"); if (err) { - opkg_msg(ERROR, "%s.postinst returned %d.\n", pkg->name, err); + if (!conf->offline_root) + opkg_msg(ERROR, "%s.postinst returned %d.\n", pkg->name, err); + else + opkg_msg(NOTICE, "%s.postinst returned %d, marking as unpacked only, configuration required on target.\n", pkg->name, err); return err; } |