aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-core/swupd-client/os-release.bbappend
AgeCommit message (Collapse)Author
2016-04-04os-release: patch in OS_VERSION during rootfs creationPatrick Ohly
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>
2016-03-30swupd-client: Tweak os-release to conform ClearLinux formatDmitry Rozhkov
swupd-client checks VERSION_ID, which must match the OS_VERSION used for generating swupd bundles in the current build. Also move os-release from /etc to /usr/lib because swupd-client doesn't update files in /etc. Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com> Replaced "ln -s ../usr/lib/...." with "lnr ${D}/usr/lib/..." for the sake of consistency with OE-core common practices. Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>