Skip to contentSkip to conversation

buildtar: Copy vmlinuz for arm64

PATCH In review Major Hayden 2 participants 2 messages Jul 18, 2018 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 buildtar: Copy vmlinuz for arm64

Copy the architecture-specific compressed kernel image to the directory used to make the tar package.

---
 scripts/package/buildtar | 3 +++
 1 file changed, 3 insertions(+)
scripts/package/buildtar +3 -0
index e8cc72a51b32..a87c8cbc1ba3 100755
@@ -80,6 +80,9 @@ case "${ARCH}" in
 	alpha)
 		[ -f "${objtree}/arch/alpha/boot/vmlinux.gz" ] && cp -v -- "${objtree}/arch/alpha/boot/vmlinux.gz" "${tmpdir}/boot/vmlinuz-${KERNELRELEASE}"
 		;;
+	arm64)
+		[ -f "${objtree}/arch/arm64/boot/Image.gz" ] && cp -v -- "${objtree}/arch/arm64/boot/Image.gz" "${tmpdir}/boot/vmlinuz-${KERNELRELEASE}"
+		;;
 	parisc*)
 		[ -f "${KBUILD_IMAGE}" ] && cp -v -- "${KBUILD_IMAGE}" "${tmpdir}/boot/vmlinux-${KERNELRELEASE}"
 		[ -f "${objtree}/lifimage" ] && cp -v -- "${objtree}/lifimage" "${tmpdir}/boot/lifimage-${KERNELRELEASE}"
Signature · 1 line
2.17.1
#1 lore raw

2018-07-19 2:15 GMT+09:00 Major Hayden <[email protected]>:

Quoted 5 lines

Copy the architecture-specific compressed kernel image to the directory used to make the tar package.

---

Thanks for the patch,
but I applied Olof's one, which copy more files.

https://patchwork.kernel.org/patch/10523811/

Quoted 24 lines
 scripts/package/buildtar | 3 +++
 1 file changed, 3 insertions(+)
scripts/package/buildtar +3 -1
index e8cc72a51b32..a87c8cbc1ba3 100755
@@ -80,6 +80,9 @@ case "${ARCH}" in
        alpha)
                [ -f "${objtree}/arch/alpha/boot/vmlinux.gz" ] && cp -v -- "${objtree}/arch/alpha/boot/vmlinux.gz" "${tmpdir}/boot/vmlinuz-${KERNELRELEASE}"
                ;;
+       arm64)
+               [ -f "${objtree}/arch/arm64/boot/Image.gz" ] && cp -v -- "${objtree}/arch/arm64/boot/Image.gz" "${tmpdir}/boot/vmlinuz-${KERNELRELEASE}"
+               ;;
        parisc*)
                [ -f "${KBUILD_IMAGE}" ] && cp -v -- "${KBUILD_IMAGE}" "${tmpdir}/boot/vmlinux-${KERNELRELEASE}"
                [ -f "${objtree}/lifimage" ] && cp -v -- "${objtree}/lifimage" "${tmpdir}/boot/lifimage-${KERNELRELEASE}"
--

2.17.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 2 lines
Best Regards
Masahiro Yamada