aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-core
diff options
context:
space:
mode:
authorPatrick Ohly <patrick.ohly@intel.com>2016-03-31 14:38:01 +0200
committerJoshua Lock <joshua.g.lock@intel.com>2016-04-04 10:48:06 +0100
commit67940870ae02f58fae942b61b89aeae574a1a0d1 (patch)
treedb7b7515b2964a261b419d61829b3b3c681b8978 /recipes-core
parentaa56d26091a61a5231e57833620a0c65ed8cb5b2 (diff)
downloadmeta-swupd-67940870ae02f58fae942b61b89aeae574a1a0d1.tar.gz
meta-swupd-67940870ae02f58fae942b61b89aeae574a1a0d1.tar.bz2
meta-swupd-67940870ae02f58fae942b61b89aeae574a1a0d1.zip
os-release: patch in OS_VERSION during rootfs creation
Changing os-release in a .bbappend is undesirable for two reasons: 1. it changes the content also for images which do not use swupd 2. it causes full rebuilds even when the only thing that changed is the OS_VERSION The latter may or may not be desired, so we should better leave that choice to the user, which is possible by setting VERSION_ID to OS_VERSION in local.conf. Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Diffstat (limited to 'recipes-core')
-rw-r--r--recipes-core/swupd-client/os-release.bbappend4
1 files changed, 0 insertions, 4 deletions
diff --git a/recipes-core/swupd-client/os-release.bbappend b/recipes-core/swupd-client/os-release.bbappend
index 69cb7c5..f73f861 100644
--- a/recipes-core/swupd-client/os-release.bbappend
+++ b/recipes-core/swupd-client/os-release.bbappend
@@ -1,7 +1,3 @@
-# swupd-client checks VERSION_ID, which must match the OS_VERSION
-# used for generating swupd bundles in the current build.
-VERSION_ID = "${OS_VERSION}"
-
FILES_${PN}_append = " /usr/lib/os-release "
# As swupd-client doesn't update files in /etc move os-release's