mkimage-profiles/features.in/uuid-iso/config.mk
Anton Midyukov c3ac5009ae uuid-iso: Available for i586, x86_64, aarch64 only, needed mkimage 0.2.41
In mkimage 0.2.41 it is implemented only for mki-pack-efionly-isoboot,
mki-pack-grubpc-isoboot, mki-pack-isoboot.
2021-04-03 21:50:03 +07:00

15 lines
367 B
Makefile

ifeq (,$(filter-out i586 x86_64 aarch64,$(ARCH)))
UUID_ISO = $(shell date -u +%Y-%m-%d-%H-%M-%S-00)
UUID_ISO_SHRT = $(shell echo $(UUID_ISO) | sed 's/-//g')
use/uuid-iso:
@$(call add_feature)
@$(call set,MKI_VER_MINIMAL,0.2.41)
@$(call set,UUID_ISO_SHRT,$(UUID_ISO_SHRT))
@$(call set,UUID_ISO,$(UUID_ISO))
@$(call xport,UUID_ISO)
else
use/uuid-iso: ; @:
endif