64 | | sudo debootstrap --arch=arm64 --foreign $distro $target |
65 | | # copy qemu-arm-static binary for the binfmt packages to find it and copy in resolv.conf from host |
66 | | sudo cp /usr/bin/qemu-aarch64-static $target/usr/bin |
67 | | }}} |
68 | | * See http://ports.ubuntu.com/ubuntu-ports/dists/ for a list of current Ubuntu releases: 16.10=yakkety (latest), 16.04=xenial (latest LTS), 15.04=vivid, 14.10=utopic (LTS), 14.04=trusty (LTS), 12.04=precise (LTS), 10.04=lucid (LTS). |
69 | | * this minimal rootfs can be considered about the same as an Ubuntu-core downloaded rootfs however it is still missing some core packages and configuration before it can be booted. These steps are taken care of in a 2nd stage install within a chroot shell |
| 62 | arch=arm64 |
| 63 | target=${distro}-${arch} |
| 64 | qemu_arch=aarch64 |
| 65 | sudo debootstrap --arch=$qemu_arch --foreign $distro $target |
| 66 | # copy qemu binary for the binfmt packages to find it and copy in resolv.conf from host |
| 67 | sudo cp /usr/bin/qemu-${qemu_arch}-static $target/usr/bin |
| 68 | }}} |
| 69 | * See http://ports.ubuntu.com/ubuntu-ports/dists/ for a list of current Ubuntu releases: 18.04=bionic (latest LTS), 16.04=xenial |
| 70 | * this minimal rootfs is still missing some core packages and configuration before it can be booted. These steps are taken care of in a 2nd stage install within a chroot shell |