Сравнение версий

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.

...

  • установить инструмент debootstrap и QEMU, выполнив команду:
    Command

    sudo apt install debootstrap qemu-user-static

  • подготовить окружение chroot, выполнив команды:
    Command

    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"

  • добавить нужные репозитории в файл /opt/build-environments/astralinux-4.7/etc/apt/sources.list;
    Блок кода
    deb http://download.astralinux.ru/astra/stable/4.7_arm/repository-base 4.7_arm main contrib non-free
    deb https://download.astralinux.ru/astra/stable/4.7_arm/repository-extended/ 4.7_arm main contrib non-free

...

  • установить инструмент debootstrap и QEMU, выполнив команду:
    Command

    sudo apt install debootstrap qemu-user-static

  • подготовить окружение chroot, выполнив команды:
    Command

    NDK_DIR=/opt/build-environments/astralinux-1.7
    REPO_URL=http://download.astralinux.ru/astra/stable/1.7_x86-64/repository-base/
    sudo debootstrap --arch=amd64 --foreign --components=main,contrib,non-free 1.7_x86-64 "${NDK_DIR}" "${REPO_URL}"
    echo "export LC_ALL=C" | sudo tee -a "${NDK_DIR}/root/.bashrc"

  • добавить нужные репозитории в файл /opt/build-environments/astralinux-1.7/etc/apt/sources.list;
    Блок кода
    deb http://download.astralinux.ru/astra/stable/1.7_x86-64/repository-base 1.7_x86-64 main contrib non-free
    deb https://download.astralinux.ru/astra/stable/1.7_x86-64/repository-extended/ 1.7_x86-64 main contrib non-free

...