8989fc2771
An initial draft of it was done half a year ago but several tricky thingies had kept the code from showing up as it was rather brittle and incomplete. This implementation involves quite a few changes all over the place but finally works good enough for live and installer images. Please pay attention to the versions of these packages: - installer-feature-setup-plymouth (0.3.2-alt1+) - branding-altlinux-sisyphus (20110706-alt2+ if used) - plymouth (0.8.3-alt20.git20110406+) See also: - http://www.altlinux.org/Branding - http://www.altlinux.org/Plymouth
44 lines
1.1 KiB
Makefile
44 lines
1.1 KiB
Makefile
# step 4: build main subprofile (requisite + optional packages for media)
|
|
|
|
ifndef GLOBAL_BUILDDIR
|
|
$(error GLOBAL_BUILDDIR not defined)
|
|
endif
|
|
|
|
default: all
|
|
|
|
include $(GLOBAL_BUILDDIR)/distcfg.mk
|
|
include $(GLOBAL_BUILDDIR)/functions.mk
|
|
include $(MKIMAGE_PREFIX)/config.mk
|
|
|
|
CHROOT_PACKAGES = apt-utils rsync
|
|
|
|
IMAGE_PACKAGES_REGEXP = $(THE_PACKAGES_REGEXP) \
|
|
$(BASE_PACKAGES_REGEXP) \
|
|
$(MAIN_PACKAGES_REGEXP) \
|
|
$(call kpackages, \
|
|
$(THE_KMODULES) \
|
|
$(BASE_KMODULES) \
|
|
$(BASE_KMODULES_REGEXP) \
|
|
$(MAIN_KMODULES), \
|
|
$(KFLAVOURS))
|
|
|
|
IMAGE_PACKAGES = $(call map,list, \
|
|
$(THE_LISTS) $(THE_GROUPS) \
|
|
$(BASE_LISTS) \
|
|
$(MAIN_LISTS) $(MAIN_GROUPS)) \
|
|
$(SYSTEM_PACKAGES) $(COMMON_PACKAGES) \
|
|
$(THE_PACKAGES) $(BASE_PACKAGES) $(MAIN_PACKAGES)
|
|
|
|
-include lib/*.mk
|
|
|
|
MKI_DESTDIR = ALTLinux/RPMS.main
|
|
MKI_PACK_RESULTS = data
|
|
|
|
include $(MKIMAGE_PREFIX)/targets.mk
|
|
|
|
all: $(GLOBAL_DEBUG) copy-packages pack-image $(GLOBAL_CLEAN_WORKDIR)
|
|
|
|
debug:
|
|
@echo "** main: IMAGE_PACKAGES: $(IMAGE_PACKAGES)"
|
|
@echo "** main: IMAGE_PACKAGES_REGEXP: $(IMAGE_PACKAGES_REGEXP)"
|