Commit a89b433b authored by Frans Pop's avatar Frans Pop Committed by Sam Ravnborg
Browse files

kbuild, deb-pkg: fix 'file not found' error when building .deb package for arm

Not all architectures prepend the $(boot) path in $(KBUILD_IMAGE).
Allow for that fact in the builddeb script. Example is arm.

Signed-off-by: default avatarFrans Pop <>
Acked-by: default avatarmaximilian attems <>
Cc: Andres Salomon <>
Signed-off-by: default avatarSam Ravnborg <>
parent 3e2ab256
......@@ -53,7 +53,10 @@ if [ "$ARCH" = "um" ] ; then
cp "$tmpdir/boot/$version"
cp .config "$tmpdir/boot/config-$version"
cp $KBUILD_IMAGE "$tmpdir/boot/vmlinuz-$version"
# Not all arches include the boot path in KBUILD_IMAGE
if ! cp $KBUILD_IMAGE "$tmpdir/boot/vmlinuz-$version"; then
cp arch/$ARCH/boot/$KBUILD_IMAGE "$tmpdir/boot/vmlinuz-$version"
if grep -q '^CONFIG_MODULES=y' .config ; then
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment