diff options
author | David Kalnischkies <david@kalnischkies.de> | 2016-06-06 17:58:00 +0200 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2016-06-27 11:57:12 +0200 |
commit | 8d1cb6da6e21302c654da3f09de3975af7e4a11f (patch) | |
tree | eb859b40742234e02d00f44f1b26702c538220eb /cmdline | |
parent | 91abb30f1c46287d386b646cef8cb42eadcaa250 (diff) |
eipp: add Allow-Temporary-Remove-of-Essentials
A rather special need option, but the internal planer supports this and
we have a testcase for it & sometimes it is hit (as a bug through). The
option itself mostly serves as a reminder for implementors that they
should be careful with removes and especially temporary removes if they
perform any.
Diffstat (limited to 'cmdline')
-rw-r--r-- | cmdline/apt-internal-planer.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmdline/apt-internal-planer.cc b/cmdline/apt-internal-planer.cc index c83dba8b1..56d4f8afd 100644 --- a/cmdline/apt-internal-planer.cc +++ b/cmdline/apt-internal-planer.cc @@ -152,6 +152,7 @@ int main(int argc,const char *argv[]) /*{{{*/ DIE("Parsing the request failed!"); _config->Set("APT::Immediate-Configure", (flags & EIPP::Request::NO_IMMEDIATE_CONFIGURATION) == 0); _config->Set("APT::Immediate-Configure-All", (flags & EIPP::Request::IMMEDIATE_CONFIGURATION_ALL) != 0); + _config->Set("APT::Force-LoopBreak", (flags & EIPP::Request::ALLOW_TEMPORARY_REMOVE_OF_ESSENTIALS) != 0); EDSP::WriteProgress(5, "Read scenario…", output); |