From a9b724eedd0c9d8c36725c5b8f57d51ea9f7dcd1 Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Fri, 11 Nov 2016 11:58:56 +0100 Subject: add hidden config to set packages as Essential/Important MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- apt-pkg/deb/deblistparser.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apt-pkg/deb/deblistparser.h') diff --git a/apt-pkg/deb/deblistparser.h b/apt-pkg/deb/deblistparser.h index a78312f9d..102cd62aa 100644 --- a/apt-pkg/deb/deblistparser.h +++ b/apt-pkg/deb/deblistparser.h @@ -43,8 +43,8 @@ class APT_HIDDEN debListParser : public pkgCacheListParser #endif private: - /** \brief dpointer placeholder (for later in case we need it) */ - void * const d; + std::vector forceEssential; + std::vector forceImportant; protected: pkgTagFile Tags; -- cgit v1.2.3