From 24d4cf6216ded26e6a6517a46c6f9115275b7136 Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Tue, 8 Feb 2022 15:39:45 +0100 Subject: 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 --- apt-private/private-source.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apt-private') 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, ""); } -- cgit v1.2.3-70-g09d2