diff options
Diffstat (limited to 'scripts/package/builddeb')
-rw-r--r-- | scripts/package/builddeb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/package/builddeb b/scripts/package/builddeb index feebd69c2eea..4876ff3154a1 100644 --- a/scripts/package/builddeb +++ b/scripts/package/builddeb | |||
@@ -53,7 +53,10 @@ if [ "$ARCH" = "um" ] ; then | |||
53 | else | 53 | else |
54 | cp System.map "$tmpdir/boot/System.map-$version" | 54 | cp System.map "$tmpdir/boot/System.map-$version" |
55 | cp .config "$tmpdir/boot/config-$version" | 55 | cp .config "$tmpdir/boot/config-$version" |
56 | cp $KBUILD_IMAGE "$tmpdir/boot/vmlinuz-$version" | 56 | # Not all arches include the boot path in KBUILD_IMAGE |
57 | if ! cp $KBUILD_IMAGE "$tmpdir/boot/vmlinuz-$version"; then | ||
58 | cp arch/$ARCH/boot/$KBUILD_IMAGE "$tmpdir/boot/vmlinuz-$version" | ||
59 | fi | ||
57 | fi | 60 | fi |
58 | 61 | ||
59 | if grep -q '^CONFIG_MODULES=y' .config ; then | 62 | if grep -q '^CONFIG_MODULES=y' .config ; then |