test.mk 2.46 KB
Newer Older
1 2 3 4
# debug/test/experimental images
ifneq (,$(DEBUG))

ifeq (distro,$(IMAGE_CLASS))
5 6 7
# For check all package lists
distro/pkg-all-lists: distro/.init
	@$(call add,THE_LISTS,*)
8

9
distro/syslinux-auto: distro/.boot use/hdt use/syslinux/timeout/1; @:
10 11
distro/syslinux-noescape: distro/syslinux-auto use/syslinux/noescape.cfg; @:

Michael Shigorin's avatar
Michael Shigorin committed
12
distro/live-systemd: distro/.base use/live/base +systemd; @:
13
distro/live-plymouth: distro/.live-base use/plymouth/live; @:
14
distro/live-mediacheck: distro/.base use/mediacheck +plymouth; @:
15

16
distro/live-testserver: distro/live-install use/server/mini; @:
17

18 19 20 21 22
# NB: requires runtime Server/ServerActive setup in zabbix_agentd.conf
distro/live-zabbix: distro/live-icewm use/net-eth
	@$(call add,THE_PACKAGES,zabbix-agent)
	@$(call add,DEFAULT_SERVICES_ENABLE,zabbix_agentd)

23 24 25
distro/icewm-efi: distro/icewm use/efi/debug use/firmware
	@$(call add,INSTALL2_PACKAGES,strace)

26
distro/mate-kz: distro/regular-mate
27 28 29
	@$(call set,GLOBAL_BOOT_LANG,kk_KZ)
	@$(call add,LIVE_PACKAGES,hunspell-kk)

30 31 32 33
# a minimalistic systemd-based server installer
distro/server-systemd: distro/server-nano \
	use/install2/repo use/cleanup/x11-alterator use/net/networkd +systemd
	@$(call add,CLEANUP_PACKAGES,glib2 iw libpython libwireless)
34

35
distro/server-test: distro/server-mini use/relname
36
	@$(call set,RELNAME,Test-Server)
Mike Radyuk's avatar
Mike Radyuk committed
37

38 39 40 41
# something marginally useful (as a network-only installer)
# NB: doesn't carry stage3 thus cannot use/bootloader
distro/netinst: distro/.base use/install2/net; @:

42 43 44
distro/propagator-test: distro/.base use/mediacheck
	@$(call add,STAGE2_BOOTARGS,propagator-debug)

45
distro/desktop-luks: distro/icewm use/luks; @:
Michael Shigorin's avatar
Michael Shigorin committed
46
distro/desktop-systemd: distro/icewm +systemd; @:
47
distro/desktop-plymouth: distro/icewm +plymouth; @:
48
distro/server-efi: distro/server-mini use/efi/debug; @:
49

50 51
distro/server-zabbix: distro/server-mini use/server/zabbix use/net-eth

52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
# a crop of images running stuff as PID 1
distro/bash: distro/.base use/pid1
	@$(call add,STAGE1_PACKAGES,bash)
	@$(call set,PID1_BIN,/bin/bash)

distro/vi: distro/.base use/pid1
	@$(call add,STAGE1_PACKAGES,vim-minimal)
	@$(call set,PID1_BIN,/bin/vi)

distro/emacs: distro/.base use/pid1
	@$(call add,STAGE1_PACKAGES,mg)
	@$(call set,PID1_BIN,/usr/bin/mg)

distro/elinks: distro/.base use/pid1/net
	@$(call add,STAGE1_PACKAGES,elinks)
	@$(call set,PID1_BIN,/usr/bin/elinks)

69 70 71 72
endif # IMAGE_CLASS: distro

ifeq (vm,$(IMAGE_CLASS))

73 74
vm/net-static: vm/bare use/net-eth use/net-ssh
	@$(call add,NET_ETH,eth0:static:10.0.2.16/24:10.0.2.2)
75 76 77 78

endif # IMAGE_CLASS: vm

endif