Skip to content

Commit

Permalink
scripts: package: buiddeb install vmlinuz for mips
Browse files Browse the repository at this point in the history
MIPS Loongson supports compressed kernel images.

Signed-off-by: Mingcong Bai <[email protected]>
  • Loading branch information
MingcongBai committed Jan 14, 2025
1 parent 56ca70f commit 6717a75
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions scripts/package/builddeb
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,18 @@ install_linux_image () {
case "${SRCARCH}" in
um)
installed_image_path="usr/bin/linux-${KERNELRELEASE}";;
parisc|mips|powerpc)
parisc|powerpc)
installed_image_path="boot/vmlinux-${KERNELRELEASE}";;
*)
installed_image_path="boot/vmlinuz-${KERNELRELEASE}";;
esac
cp "$(${MAKE} -s -f ${srctree}/Makefile image_name)" "${pdir}/${installed_image_path}"

case "${SRCARCH}" in
mips)
cp vmlinuz "${pdir}/${installed_image_path}";;
*)
cp "$(${MAKE} -s -f ${srctree}/Makefile image_name)" "${pdir}/${installed_image_path}";;
esac

# UEFI Secure Boot CA paths.
deepin_uefi_ca="${srctree}/scripts/package/UEFI-CA-CERT/DEEPIN-UEFI-RSA.pem"
Expand Down

0 comments on commit 6717a75

Please sign in to comment.