From 8b44d858a9895bfaec1f78562c9619c5652d9056 Mon Sep 17 00:00:00 2001 From: ticktock35 Date: Sun, 14 Dec 2008 23:20:45 -0500 Subject: opkg: add a status flag to record if the package was automatically installed to satisfy a dependency git-svn-id: http://opkg.googlecode.com/svn/trunk@24 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358 --- (limited to 'opkg_install.c') diff --git a/opkg_install.c b/opkg_install.c index 242db59..b278724 100644 --- a/opkg_install.c +++ b/opkg_install.c @@ -413,6 +413,9 @@ int satisfy_dependencies_for(opkg_conf_t *conf, pkg_t *pkg) && (dep->state_status != SS_UNPACKED)) { opkg_message(conf, OPKG_DEBUG2,"Function: %s calling opkg_install_pkg \n",__FUNCTION__); err = opkg_install_pkg(conf, dep,0); + /* mark this package as having been automatically installed to + * satisfy a dependancy */ + dep->auto_installed = 1; if (err) { pkg_vec_free(depends); return err; -- cgit v0.9.1