Skip to content

Commit 2050afc

Browse files
authored
Fix version displayed in UI (from /etc/version) (#27)
Resetting bitbake var to write the correct version to /etc/version If is not empty, either its value or the default from Poky will be written to /etc/version. By setting it empty, the build start time (matching the image filename) will be written instead.
1 parent d1057a4 commit 2050afc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

conf/local.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ DISTRO_FEATURES = "${DISTRO_FEATURES_DEFAULT} ${DISTRO_FEATURES_LIBC} smbfs zero
3535
#DISTRO_FEATURES += "ld-is-gold"
3636
#SELECTED_OPTIMIZATION = "-Os"
3737

38+
# If `REPRODUCIBLE_TIMESTAMP_ROOTFS` is not empty, either its value or the default from Poky will be written to /etc/version.
39+
# By setting it empty, the build start time (matching the image filename) will be written instead.
40+
REPRODUCIBLE_TIMESTAMP_ROOTFS = ""
41+
3842
# classic way to extend image
3943
#CORE_IMAGE_EXTRA_INSTALL += "mono fsharp"
4044
#preferred way to add packages

0 commit comments

Comments
 (0)