NDK_DIR=/opt/build-environments/astralinux-4.7
REPO_URL=http://download.astralinux.ru/astra/stable/4.7_arm/repository-base/
sudo debootstrap --arch=arm64 --foreign --components=main,contrib,non-free 4.7_arm "${NDK_DIR}" "${REPO_URL}"
sudo cp -av /usr/bin/qemu-aarch64-static "${NDK_DIR}/usr/bin/"
echo "export LC_ALL=C" | sudo tee -a "${NDK_DIR}/root/.bashrc"
|