From: unknown author Date: Tue, 22 Feb 2011 17:48:08 +0100 Subject: [PATCH] use scripts with offlineroot The ipkg offline root mechanism avoids that the pre/post scripts are being run. This patch re-enables the scripts; it makes it possible that scripts can decide themselfs if they want to do something if DESTDIR is set. Signed-off-by: Robert Schwebel offline_root) { - fprintf(stderr, "(offline root mode: not running %s.%s)\n", pkg->name, script); - free(path); - return 0; - } - sprintf_alloc(&cmd, "%s %s", path, args); free(path); -- 1.7.2.3