zyga Posted March 20, 2020 Posted March 20, 2020 Hi. I trying to build image for orange pi3. I have fresh Ubuntu, "19.10 (Eoan Ermine)" sources 20.05.0-trunk and I got error: ... [ o.k. ] Extracting focal-desktop-arm64.f64...4db.tar.lz4 [ 0 days old ] [ .... ] focal-desktop-arm64.f64...4db.tar.lz4: 932MiB [44.8MiB/s] [======================================================================================================>] 100% [ o.k. ] Adding Armbian repository and authentication key [ /etc/apt/sources.list.d/armbian.list ] chroot: failed to run command ‘/bin/bash’: No such file or directory [ o.k. ] Applying distribution specific tweaks for [ focal ] chroot: failed to run command ‘/bin/bash’: No such file or directory [ o.k. ] Applying common tweaks chroot: failed to run command ‘/bin/bash’: No such file or directory chroot: failed to run command ‘/bin/bash’: No such file or directory chroot: failed to run command ‘/bin/bash’: No such file or directory chroot: failed to run command ‘/bin/bash’: No such file or directory [ .... ] Installing [ linux-image-current-sunxi64_20.05.0-trunk_arm64.deb ] [ .... ] Installing [ linux-u-boot-current-orangepi3_20.05.0-trunk_arm64.deb ] [ .... ] Installing [ armbian-focal-desktop_20.05.0-trunk_all.deb ] chroot: failed to run command ‘/bin/bash’: No such file or directory chroot: failed to run command ‘/bin/bash’: No such file or directory chroot: failed to run command ‘/bin/bash’: No such file or directory [ .... ] Installing [ armbian-config_20.05.0-trunk_all.deb ] [ .... ] Installing [ armbian-firmware_20.05.0-trunk_all.deb ] [ .... ] Installing [ linux-dtb-current-sunxi64_20.05.0-trunk_arm64.deb ] chroot: failed to run command ‘/bin/bash’: No such file or directory chroot: failed to run command ‘/bin/bash’: No such file or directory chroot: failed to run command ‘/bin/bash’: No such file or directory chroot: failed to run command ‘/bin/bash’: No such file or directory chroot: failed to run command ‘/bin/bash’: No such file or directory chroot: failed to run command ‘/bin/bash’: No such file or directory chroot: failed to run command ‘/bin/bash’: No such file or directory chroot: failed to run command ‘/bin/bash’: No such file or directory chroot: failed to run command ‘/bin/bash’: No such file or directory [ o.k. ] Enabling serial console [ ttyS0 ] cp: cannot stat '/mnt/devel/zyga/build/.tmp/rootfs-current-orangepi3-focal-yes-no/etc/armbian-release': No such file or directory [ .... ] Installing additional packages [ EXTERNAL_NEW ] chroot: failed to run command ‘/bin/bash’: No such file or directory [ o.k. ] Calling image customization script [ customize-image.sh ] chroot: failed to run command ‘/bin/bash’: No such file or directory [ error ] ERROR in function customize_image [ image-helpers.sh:117 ] [ error ] customize-image.sh exited with error (rc: 127) [ o.k. ] Process terminated [ o.k. ] Unmounting [ /mnt/devel/zyga/build/.tmp/rootfs-current-orangepi3-focal-yes-no/ ] [ error ] ERROR in function unmount_on_exit [ image-helpers.sh:66 ] [ error ] debootstrap-ng was interrupted [ o.k. ] Process terminated compilation.log install.log output.log
Igor Posted March 20, 2020 Posted March 20, 2020 25 minutes ago, zyga said: I have fresh Ubuntu, "19.10 (Eoan Ermine)" Not supported host OS. Use either 18.04 or 20.04 ... but its possible that it will also work here. Perhaps start from scratch once again. If it won't work, user docker or supported hosts OS. We will not fix scripts for 19.10 ...
zyga Posted March 20, 2020 Author Posted March 20, 2020 Ehhh, OK. That was my first Ubuntu installation (2 times in row - installer is broken) . Ubuntu is terrible. I'm Fedora user. I will try with 18.04 Thanks.
chwe Posted March 21, 2020 Posted March 21, 2020 on arm worls there's no installer for your os.. neither on fedora nor on ubuntu.. but stick to whatever fits to you bet.
Igor Posted March 21, 2020 Posted March 21, 2020 13 hours ago, zyga said: I'm Fedora user. You should be able to build on Fedora by using Docker (you should take care of Docker install by hand prior to using build engine). I don't use Fedora, so this is not first hand information, but others do: https://github.com/armbian/build/issues/1847
Recommended Posts