diff --git a/docs/howto/how-to-cross-build-runtime-for-arm.md b/docs/howto/how-to-cross-build-runtime-for-arm.md index aebe96a7c3e..df1436b7b11 100644 --- a/docs/howto/how-to-cross-build-runtime-for-arm.md +++ b/docs/howto/how-to-cross-build-runtime-for-arm.md @@ -5,7 +5,7 @@ Install required packages ``` -$ sudo apt-get install qemu qemu-user-static binfmt-support debootstrap +$ sudo apt-get install qemu-user-static binfmt-support debootstrap ``` Use `install_rootfs.sh` script to prepare Root File System. You should have `sudo` diff --git a/tools/cross/install_rootfs.sh b/tools/cross/install_rootfs.sh index 766247b9cc0..c45e45d3c0a 100755 --- a/tools/cross/install_rootfs.sh +++ b/tools/cross/install_rootfs.sh @@ -102,7 +102,7 @@ if [ $__IsProxySet == 1 ]; then fi if [[ -n $__LinuxCodeName ]]; then - qemu-debootstrap --arch $__QemuArch $__LinuxCodeName $__RootfsDir $__UbuntuRepo + debootstrap --arch $__QemuArch $__LinuxCodeName $__RootfsDir $__UbuntuRepo cp $__CrossDir/$__BuildArch/sources.list.$__LinuxCodeName $__RootfsDir/etc/apt/sources.list chroot $__RootfsDir apt-get update chroot $__RootfsDir apt-get -f -y install