diff options
author | David Kalnischkies <david@kalnischkies.de> | 2022-02-08 15:39:45 +0100 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2022-02-10 18:35:53 +0100 |
commit | 24d4cf6216ded26e6a6517a46c6f9115275b7136 (patch) | |
tree | 9f7d9c78daf1469db46261a27f95a471550af34f /apt-private | |
parent | a7320cea1381ab8fc2305f74769c46894b7b831d (diff) |
Allow --solver apt to work on apt satisfy
Our EDSP code is confused by the spaces in the package name, so we adopt
a naming scheme similar to build-dep here instead of trying to teach
EDSP to somehow encode the spaces as that is probably even more
confusing for onlookers than this invalid package name is.
Reported-By: Johannes Schauer Marin Rodrigues on IRC
Diffstat (limited to 'apt-private')
-rw-r--r-- | apt-private/private-source.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-private/private-source.cc b/apt-private/private-source.cc index e007c542f..14bc5b43e 100644 --- a/apt-private/private-source.cc +++ b/apt-private/private-source.cc @@ -740,7 +740,7 @@ bool DoBuildDep(CommandLine &CmdL) break; } } - std::string const pseudo = "command line argument"; + std::string const pseudo = "satisfy:command-line"; WriteBuildDependencyPackage(buildDepsPkgFile, pseudo, pseudoArch, BuildDeps); pseudoPkgs.emplace_back(pseudo, pseudoArch, ""); } |