diff options
author | Ryan Finnie <ryan@finnie.org> | 2020-05-30 14:11:45 -0700 |
---|---|---|
committer | Ryan Finnie <ryan@finnie.org> | 2020-05-30 14:11:45 -0700 |
commit | 13cf0e9ebe30a5af217ef5c64c550b64a92bcaf9 (patch) | |
tree | eddb5e869f532749f258485d77edcd08e20b2d81 | |
parent | 263f84fe801f1664150673158495f26c9ce5ab32 (diff) | |
download | vyos-live-build-13cf0e9ebe30a5af217ef5c64c550b64a92bcaf9.tar.gz vyos-live-build-13cf0e9ebe30a5af217ef5c64c550b64a92bcaf9.zip |
Add initial ppc64el support
Note that this does not include grub-ieee1275 support so the images will
not be bootable, but it's a first step and produces ISOs without error.
-rwxr-xr-x | functions/configuration.sh | 4 | ||||
-rwxr-xr-x | scripts/build/binary_linux-image | 2 | ||||
-rwxr-xr-x | scripts/build/binary_rootfs | 2 |
3 files changed, 6 insertions, 2 deletions
diff --git a/functions/configuration.sh b/functions/configuration.sh index b74ea0e50..7c9e1e9e1 100755 --- a/functions/configuration.sh +++ b/functions/configuration.sh @@ -236,6 +236,10 @@ Prepare_config () LB_LINUX_FLAVOURS_WITH_ARCH="${LB_LINUX_FLAVOURS_WITH_ARCH:-powerpc64 powerpc}" ;; + ppc64el) + LB_LINUX_FLAVOURS_WITH_ARCH="${LB_LINUX_FLAVOURS_WITH_ARCH:-powerpc64le}" + ;; + s390x) LB_LINUX_FLAVOURS_WITH_ARCH="${LB_LINUX_FLAVOURS_WITH_ARCH:-s390x}" ;; diff --git a/scripts/build/binary_linux-image b/scripts/build/binary_linux-image index 503ac94c6..4f3bb7715 100755 --- a/scripts/build/binary_linux-image +++ b/scripts/build/binary_linux-image @@ -48,7 +48,7 @@ case "${LB_INITRAMFS}" in esac case "${LB_ARCHITECTURE}" in - powerpc) + powerpc|ppc64el) LINUX="vmlinux" ;; diff --git a/scripts/build/binary_rootfs b/scripts/build/binary_rootfs index 02941e11b..a81c21fd5 100755 --- a/scripts/build/binary_rootfs +++ b/scripts/build/binary_rootfs @@ -37,7 +37,7 @@ case "${LB_ARCHITECTURE}" in LINUX="vmlinuz" ;; - powerpc) + powerpc|ppc64el) LINUX="vmlinux" ;; esac |