2012-03-19 15:25:31 +04:00
+live : use /live /desktop ; @:
2012-03-16 22:26:58 +04:00
2014-03-14 18:05:12 +04:00
# service defaults
_ON = alteratord cpufreq-simple dm kdm wdm prefdm \
livecd-evms livecd-fstab livecd-hostname \
livecd-setauth livecd-setlocale livecd-net-eth livecd-install-wmaker \
random rpcbind plymouth avahi-daemon \
_OFF = anacron blk-availability bridge clamd crond dhcpd dmeventd dnsmasq \
lvm2-lvmetad lvm2-monitor mdadm netfs o2cb ocfs2 openvpn postfix \
rawdevices slapd smartd sshd sysstat update_wms xinetd
2011-12-13 19:53:57 +04:00
# copy stage2 as live
2012-03-31 00:51:04 +04:00
# NB: starts to preconfigure but doesn't use/cleanup yet
2014-03-14 18:05:12 +04:00
use/live : use /stage 2 sub /rootfs @live sub /stage 2@live use /services
2011-11-16 19:58:42 +04:00
@$( call add_feature)
2012-03-31 00:51:04 +04:00
@$( call add,CLEANUP_PACKAGES,'installer*' )
2014-03-14 18:05:12 +04:00
@$( call add,DEFAULT_SERVICES_ENABLE,$( _ON) )
@$( call add,DEFAULT_SERVICES_DISABLE,$( _OFF) )
2011-10-31 12:34:15 +04:00
2014-03-14 18:21:40 +04:00
use/live/base : use /live use /net use /syslinux /ui /menu
2011-10-31 12:34:15 +04:00
@$( call add,LIVE_LISTS,$( call tags,base && ( live || network) ) )
2013-03-20 00:01:43 +04:00
# rw slice, see http://www.altlinux.org/make-initrd-propagator and #28289
i f e q ( , $( EFI_BOOTLOADER ) )
use/live/rw : use /live use /syslinux
@$( call add,SYSLINUX_CFG,live_rw)
e l s e
use/live/rw : use /live ; @:
e n d i f
2013-05-27 17:24:52 +04:00
# graphical target (not enforcing xorg drivers or blobs)
2013-07-04 15:27:16 +04:00
use/live/x11 : use /live /base use /x 11-autologin use /sound +power +efi
2012-03-16 22:26:58 +04:00
@$( call add,LIVE_LISTS,$( call tags,desktop && ( live || network) ) )
2012-04-18 19:59:47 +04:00
@$( call add,LIVE_LISTS,$( call tags,base l10n) )
2012-03-31 00:51:04 +04:00
@$( call add,LIVE_PACKAGES,fonts-ttf-dejavu fonts-ttf-droid)
2012-10-30 23:59:17 +04:00
@$( call add,LIVE_PACKAGES,pciutils)
2012-03-30 23:41:19 +04:00
@$( call add,SYSLINUX_CFG,localboot)
2011-12-19 23:40:19 +04:00
2013-05-27 17:24:52 +04:00
# this target specifically pulls free xorg drivers in (and a few more bits)
2013-07-01 16:08:42 +04:00
use/live/desktop : use /live /x 11 use /x 11/xorg use /x 11/wacom \
use/xdg-user-dirs/deep +vmguest; @:
2013-05-27 17:24:52 +04:00
2012-12-31 18:58:07 +04:00
# preconfigure apt for both live and installed-from-live systems
2013-03-25 13:25:15 +04:00
use/live/repo : use /live
2012-12-31 18:58:07 +04:00
@$( call add,LIVE_PACKAGES,installer-feature-online-repo)
2013-03-25 13:25:15 +04:00
@$( call try,LIVE_REPO,http/alt)
@$( call xport,LIVE_REPO)
# preconfigure apt in runtime (less reliable)
use/live/repo/online :
@$( call add,LIVE_PACKAGES,livecd-online-repo)
2012-12-31 18:58:07 +04:00
2012-05-08 20:34:00 +04:00
# alterator-based permanent installation
2013-07-09 17:35:30 +04:00
use/live/install : use /metadata use /xdg -user -dirs use /syslinux /localboot .cfg
2012-05-08 20:34:00 +04:00
@$( call add,LIVE_PACKAGES,livecd-install)
2012-12-31 18:58:07 +04:00
@$( call add,LIVE_PACKAGES,livecd-installer-features)
2012-05-08 20:34:00 +04:00
# text-based installation script
2014-02-03 23:32:16 +04:00
use/live/textinstall : use /syslinux /lateboot .cfg
2012-05-08 20:34:00 +04:00
@$( call add,LIVE_PACKAGES,live-install)
2013-05-27 17:24:52 +04:00
# a very simplistic one
use/live/.x11 : use /live use /x 11 use /x 11-autologin
@$( call add,LIVE_PACKAGES,xinit)
# NB: some implementation has to be added if it's not a display manager
use/live/autologin : use /live /.x 11
2012-05-14 19:13:27 +04:00
@$( call add,LIVE_PACKAGES,autologin)
2013-05-27 17:24:52 +04:00
use/live/nodm : use /live /.x 11
2012-05-14 19:13:27 +04:00
@$( call add,LIVE_PACKAGES,nodm)
2012-01-25 20:18:04 +04:00
2013-05-27 17:24:52 +04:00
# see also http://www.altlinux.org/Netbook-live/hooks
2012-01-25 20:18:04 +04:00
use/live/hooks : use /live
@$( call add,LIVE_PACKAGES,livecd-run-hooks)
2012-03-25 05:55:51 +04:00
2013-05-27 17:24:52 +04:00
# a crude hack to make sure Russian is supported in a particular image
2012-03-25 05:55:51 +04:00
use/live/ru : use /live
@$( call add,LIVE_PACKAGES,livecd-ru)