lkml.org 
[lkml]   [2009]   [Apr]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 2/5] deb-pkg: fix 'file not found' error when building .deb package for arm
    Date
    Not all architectures prepend the $(boot) path in $(KBUILD_IMAGE).
    Allow for that fact in the builddeb script. Example is arm.

    Signed-off-by: Frans Pop <elendil@planet.nl>

    diff --git a/scripts/package/builddeb b/scripts/package/builddeb
    index 462ee45..5b1517d 100644
    --- a/scripts/package/builddeb
    +++ b/scripts/package/builddeb
    @@ -41,7 +41,10 @@ if [ "$ARCH" = "um" ] ; then
    else
    cp System.map "$tmpdir/boot/System.map-$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"
    + fi
    fi

    if grep -q '^CONFIG_MODULES=y' .config ; then

    \
     
     \ /
      Last update: 2009-04-01 21:47    [W:0.020 / U:59.596 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site