[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [Git][tpo/applications/tor-browser-build][maint-16.0] 5 commits: Bug 41910: Update Ubuntu version to 24.04.5



Title: GitLab

boklm pushed to branch maint-16.0 at The Tor Project / Applications / tor-browser-build

Commits:

  • 907bb5e5
    by Nicolas Vigier at 2026-11-16T15:00:39+01:00
    Bug 41910: Update Ubuntu version to 24.04.5
    
    Updated checksum taken from:
     https://cdimage.ubuntu.com/ubuntu-base/releases/24.04.5/release/SHA256SUMS
     https://cdimage.ubuntu.com/ubuntu-base/releases/24.04.5/release/SHA256SUMS.gpg
    
  • 7e94ecaf
    by Nicolas Vigier at 2026-11-16T15:00:45+01:00
    Bug 41910: Install updated apt packages before using it
    
    apt has an update to fix some critical vulnerability:
    https://lists.debian.org/deity/2026/11/msg00005.html
    
    Since Ubuntu images containing the fix are not yet available, we
    download and install updated apt packages before using it.
    
  • 1099d56a
    by Nicolas Vigier at 2026-11-16T15:00:54+01:00
    Bug 41910: Update minimal apt version check in debian images
    
    There is no apt update for stretch. However, according to:
    
      https://lists.debian.org/deity/2026/11/msg00005.html
    
    it should not be affected by the most critical issue, since we're not
    setting Acquire::Retries:
    
      This relies on the Acquire::Retries setting being set, which has
      only been the default since APT 2.3.2 - but many user scripts may
      have been using it in older releases.
    
  • bc92c344
    by Nicolas Vigier at 2026-11-16T15:01:01+01:00
    Bug 41910: Use apt https mirror for stretch
    
  • 614193ca
    by Nicolas Vigier at 2026-11-16T15:01:11+01:00
    Bug 41910: Update version in projects/mmdebstrap-image for apt update
    
    This change will cause all containers to be rebuilt, except for
    stretch-based containers.
    
    To save space `make clean` can be run to remove all unused files from
    `out/`. Alternatively it's possible to remove the directories
    `out/container-image` and `out/mmdebstrap-image` before starting a new
    build.
    

1 changed file:

Changes:

  • projects/mmdebstrap-image/config
    1 1
     # vim: filetype=yaml sw=2
    
    2 2
     filename: 'container-image_[% c("var/container/suite") %]-[% c("var/container/arch") %]-[% c("version") %].tar.[% c("compress_tar") %]'
    
    3
    -version: 1
    
    3
    +version: 2
    
    4 4
     pkg_type: build
    
    5 5
     compress_tar: zst
    
    6 6
     container:
    
    7 7
       use_container: 1
    
    8 8
     
    
    9 9
     var:
    
    10
    -  ubuntu_version: 24.04.3
    
    10
    +  ubuntu_version: 24.04.5
    
    11 11
     
    
    12 12
     pre: |
    
    13 13
       #!/bin/sh
    
    14 14
       set -e
    
    15 15
       rootdir=$(pwd)
    
    16 16
       export DEBIAN_FRONTEND=noninteractive
    
    17
    +
    
    18
    +  # Install critical apt security update before using it:
    
    19
    +  # https://lists.debian.org/deity/2026/11/msg00005.html
    
    20
    +  # We can remove this when a new Ubuntu image containing the fixed
    
    21
    +  # package is available
    
    22
    +  dpkg -i libapt-pkg6.0t64_2.8.4ubuntu0.1_amd64.deb apt_2.8.4ubuntu0.1_amd64.deb
    
    23
    +
    
    17 24
       apt-get update -y -q
    
    18 25
       apt-get install -y -q debian-archive-keyring ubuntu-keyring mmdebstrap gnupg zstd
    
    19 26
     
    
    ... ... @@ -38,20 +45,21 @@ targets:
    38 45
           container:
    
    39 46
             suite: stretch
    
    40 47
             arch: amd64
    
    48
    +        mmdebstrap_opt: --include=apt-transport-https,ca-certificates
    
    41 49
             debian_mirror: >
    
    42
    -          "deb [signed-by=/usr/share/keyrings/debian-archive-keyring.gpg] http://archive.debian.org/debian-archive/debian/ stretch main"
    
    43
    -          "deb [signed-by=/usr/share/keyrings/debian-archive-keyring.gpg] http://archive.debian.org/debian-archive/debian-security/ stretch/updates main"
    
    50
    +          "deb [signed-by=/usr/share/keyrings/debian-archive-keyring.gpg] https://archive.debian.org/debian-archive/debian/ stretch main"
    
    51
    +          "deb [signed-by=/usr/share/keyrings/debian-archive-keyring.gpg] https://archive.debian.org/debian-archive/debian-security/ stretch/updates main"
    
    44 52
     
    
    45 53
       bookworm-amd64:
    
    46 54
         var:
    
    47
    -      minimal_apt_version: 2.6.1
    
    55
    +      minimal_apt_version: 2.6.2
    
    48 56
           container:
    
    49 57
             suite: bookworm
    
    50 58
             arch: amd64
    
    51 59
     
    
    52 60
       trixie-amd64:
    
    53 61
         var:
    
    54
    -      minimal_apt_version: 3.0.3
    
    62
    +      minimal_apt_version: 3.0.4
    
    55 63
           container:
    
    56 64
             suite: trixie
    
    57 65
             arch: amd64
    
    ... ... @@ -61,4 +69,10 @@ input_files:
    61 69
         name: mmdebstrap
    
    62 70
       - URL: 'https://cdimage.ubuntu.com/ubuntu-base/releases/[% c("var/ubuntu_version") %]/release/ubuntu-base-[% c("var/ubuntu_version") %]-base-amd64.tar.gz'
    
    63 71
         filename: 'container-image_ubuntu-base-[% c("var/ubuntu_version") %]-base-amd64.tar.gz'
    
    64
    -    sha256sum: 6bc2cde3930ad088b3bb46fa45279e96d25bc3810f209850ecbe4722711874f9
    72
    +    sha256sum: e77b6f10c2590cef872b33ee9f635a0e3fd1f57fb074c0e52b5c7f56147a0c86
    
    73
    +    # https://packages.ubuntu.com/noble/amd64/apt/download
    
    74
    +  - URL: http://security.ubuntu.com/ubuntu/pool/main/a/apt/apt_2.8.4ubuntu0.1_amd64.deb
    
    75
    +    sha256sum: ad2ea7f107f250ba88b0bfdba31812a341e3247589647aa2b03b9dc4e8abf8ed
    
    76
    +    # https://packages.ubuntu.com/noble/libapt-pkg6.0t64
    
    77
    +  - URL: http://security.ubuntu.com/ubuntu/pool/main/a/apt/libapt-pkg6.0t64_2.8.4ubuntu0.1_amd64.deb
    
    78
    +    sha256sum: a50f3e68a793f90b05f44a4b5f2f59f3ec7687e39b5d8bbd1da44c84671fa3d6

  • _______________________________________________
    tor-commits mailing list -- tor-commits@xxxxxxxxxxxxxxxxxxxx
    To unsubscribe send an email to tor-commits-leave@xxxxxxxxxxxxxxxxxxxx