diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-28 16:19:38 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-28 16:19:38 -0700 |
commit | 2301b65b86df8b80e6779ce9885ad62a5c4adc38 (patch) | |
tree | d61f1b25629e08ee40d1ddec629d7caa67eb7c44 /scripts/package/builddeb | |
parent | e596c79050eafea89cf9fe26b7a807643a2a9904 (diff) | |
parent | c2d5a7300da667d090c8fe79f05404c9fb205b12 (diff) | |
download | op-kernel-dev-2301b65b86df8b80e6779ce9885ad62a5c4adc38.zip op-kernel-dev-2301b65b86df8b80e6779ce9885ad62a5c4adc38.tar.gz |
Merge branch 'packaging' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild-2.6
* 'packaging' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild-2.6:
scripts/package: don't break if %{_smp_mflags} isn't set
kbuild, deb-pkg: Check if KBUILD_IMAGE exists before copying it
Diffstat (limited to 'scripts/package/builddeb')
-rw-r--r-- | scripts/package/builddeb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/package/builddeb b/scripts/package/builddeb index 5f1e2fc..49b74e1 100644 --- a/scripts/package/builddeb +++ b/scripts/package/builddeb @@ -66,7 +66,9 @@ else cp System.map "$tmpdir/boot/System.map-$version" cp .config "$tmpdir/boot/config-$version" # Not all arches include the boot path in KBUILD_IMAGE - if ! cp $KBUILD_IMAGE "$tmpdir/boot/vmlinuz-$version"; then + if [ -e $KBUILD_IMAGE ]; then + cp $KBUILD_IMAGE "$tmpdir/boot/vmlinuz-$version" + else cp arch/$ARCH/boot/$KBUILD_IMAGE "$tmpdir/boot/vmlinuz-$version" fi fi |