67adab492f
This subprofile is akin to THE_* variables family: the configuration bits and script hooks sitting there influence whatever chroot is declared to be the user facing one in the end, whether it comes from vm image or live subprofile. The services feature ought to be a changeset of its own which would be based on rootfs and become the base for ve/vm changes but I chose to just do it atomically; some pre-existing duplicates are pruned now.
31 lines
864 B
Makefile
31 lines
864 B
Makefile
# step 2: build up distribution's configuration
|
|
|
|
ifndef MKIMAGE_PROFILES
|
|
$(error this makefile is designed to be included in toplevel one)
|
|
endif
|
|
|
|
ifeq (distro,$(IMAGE_CLASS))
|
|
|
|
# install media bootloader
|
|
boot/%:
|
|
@$(call set,BOOTLOADER,$*)
|
|
|
|
# fundamental targets
|
|
|
|
distro/.init: profile/bare
|
|
@$(call try,META_PREPARER,mkimage-profiles)
|
|
@$(call try,META_APP_ID,$(IMAGE_NAME))
|
|
@$(call set,META_PUBLISHER,ALT Linux Team)
|
|
|
|
# NB: the last flavour in KFLAVOURS gets to be the default one;
|
|
# the kernel packages regexp evaluation has to take place at build stage
|
|
distro/.base: distro/.init use/kernel
|
|
@$(call set,META_SYSTEM_ID,LINUX)
|
|
@$(call set,META_VOL_ID,ALT Linux $(IMAGE_NAME)/$(ARCH))
|
|
@$(call set,META_VOL_SET,ALT Linux)
|
|
|
|
# this one should not be fundamental as it appears (think armh)
|
|
distro/.installer: distro/.base use/bootloader/grub +installer; @:
|
|
|
|
endif
|