summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-04-16 15:26:55 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-04-16 15:26:55 (EDT)
commit9512545330a85ac41cf1b71c39ae0b27103d498c (patch)
treeb514bac2989dd38170568edbaf280f51b3a2a6bc /src
parentbd88a07a34531c646dd4299614f5905b9f6e041f (diff)
profile_get_cert_path(), profile_get_root_key(): New functions
Diffstat (limited to 'src')
-rw-r--r--src/profile.sh10
-rw-r--r--src/profile/proteanos.sh14
2 files changed, 24 insertions, 0 deletions
diff --git a/src/profile.sh b/src/profile.sh
index 05a25fe..adf3c86 100644
--- a/src/profile.sh
+++ b/src/profile.sh
@@ -111,6 +111,16 @@ profile_feeds()
"prof_${profile}_feeds" "${mirror}" "${arch}" "${plat}" "${suite}"
}
+profile_get_cert_path()
+{
+ "prof_${profile}_get_cert_path"
+}
+
+profile_get_root_key()
+{
+ "prof_${profile}_get_root_key"
+}
+
profile_dep_fields()
{
"prof_${profile}_dep_fields"
diff --git a/src/profile/proteanos.sh b/src/profile/proteanos.sh
index 67756b8..9f7b620 100644
--- a/src/profile/proteanos.sh
+++ b/src/profile/proteanos.sh
@@ -158,6 +158,20 @@ prof_proteanos_feeds()
done
}
+prof_proteanos_get_cert_path()
+{
+ printf 'archive.cert'
+ return 0
+}
+
+prof_proteanos_get_root_key()
+{
+ cat <<-EOF
+ untrusted comment: ProteanOS archive root key
+ RWSG2r6ZwINj8pcScRd4nc9HVZ9zjP5oajMPfTm+dIk67btIsCZaf3SN
+ EOF
+}
+
prof_proteanos_dep_fields()
{
printf 'Depends Pre-Depends'