Skip to content
This repository has been archived by the owner on Apr 19, 2019. It is now read-only.

Commit

Permalink
ostro.conf: undo incorrect OS_VERSION ??= assignment
Browse files Browse the repository at this point in the history
meta-swupd already has a OS_VERSION default, so using ??= in ostro.conf
is too weak.

Signed-off-by: Patrick Ohly <[email protected]>
  • Loading branch information
pohly committed Apr 7, 2016
1 parent 086f930 commit 331aeec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meta-ostro/conf/distro/ostro.conf
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ SDK_UPDATE_URL = "\
# For more predictable results is possible to set OS_RELEASE manually,
# either in local.conf or in the environment like this:
# BB_ENV_EXTRAWHITE="$BB_ENV_EXTRAWHITE OS_VERSION" OS_VERSION=110 bitbake ...
OS_VERSION ??= "${@ str(((int('${DATETIME}') - 20160000000000) / 100) * 10) }"
OS_VERSION ?= "${@ str(((int('${DATETIME}') - 20160000000000) / 100) * 10) }"
OS_VERSION[vardepsexclude] += "DATETIME"

# Ostro OS tries to build minimal images and thus prefers Busybox or
Expand Down

0 comments on commit 331aeec

Please sign in to comment.