Changeset 319 for trunk


Ignore:
Timestamp:
Nov 13, 2011, 7:40:04 PM (9 years ago)
Author:
amain
Message:

fix bug #174: debwrt-kernel-headers version numbering

Location:
trunk/debian/package/debwrt-kernel-headers
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/debian/package/debwrt-kernel-headers/build.mk

    r199 r319  
    1616# along with this program.  If not, see <http://www.gnu.org/licenses/>.
    1717
    18 DEBWRT_KERNEL_HEADERS_VERSION:=2.6.36.2
     18#DEBWRT_KERNEL_HEADERS_VERSION:=2.6.39.2
    1919
    2020DEBWRT_PKGLST:=$(DEBWRT_PKGLST) debian/package/debwrt-kernel-headers
  • trunk/debian/package/debwrt-kernel-headers/debwrt-kernel-headers.sh

    r54 r319  
    1414
    1515PACKAGE=debwrt-kernel-headers
    16 VERSION=`echo $KERNEL_HEADERS_TAR_GZ | awk -F "-" '{print $6}'`
     16#VERSION=`echo $KERNEL_HEADERS_TAR_GZ | awk -F "-" '{print $5}'`
     17VERSION=`echo $KERNEL_HEADERS_TAR_GZ | tr '-' '\n'| grep "^[0-9]" | head -1`
    1718RELEASE=1
    1819
     
    3435   cp -rav debian ${BUILD_DIR}
    3536   cd ${BUILD_DIR}
    36    dch -v ${VERSION}-${RELEASE} -m -t "Automated packet generation"
     37   dch -v ${VERSION}-${RELEASE} -b -m -t "Automated packet generation"
     38read
    3739   dpkg-buildpackage -a${ARCH:=mipsel} -rfakeroot -b
    3840   find ${BUILD_BASE_DIR} -maxdepth 1 -name "*.deb"  | xargs -r -t -i sudo dpkg-cross -a ${ARCH:=mipsel} -i {} || true
Note: See TracChangeset for help on using the changeset viewer.