default: all SQUASHFS_VERSION=4 # Include mkimage config file with default definitions include /usr/share/mkimage/config.mk # Include autogenerated settings for specific product flavor # Not neccessary for clean family targets. -include stage-autocfg.mk # packagelist stuff include ../functions.mk ifeq "$(USE_CLAMAV)" "1" CLAMDB=.work/.cache/clam/etc/skel/.klamav/database/main.cvd CLAMCOPY=copy-tree COPY_TREE=.work/.cache/clam # FIXME: klamav only? GLOBAL_PLC_PACKAGES+=klamav endif # FIXME: hardwired l10n, see also #16863 GLOBAL_HSH_LANGS=en_US:ru_RU:uk_UA # Make build log look pretty ifeq (rt1-up,rt-up) PACK_SQUASHFS_OPTS=-no-progress -comp gzip else ifeq (rt1-up,rt1-up) PACK_SQUASHFS_OPTS=-no-progress -comp gzip else ifeq (rt1-up,rt1-smp) PACK_SQUASHFS_OPTS=-no-progress -comp gzip else ifeq (,gzip) PACK_SQUASHFS_OPTS=-no-progress -comp gzip else PACK_SQUASHFS_OPTS=-comp xz -Xbcj x86 endif endif endif endif IMAGE_INIT_LIST = +branding-altlinux-kdesktop-release LOCAL_PLC_PACKAGE_LISTS = kernel plc IMAGE_PACKAGES = \ branding-altlinux-kdesktop-release \ apt-conf-t6 \ $(GLOBAL_PLC_PACKAGES) \ $(call list,kernel) \ $(call list,plc) \ $(call list,$(GLOBAL_PLC_PACKAGE_LISTS)) \ $(call list,$(GLOBAL_PLC_PKG_GROUPS)) # branding-altlinux-kdesktop-bootsplash \ # branding-altlinux-kdesktop-graphics \ # branding-altlinux-kdesktop-notes \ # branding-altlinux-kdesktop-indexhtml \ # branding-altlinux-kdesktop-bootloader \ MKI_PACK_RESULTS = squash:live # Include mkimage targets definitions include /usr/share/mkimage/targets.mk all: build-image $(CLAMDB) $(CLAMCOPY) run-scripts run-image-scripts pack-image # FIXME: this kludge should be fixed along with main/'s one # by moving .base generation where it belongs, to software/ @mkdir -p `dirname $(call list,.base)` @touch $(call list,.base) .work/.cache/clam/etc/skel/.klamav/database/main.cvd: mkdir -p .work/.cache/clam/etc/skel/.klamav/database wget -P .work/.cache/clam/etc/skel/.klamav/database http://database.clamav.net//main.cvd wget -P .work/.cache/clam/etc/skel/.klamav/database http://database.clamav.net//daily.cvd