Hi,
Thanks for your reply.
I read more about pacstrap as you mentioned, and if I understood correctly, it is supposed to be a BASH script that when run on an already running Linux system (not sure if it has to be on a host -x86- or target -arm-), will setup an ArchLinuxARM rootfs (not sure if it compiles or downloads binaries).
However, when reading this:
https://wiki.archlinux.org/index.php/In ... ting_Linuxit appears that something else must be done in order for pacstrap to run, which makes me think that my understanding (above) may be incorrect (see further below for my tests)
I also found this:
https://github.com/archlinuxarm/PKGBUILDs/issues/716which is similar to my original post, but does not seem to have any useful answer.
Anyway, I attempted something but it did not work, here's what I did:
$this->bbcode_second_pass_code('', '
[x86-host] $ git clone https://github.com/falconindy/arch-install-scripts.git
[x86-host] $ cd arch-install-scripts/
[x86-host] $ make
[arm-target] # cd /somewhere/arch-install-scripts/
[arm-target] # ./pacstrap -di /somewhere/rootfs
(...snip...)
==> Installing packages to /somewhere/rootfs
./pacstrap: line 369: pacman: command not found
==> ERROR: Failed to install packages to new root
')
NOTE: I had to modify a little bit the pacstrap script because it did not work out of the box on my BusyBox-based shell.1) Where can I get the "pacman" code? is that a script or a binary?
2) Are there any additional steps to setup "pacman"? I believe I have to setup a mirror by editing
/etc/pacman.d/mirrorlist and add a mirror from
http://archlinuxarm.org/about/mirrors as $this->bbcode_second_pass_code('', 'Server = http://fr.mirror.archlinuxarm.org/archlinux/$repo/os/$arch')
would that be correct?
Thanks in advance!