ソースを参照

swupdate: build released version by default

Disable building swupdate_git recipe by default.

To build the latest code in master branch use
PREFERRED_VERSION_swupdate = "git%" in machine
config or local.conf.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
Anatolij Gustschin 9 年 前
コミット
6cc053531b

+ 2 - 0
recipes-support/swupdate/swupdate.inc

@@ -13,6 +13,8 @@ SRC_URI = "git://github.com/sbabic/swupdate.git;protocol=git \
      file://swupdate.service \
      "
 
+SRCREV = "${AUTOREV}"
+
 PACKAGES =+ "${PN}-www"
 
 FILES_${PN}-www = "/www/*"

+ 1 - 5
recipes-support/swupdate/swupdate_2016.07.bb

@@ -1,7 +1,3 @@
 require swupdate.inc
 
-SRC_URI = "git://github.com/sbabic/swupdate.git;protocol=git;tag=2016.07 \
-     file://defconfig \
-     file://swupdate \
-     file://swupdate.service \
-     "
+SRCREV = "458d8122cf93ec295195342846cc6e879951aa44"

+ 1 - 2
recipes-support/swupdate/swupdate_git.bb

@@ -1,4 +1,3 @@
 require swupdate.inc
 
-SRCREV = "${AUTOREV}"
-
+DEFAULT_PREFERENCE = "-1"