Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -143,28 +143,30 @@ bundle agent signing_keys
bundle agent apt_config
{
classes:
!(ubuntu_10|debian_6)::
!(ubuntu_10|debian_6|ubuntu_24)::
"apt_config_ok" expression => "any",
scope => "namespace";

files:
ubuntu_24::
"/etc/apt/apt.conf.d/accept-older-pubkeys"
comment => "key in 17_packages/resources/gpg use rsa1024 which is not supported on Ubuntu-24.",
create => "true",
content => 'APT::Key::Assert-Pubkey-Algo ">=rsa1024";',
edit_defaults => empty,
classes => if_successful("apt_config_ok");

ubuntu_10|debian_6::
# Work around bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=715494
# Apt cache does not behave correctly if installing more than one package
# per second.
"/etc/apt/apt.conf.d/nocache"
create => "true",
edit_line => no_apt_cache,
content => 'Dir::Cache::pkgcache "";',
edit_defaults => empty,
classes => if_successful("apt_config_ok");
}

bundle edit_line no_apt_cache
{
insert_lines:
'Dir::Cache::pkgcache "";';
}

bundle agent dpkg_multiarch
{
vars:
Expand Down