|
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 |