mirror of
https://github.com/brain-hackers/buildbrain
synced 2024-12-22 04:00:11 +09:00
Check OS on debootstrap
This commit is contained in:
parent
daf5442439
commit
442c86b48b
4
Makefile
4
Makefile
@ -73,6 +73,10 @@ nk.bin:
|
||||
./nkbin_maker/bsd-ce ./u-boot-brain/u-boot.bin
|
||||
|
||||
debian:
|
||||
@if [ "$(shell uname)" != "Linux" ]; then \
|
||||
echo "Debootstrap is only available in Linux!"; \
|
||||
exit 1; \
|
||||
fi
|
||||
mkdir debian
|
||||
sudo debootstrap --arch=armel --foreign buster debian/
|
||||
sudo cp /usr/bin/qemu-arm-static debian/usr/bin/
|
||||
|
Loading…
Reference in New Issue
Block a user