Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debian-Gnu name lookup issue for ppc64el #113

Merged
merged 1 commit into from
Dec 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion rootfs/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARCHS = amd64 arm64 s390x
ARCHS = amd64 arm64 s390x ppc64el
DISTROS = bullseye

.PHONY: all
Expand Down
3 changes: 3 additions & 0 deletions rootfs/mkrootfs_debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ function qemu_static() {
# Given a Debian architecture find the location of the matching
# qemu-${gnu_arch}-static binary.
gnu_arch=$(debian_to_gnu "${1}")
if [ "$deb_arch" == "ppc64el" ]; then
gnu_arch="ppc64le"
fi
echo "qemu-${gnu_arch}-static"
}

Expand Down
Loading