xref: /illumos-gate/usr/src/boot/Makefile.version (revision d45f07cb8d28ca0e38cd96d8f00243ba58192eec)
104a6e8dcSToomas Soome#
204a6e8dcSToomas Soome# This file and its contents are supplied under the terms of the
304a6e8dcSToomas Soome# Common Development and Distribution License ("CDDL"), version 1.0.
404a6e8dcSToomas Soome# You may only use this file in accordance with the terms of version
504a6e8dcSToomas Soome# 1.0 of the CDDL.
604a6e8dcSToomas Soome#
704a6e8dcSToomas Soome# A full copy of the text of the CDDL should have accompanied this
804a6e8dcSToomas Soome# source.  A copy of the CDDL is also available via the Internet at
904a6e8dcSToomas Soome# http://www.illumos.org/license/CDDL.
1004a6e8dcSToomas Soome#
1104a6e8dcSToomas Soome
1204a6e8dcSToomas Soome#
1304a6e8dcSToomas Soome# Copyright 2016 Toomas Soome <tsoome@me.com>
14*d45f07cbSAndrew Stormont# Copyright 2020 RackTop Systems, Inc.
1504a6e8dcSToomas Soome#
1604a6e8dcSToomas Soome
1704a6e8dcSToomas Soome#
1804a6e8dcSToomas Soome# The version string is composed according to IPS version string rules:
1904a6e8dcSToomas Soome#	dotted verstion strings are consisting of numbers and dots,
2004a6e8dcSToomas Soome#	different strings are separated by comma or dash,
2104a6e8dcSToomas Soome#	at the end of the dotted version can be timestamp, separated by
2204a6e8dcSToomas Soome#	the colon.
2304a6e8dcSToomas Soome#
2404a6e8dcSToomas Soome# The dotted version part are compared by numbers, timestamps are
2504a6e8dcSToomas Soome# compared lexicographically, as strings.
2604a6e8dcSToomas Soome#
2704a6e8dcSToomas Soome# Here we define two version strings, for loader and boot program.
2804a6e8dcSToomas Soome# The BOOT_VERSION is used by installboot program to decide if the
2904a6e8dcSToomas Soome# boot program update is needed, and should be updated according to
3004a6e8dcSToomas Soome# boot loader code updates.
3104a6e8dcSToomas Soome
3204a6e8dcSToomas SoomeLOADER_VERSION = 1.1
33fae4f9e0SToomas Soome
34fae4f9e0SToomas Soome# Use date like formatting here, YYYY.MM.DD.XX, without leading zeroes.
35fae4f9e0SToomas Soome# The version is processed from left to right, the version number can only
36fae4f9e0SToomas Soome# be increased.
37*d45f07cbSAndrew StormontBOOT_VERSION = $(LOADER_VERSION)-2020.11.25.1
38