ppc64le (+ ppcle) magic is missing in debian/binfmt-update-in
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qemu (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
1. binfmt-update-in doesn't have definition for ppc64le_
I temporarily created one using hexdump output:
hexdump -C /bin/bash | head -n 2
00000000 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 |.ELF............|
00000010 02 00 15 00 01 00 00 00 70 14 02 10 00 00 00 00 |........p.......|
hexdump -C /bin/sh | head -n 2
00000000 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 |.ELF............|
00000010 03 00 15 00 01 00 00 00 ac 4e 00 00 00 00 00 00 |.........N......|
2. I added a small patch of 32-bit usermode "qemu-ppcle" (being subarch of ppc64le)
I am in the porting powerpcel (32bit ppc LE) ubuntu 14.04, and
got successfully chroot with this qemu-ppcle patch and it looks very promising (i.e.
build perl looks ok)
3. I am attaching patch for above two. You can ignore/reject if necessary.
Thanks.
The attachment "patch for ppc64le magic + qemu-ppcle" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]