neophob / parted-arm-static

Quick hack to build a static parted for arm
Apache License 2.0
4 stars 2 forks source link

Doesn't work... #1

Open runekock opened 8 years ago

runekock commented 8 years ago

I'm entirely new to Docker, so I'm probably doing everything wrong. I run docker on my Debian Linux AMD64 PC.

The docker build command does a lot of compiling, so that seems to work. But the docker run command aborts with: standard_init_linux.go:175: exec user process caused "exec format error" Some googling indicates that I cannot run an ARM image on my PC unless it includes QEMU -- I'm kind of lost by now.

I then used docker save to get the files from the image, and found a parted executable. But when I try running it on my Android phone, it just says "not found".

Did you manage to build a working executable? Maybe you can share that?

QiweiWen commented 6 years ago

Not only does the VM not work, the binaries aren't really statically built either. I repeated the steps on an ARM board running native Ubuntu and the elf file looks like this 0x00000001 (NEEDED) Shared library: [libuuid.so.1] 0x00000001 (NEEDED) Shared library: [libc.so.6] 0x00000001 (NEEDED) Shared library: [ld-linux-armhf.so.3]