Simplify Debian sources to main component only
Some checks failed
Build bootupd with systemd-boot / build (push) Failing after 7s

- Remove contrib and non-free components from apt sources
- Only use main component for Rust toolchain build
- Reduces package list size and build time
- contrib/non-free not needed for standard Rust build
This commit is contained in:
robojerk 2025-09-05 10:23:49 -07:00
parent edff7e388d
commit dea909f520

View file

@ -73,12 +73,12 @@ jobs:
if timeout 5 curl -s --connect-timeout 3 \
http://192.168.1.101:3142/acng-report.html > /dev/null 2>&1; then
echo '✅ Using apt-cacher-ng for package downloads...'
echo "deb http://192.168.1.101:3142/ftp.debian.org/debian unstable main contrib non-free" > /etc/apt/sources.list
echo "deb-src http://192.168.1.101:3142/ftp.debian.org/debian unstable main contrib non-free" >> /etc/apt/sources.list
echo "deb http://192.168.1.101:3142/ftp.debian.org/debian unstable main" > /etc/apt/sources.list
echo "deb-src http://192.168.1.101:3142/ftp.debian.org/debian unstable main" >> /etc/apt/sources.list
else
echo '⚠️ Using standard Debian mirrors...'
echo "deb http://deb.debian.org/debian unstable main contrib non-free" > /etc/apt/sources.list
echo "deb-src http://deb.debian.org/debian unstable main contrib non-free" >> /etc/apt/sources.list
echo "deb http://deb.debian.org/debian unstable main" > /etc/apt/sources.list
echo "deb-src http://deb.debian.org/debian unstable main" >> /etc/apt/sources.list
fi
# Update package lists