mirror of
https://github.com/brain-hackers/buildbrain
synced 2025-10-15 12:48:39 +09:00
Enable APT cache / describe how to debootstrap
This commit is contained in:
8
Makefile
8
Makefile
@@ -78,7 +78,13 @@ debian:
|
||||
exit 1; \
|
||||
fi
|
||||
mkdir debian
|
||||
sudo debootstrap --arch=armel --foreign buster debian/
|
||||
sudo debootstrap --arch=armel --foreign buster debian/ http://localhost:65432/debian/
|
||||
sudo cp /usr/bin/qemu-arm-static debian/usr/bin/
|
||||
sudo cp ./tools/setup_debian.sh debian/
|
||||
sudo chroot debian /setup_debian.sh
|
||||
|
||||
.PHONY:
|
||||
aptcache:
|
||||
./tools/aptcache_linux_amd64 \
|
||||
-rule 'local=localhost:65432, remote=ftp.jaist.ac.jp' \
|
||||
-rule 'local=localhost:65433, remote=security.debian.org'
|
||||
|
Reference in New Issue
Block a user