mirror of
https://github.com/Telecominfraproject/OpenNetworkLinux.git
synced 2025-12-24 16:57:02 +00:00
Add the debian release number as part of the installer name.
This commit is contained in:
@@ -6,9 +6,13 @@ ifndef BOOTMODE
|
||||
$(error $$BOOTMODE not set)
|
||||
endif
|
||||
|
||||
# Arg. This should be extracted from SWI manifest.
|
||||
include /etc/os-release
|
||||
DEBIAN_VERSION_ID := $(shell echo $(VERSION_ID))
|
||||
|
||||
# Hardcoded to match ONL File naming conventions.
|
||||
include $(ONL)/make/versions/version-onl.mk
|
||||
INSTALLER_NAME=$(FNAME_PRODUCT_VERSION)_ONL-OS_$(FNAME_BUILD_ID)_$(UARCH)_$(BOOTMODE)_INSTALLER
|
||||
INSTALLER_NAME=$(FNAME_PRODUCT_VERSION)_ONL-OS$(DEBIAN_VERSION_ID)_$(FNAME_BUILD_ID)_$(UARCH)_$(BOOTMODE)_INSTALLER
|
||||
|
||||
MKINSTALLER_OPTS = \
|
||||
--onl-version "$(VERSION_STRING)" \
|
||||
@@ -26,5 +30,3 @@ MKINSTALLER_OPTS = \
|
||||
__installer:
|
||||
$(ONL)/tools/mkinstaller.py $(MKINSTALLER_OPTS) --out $(INSTALLER_NAME)
|
||||
md5sum "$(INSTALLER_NAME)" | awk '{ print $$1 }' > "$(INSTALLER_NAME).md5sum"
|
||||
|
||||
|
||||
|
||||
@@ -6,9 +6,13 @@ ifndef BOOTMODE
|
||||
$(error $$BOOTMODE not set)
|
||||
endif
|
||||
|
||||
# Arg. This should be extracted from SWI manifest.
|
||||
include /etc/os-release
|
||||
DEBIAN_VERSION_ID := $(shell echo $(VERSION_ID))
|
||||
|
||||
# Hardcoded to match ONL File naming conventions.
|
||||
include $(ONL)/make/versions/version-onl.mk
|
||||
INSTALLER_NAME=$(FNAME_PRODUCT_VERSION)_ONL-OS_$(FNAME_BUILD_ID)_$(UARCH)_$(BOOTMODE)_INSTALLER
|
||||
INSTALLER_NAME=$(FNAME_PRODUCT_VERSION)_ONL-OS$(DEBIAN_VERSION_ID)_$(FNAME_BUILD_ID)_$(UARCH)_$(BOOTMODE)_INSTALLER
|
||||
|
||||
MKINSTALLER_OPTS = \
|
||||
--onl-version "$(VERSION_STRING)" \
|
||||
@@ -26,5 +30,3 @@ MKINSTALLER_OPTS = \
|
||||
__installer:
|
||||
$(ONL)/tools/mkinstaller.py $(MKINSTALLER_OPTS) --out $(INSTALLER_NAME)
|
||||
md5sum "$(INSTALLER_NAME)" | awk '{ print $$1 }' > "$(INSTALLER_NAME).md5sum"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user