mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-19 21:30:10 +01:00
Merge branch 'disable-auto-updates-on-buildserver' into 'master'
buildserver: disable all automatic apt-get updates Closes #437 See merge request fdroid/fdroidserver!603
This commit is contained in:
commit
09281bee25
@ -13,8 +13,11 @@ printf 'APT::Install-Recommends "0";\nAPT::Install-Suggests "0";\n' \
|
|||||||
printf 'APT::Acquire::Retries "20";\n' \
|
printf 'APT::Acquire::Retries "20";\n' \
|
||||||
> /etc/apt/apt.conf.d/99acquire-retries
|
> /etc/apt/apt.conf.d/99acquire-retries
|
||||||
|
|
||||||
printf 'APT::Periodic::Update-Package-Lists "0";\nAPT::Periodic::Unattended-Upgrade "0";\n' \
|
cat <<EOF > /etc/apt/apt.conf.d/99no-auto-updates
|
||||||
> /etc/apt/apt.conf.d/99no-auto-updates
|
APT::Periodic::Enable "0";
|
||||||
|
APT::Periodic::Update-Package-Lists "0";
|
||||||
|
APT::Periodic::Unattended-Upgrade "0";
|
||||||
|
EOF
|
||||||
|
|
||||||
printf 'APT::Get::Assume-Yes "true";\n' \
|
printf 'APT::Get::Assume-Yes "true";\n' \
|
||||||
> /etc/apt/apt.conf.d/99assumeyes
|
> /etc/apt/apt.conf.d/99assumeyes
|
||||||
|
Loading…
Reference in New Issue
Block a user