packaging: Add packaging support for ppc64le

Fixes:  #74

Signed-off-by: Nitesh Konkar niteshkonkar@in.ibm.com
This commit is contained in:
Nitesh Konkar
2018-07-31 19:58:21 +05:30
parent 90fa9305e0
commit dae14ddefd
5 changed files with 23 additions and 15 deletions

View File

@@ -58,7 +58,7 @@ build_kernel() {
echo "Build default kernel"
out=$(${build_kernel_sh} build 2>&1)
[ -e "${kernel_dir}/arch/$(uname -m)/boot/bzImage" ] || FAIL "bzImage not found"
[ $("${kata_arch_sh}" -d) != "ppc64le" ] && ([ -e "${kernel_dir}/arch/$(uname -m)/boot/bzImage" ] || FAIL "bzImage not found")
[ -e "${kernel_dir}/vmlinux" ] || FAIL "vmlinux not found"
OK