tokland / arch-bootstrap

Bootstrap a base Arch Linux system
312 stars 89 forks source link

Errors when bootstrapping aarch64 or armv7h #36

Closed corbinlc closed 6 years ago

corbinlc commented 6 years ago

-a x86_64 is working, but -a aarch64 or -a armv7h get a ways into it but then give this error...

--- install packages: acl archlinux-keyring attr bzip2 curl expat glibc gpgme libarchive libassuan libgpg-error libnghttp2 libssh2 lzo openssl pacman pacman-mirrorlist xz zlib krb5 e2fsprogs keyutils libidn2 libunistring gcc-libs lz4 libpsl icu libunistring zstd filesystem coreutils bash grep gawk file tar systemd sed
chroot: failed to run command '/usr/bin/pacman': No such file or directory
corbinlc commented 6 years ago

I am starting from an ubuntu host.

corbinlc commented 6 years ago

I see that /usr/bin/pacman has been created, but probably some library it is dependent on or something like that is missing.

corbinlc commented 6 years ago

Same issue if doing it within an arch host. Same issue if -r mirrolocation is also specified. Something must not be getting included in the base image that is needed

corbinlc commented 6 years ago

needed to add -q