config.mk 2.48 KB
Newer Older
1 2 3
# alterator-based installer, second (livecd) stage

+live-installer: use/live-install/full; @:
4
+live-installer-pkg: use/live-install/full use/live-install/pkg; @:
5 6

use/live-install: use/live use/metadata use/repo/main \
7 8
	use/bootloader use/grub/live-install.cfg use/syslinux/live-install.cfg \
	use/alternatives/xvt/xterm
9 10 11
	@$(call add_feature)
	@$(call add,LIVE_PACKAGES,installer-common-stage2)
	@$(call add,BASE_PACKAGES,installer-common-stage3)
12
	@$(call add,LIVE_PACKAGES,$$(LIVE_INSTALL_PKG))
13
	@$(call add,LIVE_PACKAGES,alterator-postinstall) # for auto install
14
	@$(call add,LIVE_PACKAGES,xterm) # for vnc support
15
	@$(call try,INSTALLER,regular)	# might be replaced later
16 17 18 19 20 21
	@$(call add,LIVE_PACKAGES,installer-distro-$$(INSTALLER)-stage2)
	@$(call add,LIVE_PACKAGES,branding-$$(BRANDING)-alterator)
	@$(call add,LIVE_PACKAGES,branding-$$(BRANDING)-release)
	@$(call add,LIVE_PACKAGES,installer-distro-$$(INSTALLER)-stage3)
	@$(call add,LIVE_PACKAGES,glibc-gconv-modules) # for guile22
	@$(call add,LIVE_PACKAGES,curl) # for net install
22
	@$(call add,LIVE_PACKAGES,lsof) # for debug alterator-vm
23 24
	@$(call try,LIVE_INSTALL_PKG,installer-livecd-install)
	@$(call try,GLOBAL_LIVE_INSTALL,1)
25 26 27 28 29 30
	@$(call xport,BASE_BOOTLOADER)

use/live-install/full: use/live-install \
	use/syslinux/localboot.cfg use/grub/localboot_bios.cfg \
	use/syslinux/ui/menu; @:

31 32 33 34
use/live-install/pkg: use/live-install
	@$(call set,LIVE_INSTALL_PKG,)
	@$(call set,GLOBAL_LIVE_INSTALL,)

35 36 37 38 39 40 41
# set up remote repositories within installed system out-of-box
use/live-install/repo: use/live-install; @:
ifneq (,$(filter-out e2k%,$(ARCH)))
	@$(call add,BASE_PACKAGES,installer-feature-online-repo)
endif

# this one expects external vncviewer to come
42
use/live-install/vnc/listen: use/live-install \
43 44 45
	use/syslinux/live-install-vnc-listen.cfg use/grub/live-install-vnc-listen.cfg; @:

# this one connects to a specified vncviewer --listen
46
use/live-install/vnc/connect: use/live-install \
47 48 49 50 51 52 53 54
	use/syslinux/live-install-vnc-connect.cfg use/grub/live-install-vnc-connect.cfg; @:

# add both bootloader items to be *that* explicit ;-)
use/live-install/vnc/full: use/live-install/vnc/listen use/live-install/vnc/connect; @:

# prepare bootloader for software suspend (see also live)
use/live-install/suspend:
	@$(call add,BASE_PACKAGES,installer-feature-desktop-suspend-stage2)
55 56 57 58 59

use/live-install/oem: use/live-install
	@$(call add,LIVE_PACKAGES,installer-feature-oem-stage2)
	@$(call add,MAIN_PACKAGES,alterator-setup)
	@$(call add,MAIN_PACKAGES,installer-feature-alterator-setup-stage2)