diff options
Diffstat (limited to 'packages/olsr/olsrd_0.4.8.bb')
-rw-r--r-- | packages/olsr/olsrd_0.4.8.bb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/olsr/olsrd_0.4.8.bb b/packages/olsr/olsrd_0.4.8.bb index 98a6344fb7..c2b9c825b6 100644 --- a/packages/olsr/olsrd_0.4.8.bb +++ b/packages/olsr/olsrd_0.4.8.bb @@ -5,7 +5,8 @@ SECTION = "console/network" PRIORITY = "optional" LICENSE = "BSD" -SRC_URI="http://www.olsr.org/releases/0.4/olsrd-${PV}.tar.bz2 \ +MAJ_VER = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}" +SRC_URI="http://www.olsr.org/releases/${MAJ_VER}/olsrd-${PV}.tar.bz2 \ file://init \ file://olsrd.conf" |