particle-os/02-installer/config/hooks/01-disable-contents.chroot
2025-08-05 04:14:29 +00:00

5 lines
243 B
Bash
Executable file

#!/bin/bash
set -e
echo "Disabling Contents downloads in chroot stage..."
echo "Acquire::IndexTargets::deb::Contents-deb::DefaultEnabled \"false\";" > /etc/apt/apt.conf.d/99-disable-contents
echo "Contents downloads disabled in chroot stage."