summaryrefslogtreecommitdiff
path: root/doc/examples
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2016-11-11 11:58:56 +0100
committerDavid Kalnischkies <david@kalnischkies.de>2016-11-11 23:40:39 +0100
commita9b724eedd0c9d8c36725c5b8f57d51ea9f7dcd1 (patch)
tree052993f7efd9e74bffd3d0c1243c28100a7c2072 /doc/examples
parent11c96d7618faecc8fab9edfd83b2b2e0afefda3b (diff)
add hidden config to set packages as Essential/Important
You can pretty much achieve the same with a local dummy package if you want to, but libapt has an inbuilt setting for essential: "apt" which can be overridden with this option as well – it could be helpful in quick tests and what not so adding this alternative shouldn't really hurt much. We aren't going to document them much through as care must be taken in regards to the binary caches as they aren't invalidated by config options alone, so the effects of old settings could still be in them, similar to the other already existing pkgCacheGen option(s). Closes: 767891 Thanks: Anthony Towns for initial patch
Diffstat (limited to 'doc/examples')
-rw-r--r--doc/examples/configure-index7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/examples/configure-index b/doc/examples/configure-index
index dc579c394..2d0fb6c64 100644
--- a/doc/examples/configure-index
+++ b/doc/examples/configure-index
@@ -461,7 +461,12 @@ Debug
RunScripts "false"; // debug invocation of external scripts
}
-pkgCacheGen::Essential "native"; // other modes: all, none, installed
+pkgCacheGen
+{
+ Essential "native"; // other modes: all, none, installed
+ ForceEssential { "apt"; };
+ ForceImportant "";
+}
/* Whatever you do, do not use this configuration file!! Take out ONLY
the portions you need! */