Skip to content

Commit f614049

Browse files
committed
fix(debos/rootfs): Add missing trixie suites
Add missing trixie-updates and trixie-security suites as these aren't created by debootstrap by default. Signed-off-by: Loïc Minier <[email protected]>
1 parent 4073c53 commit f614049

File tree

1 file changed

+23
-3
lines changed

1 file changed

+23
-3
lines changed

debos-recipes/qualcomm-linux-debian-rootfs.yaml

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,32 @@ actions:
4444
{{- end }}
4545

4646
- action: run
47-
description: Modernize APT sources
47+
description: Complete APT sources
4848
chroot: true
4949
command: |
5050
set -eux
51-
apt -y modernize-sources
52-
rm -v /etc/apt/sources.list.bak
51+
rm -vf /etc/apt/sources.list
52+
cat >/etc/apt/sources.list.d/debian.sources <<EOF
53+
Types: deb
54+
URIs: http://deb.debian.org/debian/
55+
Suites: trixie
56+
Components: main contrib non-free non-free-firmware
57+
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
58+
59+
Types: deb
60+
URIs: http://deb.debian.org/debian/
61+
Suites: trixie-updates
62+
Components: main contrib non-free non-free-firmware
63+
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
64+
65+
Types: deb
66+
URIs: http://deb.debian.org/debian-security/
67+
Suites: trixie-security
68+
Components: main contrib non-free non-free-firmware
69+
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
70+
EOF
71+
apt -y update
72+
apt -y full-upgrade
5373
5474
{{- if .overlays }}
5575
{{- range $overlay := split "," .overlays }}

0 commit comments

Comments
 (0)