summaryrefslogtreecommitdiff
path: root/doc/examples
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2009-09-13 00:32:35 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2009-09-13 00:32:35 +0200
commit3e9c4f702ed45f6201bae44b628c84db69436b05 (patch)
tree68a80e18a2a08d0cb9120f68da53a1fc5dfcd3ab /doc/examples
parent887f5036c31d6bbbab8fa967d39592617244f3a0 (diff)
add and document experimental options to make aggressive
use of dpkg's trigger and configuration handling (Closes: #473461) Add NoTriggers option to add --no-triggers to all dpkg calls, NoConfiguration to prevent apt from trying to configure packages - dpkg should handle this in the last ConfigurePending call. This options are for now deactivated as they require more testing in real world situations, but the plan is to enable them in the near future if anything works well.
Diffstat (limited to 'doc/examples')
-rw-r--r--doc/examples/configure-index15
1 files changed, 11 insertions, 4 deletions
diff --git a/doc/examples/configure-index b/doc/examples/configure-index
index 8025fa4b4..27118fb7e 100644
--- a/doc/examples/configure-index
+++ b/doc/examples/configure-index
@@ -319,18 +319,25 @@ DSelect
CheckDir "no";
}
-DPkg
+DPkg
{
+ // let apt aggressivly use dpkg triggers
+ NoTriggers "true";
+ NoConfigure "true";
+ ConfigurePending "true";
+
// Probably don't want to use force-downgrade..
Options {"--force-overwrite";"--force-downgrade";}
-
+
// Auto re-mounting of a readonly /usr
Pre-Invoke {"mount -o remount,rw /usr";};
Post-Invoke {"mount -o remount,ro /usr";};
-
+
+ Chroot-Directory "/";
+
// Prevents daemons from getting cwd as something mountable (default)
Run-Directory "/";
-
+
// Build options for apt-get source --compile
Build-Options "-b -uc";