Changeset 719 for branches


Ignore:
Timestamp:
Dec 25, 2015, 4:20:19 AM (4 years ago)
Author:
ehem
Message:

Rename kernel package everything to include "debwrt"

Make use of make-kpkg's --stem option. This is so other DebWRT packages
can depend upon linux-debwrt-* to insist upon installation of DebWRT's
builds.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/contrib/debian/linux-image/build.sh

    r717 r719  
    202202
    203203# the key command
    204 echo MODULE_LOC=\""${linuxdir}/modules"\" make-kpkg --config config --arch \""${arch}"\" --initrd --append_to_version \""-${device}${EXTRAEXTRAVERSION}"\" --revision \""${revision}"\" --cross-compile \""${archfull}-"\" kernel_image modules_image kernel_headers
    205 if ! yes "" 2>/dev/null | MODULE_LOC="${linuxdir}/modules" make-kpkg --config config --arch "${arch}" --initrd --append_to_version "-${device}${EXTRAEXTRAVERSION}" --revision "${revision}" --cross-compile "${archfull}-" kernel_image modules_image kernel_headers
     204echo MODULE_LOC=\""${linuxdir}/modules"\" make-kpkg --config config --arch \""${arch}"\" --stem linux-debwrt --initrd --append_to_version \""-${device}${EXTRAEXTRAVERSION}"\" --revision \""${revision}"\" --cross-compile \""${archfull}-"\" kernel_image modules_image kernel_headers
     205if ! yes "" 2>/dev/null | MODULE_LOC="${linuxdir}/modules" make-kpkg --config config --arch "${arch}" --stem linux-debwrt --initrd --append_to_version "-${device}${EXTRAEXTRAVERSION}" --revision "${revision}" --cross-compile "${archfull}-" kernel_image modules_image kernel_headers
    206206then
    207207        echo ; echo Kernel build failed\!
     
    211211
    212212# move the packages to the bin directory
    213 packages="${DEBIAN_BUILD_DIR}/linux-image-${revision}${EXTRAEXTRAVERSION}-${device}_${revision}_${arch}.deb"\ "${DEBIAN_BUILD_DIR}/linux-headers-${revision}${EXTRAEXTRAVERSION}-${device}_${revision}_${arch}.deb"
     213packages="${DEBIAN_BUILD_DIR}/linux-debwrt-image-${revision}${EXTRAEXTRAVERSION}-${device}_${revision}_${arch}.deb"\ "${DEBIAN_BUILD_DIR}/linux-debwrt-headers-${revision}${EXTRAEXTRAVERSION}-${device}_${revision}_${arch}.deb"
    214214
    215215if [ -n "${modules}" ]
    216 then    packages="${packages} ""${DEBIAN_BUILD_DIR}/linux-module-"*"-${revision}-${device}${EXTRAEXTRAVERSION}_"*"+${revision}_${arch}.deb"
     216then    packages="${packages} ""${DEBIAN_BUILD_DIR}/linux-debwrt-module-"*"-${revision}-${device}${EXTRAEXTRAVERSION}_"*"+${revision}_${arch}.deb"
    217217fi
    218218
Note: See TracChangeset for help on using the changeset viewer.