pikvm / pikvm

Open and inexpensive DIY IP-KVM based on Raspberry Pi
https://pikvm.org
GNU General Public License v3.0
8.16k stars 452 forks source link

(linux/arm/v7) and no specific platform was requested #511

Closed TelDragon closed 3 years ago

TelDragon commented 3 years ago

Errot

(venv) root@orangepizero:/etc/kvmd# make testenv
docker build \
                 \
                --rm \
                --tag kvmd-testenv \
                --build-arg LIBGPIOD_VERSION=1.5.2 \
                --build-arg USTREAMER_MIN_VERSION=1.19 \
        -f testenv/Dockerfile .
Sending build context to Docker daemon   2.88MB
Step 1/19 : FROM archlinux/base
 ---> a79c9d41e4ac
Step 2/19 : RUN echo "Server = http://mirror.yandex.ru/archlinux/\$repo/os/\$arch" > /etc/pacman.d/mirrorlist
 ---> [Warning] The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm/v7) and no specific platform was requested
 ---> Running in 10abf149e73c
standard_init_linux.go:219: exec user process caused: exec format error
The command '/bin/sh -c echo "Server = http://mirror.yandex.ru/archlinux/\$repo/os/\$arch" > /etc/pacman.d/mirrorlist' returned a non-zero code: 1
make: *** [Makefile:48: testenv] Error 1

OS info

(venv) root@orangepizero:/etc/kvmd# uname -a
Linux orangepizero 5.9.14-sunxi pikvm/kvmd#20.11.3 SMP Fri Dec 11 20:31:12 CET 2020 armv7l GNU/Linux

Do you have installation and deployment documents here? It is not a targeted system OS package, nor is it the operation of docker.

For example, what development libraries and services do we need when deploying this environment? apt install -y *xx-dev ..... For example, which libraries do you use to run your python3 project? pip install -r ..xxx.txt

The structure of this project? kvmd (/etc/kvmd) ustreamer (/etc/ustreamer)

And start the service systemctl start kvmd ?? systemctl start ustreamer ??

mdevaev commented 3 years ago

You won't be able to build an image on ARM, you need x86_64.

As for the documentation about the deployment, it's not exists. There are build scripts that you can look at and PKGBUILDs of all packages. Sorry for this, I'm doing software alone and I don't have time to write documentation on many things that most users don't need.

If you need to run pikvm on a non-RPi system, then one of the users is just porting to other ARM boards. Just wait for it to finish.

TelDragon commented 3 years ago

@mdevaev Thank you very much for your reply I am looking forward to the results and experience of another user