summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgraham.gower@gmail.com <graham.gower@gmail.com@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2011-10-12 23:23:56 (EDT)
committer graham.gower@gmail.com <graham.gower@gmail.com@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2011-10-12 23:23:56 (EDT)
commit233ba2355b56a731979f55d0df192260f24baad3 (patch)
tree92d18c4783c8d1643a58597127f991754ef91d0d
parent3b558bf0e650e9dd947fd930229c76e1e2a3955a (diff)
Remove comment for a proposed feature that will never be implemented.
Maintainer scripts cannot be run in a chroot unless the host system can run target system binaries. Given this, the feature would be of limited use. git-svn-id: http://opkg.googlecode.com/svn/trunk@628 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
-rw-r--r--libopkg/pkg.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libopkg/pkg.c b/libopkg/pkg.c
index 265f554..d8c3984 100644
--- a/libopkg/pkg.c
+++ b/libopkg/pkg.c
@@ -1254,8 +1254,6 @@ pkg_run_script(pkg_t *pkg, const char *script, const char *args)
if (conf->noaction)
return 0;
- /* XXX: FEATURE: When conf->offline_root is set, we should run the
- maintainer script within a chroot environment. */
if (conf->offline_root && !conf->force_postinstall) {
opkg_msg(INFO, "Offline root mode: not running %s.%s.\n",
pkg->name, script);