xref: /illumos-gate/usr/src/boot/Makefile.version (revision e8c99ccb39d7a8d2934c804f47e32c79143f7859)
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>
14d45f07cbSAndrew Stormont# Copyright 2020 RackTop Systems, Inc.
15ef86b95dSToomas Soome# Copyright 2024 MNX Cloud, Inc.
1604a6e8dcSToomas Soome#
1704a6e8dcSToomas Soome
1804a6e8dcSToomas Soome#
1904a6e8dcSToomas Soome# The version string is composed according to IPS version string rules:
2004a6e8dcSToomas Soome#	dotted verstion strings are consisting of numbers and dots,
2104a6e8dcSToomas Soome#	different strings are separated by comma or dash,
2204a6e8dcSToomas Soome#	at the end of the dotted version can be timestamp, separated by
2304a6e8dcSToomas Soome#	the colon.
2404a6e8dcSToomas Soome#
2504a6e8dcSToomas Soome# The dotted version part are compared by numbers, timestamps are
2604a6e8dcSToomas Soome# compared lexicographically, as strings.
2704a6e8dcSToomas Soome#
2804a6e8dcSToomas Soome# Here we define two version strings, for loader and boot program.
2904a6e8dcSToomas Soome# The BOOT_VERSION is used by installboot program to decide if the
3004a6e8dcSToomas Soome# boot program update is needed, and should be updated according to
3104a6e8dcSToomas Soome# boot loader code updates.
3204a6e8dcSToomas Soome
3304a6e8dcSToomas SoomeLOADER_VERSION = 1.1
34fae4f9e0SToomas Soome
35fae4f9e0SToomas Soome# Use date like formatting here, YYYY.MM.DD.XX, without leading zeroes.
36fae4f9e0SToomas Soome# The version is processed from left to right, the version number can only
37fae4f9e0SToomas Soome# be increased.
38*e8c99ccbSToomas SoomeBOOT_VERSION = $(LOADER_VERSION)-2024.10.09.1
39