default: all SQUASHFS_VERSION=@SQUASHFS_VERSION@ # Include mkimage config file with default definitions include @MKI_PREFIX@/usr/share/mkimage/config.mk # Include autogenerated settings for specific product flavor # Not neccessary for clean family targets. -include stage-autocfg.mk # packagelist stuff TOPDIR=@TOPDIR@ include ../functions.mk CHROOT_PACKAGES = apt-utils rsync PACKAGES_EXPAND_METHOD=regexp #NO_CACHE=1 IMAGE_INIT_LIST = +branding-@BRANDING@-release apt-conf-@APTCONF_PACKAGE@ LOCAL_BASE_PACKAGE_LISTS ?= base kernel IMAGE_PACKAGES = .base \ $(call list,$(LOCAL_BASE_PACKAGE_LISTS)) \ $(call list,$(GLOBAL_BASE_PACKAGE_LISTS)) \ $(call list,$(GLOBAL_DISK_PACKAGE_LISTS)) \ $(GLOBAL_DISK_PACKAGES) \ $(call list,$(shell grep X-Alterator-PackageList /dev/null $(call group,$(GLOBAL_PKG_GROUPS)) | cut -d= -f2)) \ $(call tagged,$(GLOBAL_BASE_TAGS)) \ $(call tagged,$(GLOBAL_DISK_TAGS)) MKI_DESTDIR = ALTLinux/RPMS.main MKI_PACK_RESULTS = data: INFO_NAME = ALT Linux Main packages INFO_LABEL = @LABEL@ # Include mkimage targets definitions include @MKI_PREFIX@/usr/share/mkimage/targets.mk test-tags: @echo $(call tagged,base dvd) all: dot-base rm-pkg-groups-base copy-packages run-scripts pack-image pkg-groups-base # FIXME: this should be generated in pkg/Makefile probably # NB: alterator-pkg depends on it being lists/.base in Metadata.tar pkg-groups-base: dot-base @echo "Preparing pkg-groups-base..." mkdir -p `dirname $(call list,.base)` cat .base $(call list,$(LOCAL_BASE_PACKAGE_LISTS)) \ $(call list,$(GLOBAL_BASE_PACKAGE_LISTS)) \ | sed -e 's/#.*//' \ -e 's/[^[:space:]]*-\([[:space:]]\+\|$$\)//g' \ -e 's/[[:space:]]\+/\n/g' \ > $(call list,.base) rm-pkg-groups-base: rm -f $(call list,.base) dot-base: @echo "IMAGE_PACKAGES: $(IMAGE_PACKAGES)" echo apt-conf-@APTCONF_PACKAGE@ \ branding-@BRANDING@-release \ branding-@BRANDING@-bootsplash \ branding-@BRANDING@-bootloader \ branding-@BRANDING@-notes \ branding-@BRANDING@-alterator \ indexhtml-common branding-@BRANDING@-indexhtml\ $(GLOBAL_BASE_PACKAGES) \ branding-@BRANDING@-bootloader > .base