Skip to content

Commit 3b2d067

Browse files
Update build_glide_platform_packages.yml
1 parent e137c3c commit 3b2d067

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

.github/workflows/build_glide_platform_packages.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,14 +290,29 @@ jobs:
290290
+ " [[ -f \"${source_file}\" ]] || continue\n"
291291
+ " sudo sed -i 's|http://archive.debian.org/debian|http://deb.debian.org/debian|g' \"${source_file}\"\n"
292292
+ " sudo sed -i 's|https://archive.debian.org/debian|http://deb.debian.org/debian|g' \"${source_file}\"\n"
293+
+ " grep -q 'archive.debian.org' \"${source_file}\" && sudo rm -f \"${source_file}\" && continue\n"
293294
+ " sudo sed -i '\\|radxa-repo.github.io/bullseye|d' \"${source_file}\"\n"
294295
+ " done\n"
295296
+ " for source_file in /etc/apt/sources.list.d/*.sources; do\n"
296297
+ " [[ -f \"${source_file}\" ]] || continue\n"
297298
+ " sudo sed -i 's|http://archive.debian.org/debian|http://deb.debian.org/debian|g' \"${source_file}\"\n"
298299
+ " sudo sed -i 's|https://archive.debian.org/debian|http://deb.debian.org/debian|g' \"${source_file}\"\n"
300+
+ " grep -q 'archive.debian.org' \"${source_file}\" && sudo rm -f \"${source_file}\" && continue\n"
299301
+ " grep -q 'radxa-repo.github.io/bullseye' \"${source_file}\" && sudo rm -f \"${source_file}\"\n"
300302
+ " done\n"
303+
+ " sudo tee /etc/apt/sources.list.d/openhd-bookworm.sources >/dev/null <<'APT_SOURCES'\n"
304+
+ "Types: deb\n"
305+
+ "URIs: http://deb.debian.org/debian\n"
306+
+ "Suites: bookworm bookworm-updates bookworm-backports\n"
307+
+ "Components: main contrib non-free non-free-firmware\n"
308+
+ "Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg\n"
309+
+ "\n"
310+
+ "Types: deb\n"
311+
+ "URIs: http://security.debian.org/debian-security\n"
312+
+ "Suites: bookworm-security\n"
313+
+ "Components: main contrib non-free non-free-firmware\n"
314+
+ "Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg\n"
315+
+ "APT_SOURCES\n"
301316
+ "}\n"
302317
+ f"{packages_marker}\n"
303318
)

0 commit comments

Comments
 (0)