diff options
Diffstat (limited to 'packages/uboot/uboot-openmoko_svn.bb')
-rw-r--r-- | packages/uboot/uboot-openmoko_svn.bb | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/packages/uboot/uboot-openmoko_svn.bb b/packages/uboot/uboot-openmoko_svn.bb index e1575884c2..3669b409da 100644 --- a/packages/uboot/uboot-openmoko_svn.bb +++ b/packages/uboot/uboot-openmoko_svn.bb @@ -5,7 +5,7 @@ SECTION = "bootloader" PRIORITY = "optional" PROVIDES = "virtual/bootloader" PV = "1.2.0+git${SRCDATE}+svnr${SRCREV}" -PR = "r0" +PR = "r1" SRCREV_FORMAT = "patches" @@ -30,16 +30,9 @@ do_quilt() { } do_svnrev() { - FILE=${S}/tools/setlocalversion - OLDFILE=$FILE.old - NEWFILE=$FILE.new - cp $FILE $OLDFILE - LINES=`cat $OLDFILE | wc -l` - LINES_WE_WANT=$(($LINES-1)) - LASTLINE=`cat $OLDFILE | tail -n 1` - cat $OLDFILE | head -n $LINES_WE_WANT > $NEWFILE - echo ${LASTLINE}_${PR} >> $NEWFILE - rm $FILE && mv $NEWFILE $FILE + mv -f tools/setlocalversion tools/setlocalversion.old + echo -n "echo " >>tools/setlocalversion + echo ${PV} >>tools/setlocalversion } do_configure_prepend() { |