diff options
author | Michael Lauer <mickey@vanille-media.de> | 2007-09-17 23:49:17 +0000 |
---|---|---|
committer | Openmoko anonymizer key <devel@lists.openmoko.org> | 2007-09-17 23:49:17 +0000 |
commit | d89308b089c7625d06ff820234bdfea283da82fa (patch) | |
tree | 49ba62859f2e5f50d9277db5afbbc74be621e5bd /packages/uboot/uboot-openmoko_svn.bb | |
parent | a180b8ab7fa0964df1c10ef2186b9ff6f8a105c0 (diff) |
uboot-openmoko: set localversion to PV
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() { |