Commit 36c7fa38 authored by Anton Midyukov's avatar Anton Midyukov

lib/distro.mk: fix META_VOL_ID for Starterkits

It was broken сommit 676aac35
parent 89f6ab91
......@@ -13,7 +13,12 @@ distro/.init: profile/bare
@$(call set,META_PUBLISHER,ALT Linux Team)
distro/.boot: distro/.init boot/iso
ifeq (,$(BRANCH))
@$(call set,META_VOL_ID,ALT $(IMAGE_NAME)/$(ARCH))
else
@$(call set,IMAGE_FLAVOUR,$(subst alt-$(BRANCH)-,,$(IMAGE_NAME)))
@$(call set,META_VOL_ID,ALT $(BRANCH) $$(IMAGE_FLAVOUR)/$(ARCH))
endif
@$(call set,META_VOL_SET,ALT)
# NB: the last flavour in KFLAVOURS gets to be the default one;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment