summaryrefslogtreecommitdiff
path: root/apt-pkg/deb
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2023-07-11 13:47:13 +0000
committerJulian Andres Klode <jak@debian.org>2023-07-11 13:47:13 +0000
commit50efb65f339e715e04af114bca44c9b8c53ad3ad (patch)
treef7906cd23ce5be10b7170289b8aafb0fdf9631f1 /apt-pkg/deb
parent9ef79abd2f7942c4c5d789fd29b83f493626e440 (diff)
parentaba813975abb880f8b27d659147f7760c02f99e7 (diff)
Merge branch 'pu/missing-signed-by' into 'main'
update: Add notice about missing Signed-By in deb822 sources See merge request apt-team/apt!298
Diffstat (limited to 'apt-pkg/deb')
-rw-r--r--apt-pkg/deb/debmetaindex.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/apt-pkg/deb/debmetaindex.cc b/apt-pkg/deb/debmetaindex.cc
index ef6bce261..744a5cab7 100644
--- a/apt-pkg/deb/debmetaindex.cc
+++ b/apt-pkg/deb/debmetaindex.cc
@@ -1397,6 +1397,9 @@ class APT_HIDDEN debSLTypeDebian : public pkgSourceList::Type /*{{{*/
Deb->SetSnapshot(GetSnapshotOption(Options, "snapshot")) == false)
return false;
+ if (GetBoolOption(Options, "sourceslist-entry-is-deb822", false))
+ Deb->SetFlag(metaIndex::Flag::DEB822);
+
std::map<std::string, std::string>::const_iterator const signedby = Options.find("signed-by");
if (signedby == Options.end())
{