Skip to content

Commit

Permalink
Merge pull request #136 from yegorich/apt-trusted-key-fix
Browse files Browse the repository at this point in the history
CI: fix trusted key usage
  • Loading branch information
yegorich committed Sep 13, 2023
2 parents 87965d2 + aed527d commit f0594cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/apt_cache.bats
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ setup() {
@test "apt-get fetches package list" {
check_apt_support
freight_cache -v
echo "deb file://${FREIGHT_CACHE} example main" > "${TMPDIR}"/apt/etc/apt/sources.list
echo "deb [signed-by=${TMPDIR}/apt/etc/apt/trusted.gpg] file://${FREIGHT_CACHE} example main" > "${TMPDIR}"/apt/etc/apt/sources.list
apt-get -c "${FIXTURES}"/apt.conf update
apt-cache -c "${FIXTURES}"/apt.conf show test
}
Expand Down
2 changes: 1 addition & 1 deletion test/apt_cache_source.bats
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ setup() {
freight_add "${FIXTURES}"/source_1.0.orig.tar.gz apt/example
freight_cache

echo "deb-src file://${FREIGHT_CACHE} example main" > "${TMPDIR}"/apt/etc/apt/sources.list
echo "deb-src [signed-by=${TMPDIR}/apt/etc/apt/trusted.gpg] file://${FREIGHT_CACHE} example main" > "${TMPDIR}"/apt/etc/apt/sources.list
apt-get -c "${FIXTURES}"/apt.conf update
apt-cache -c "${FIXTURES}"/apt.conf showsrc source | grep "Package: source"
}

0 comments on commit f0594cc

Please sign in to comment.