default: all SQUASHFS_VERSION=4 # Include mkimage config file with default definitions include /usr/share/mkimage/config.mk # packagelist stuff include ../functions.mk #Include autogenerated settings for specific product flavor # Not neccessary for clean family targets. -include stage-autocfg.mk CHROOT_PACKAGES = apt-utils rsync IMAGE_INIT_LIST = +branding-altlinux-kdesktop-release # FIXME: branding will be optimized out being in main IIRC IMAGE_PACKAGES = branding-altlinux-kdesktop-release \ $(call list,$(GLOBAL_ADDON_PACKAGE_LISTS)) MKI_DESTDIR = ALTLinux/RPMS.addon MKI_PACK_RESULTS = data: INFO_NAME = ALT Linux Addon INFO_LABEL = KDesktop # Include mkimage targets definitions include /usr/share/mkimage/targets.mk default: all all: rm-pkg-groups-base copy-packages 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: @echo "Preparing pkg-groups-base..." mkdir -p `dirname $(call list,.base)` cat $(call list,$(LOCAL_ADDON_PACKAGE_LISTS)) \ $(call list,$(GLOBAL_ADDON_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)