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
2014-07-01 21:16:32 +04:00
_ON = alteratord cpufreq-simple \
livecd-evms livecd-fstab livecd-hostname \
2014-03-14 18:05:12 +04:00
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 \
2014-07-01 21:16:32 +04:00
lvm2-lvmetad lvm2-monitor mdadm netfs o2cb ocfs2 openvpn postfix \
rawdevices slapd smartd sshd sysstat update_wms xinetd
2014-03-14 18:05:12 +04:00
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-04-12 18:41:12 +04:00
use/live : use /stage 2 sub /rootfs @live sub /stage 2@live \
use/services use/deflogin/live
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) )
2014-03-14 22:34:20 +04:00
@$( call add,CONTROL,rpcbind:local)
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)
2014-12-31 22:10:53 +03:00
use/live/x11 : use /live /base use /deflogin /desktop use /x 11-autologin use /sound \
2014-08-19 20:04:24 +04:00
use/fonts/otf/adobe use/fonts/otf/mozilla +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-10-30 23:59:17 +04:00
@$( call add,LIVE_PACKAGES,pciutils)
2011-12-19 23:40:19 +04:00
2014-05-23 22:29:54 +04:00
# this target specifically pulls free xorg drivers in (and a few more bits);
# a browser is requested too, the recommended one can be overridden downstream
2013-07-01 16:08:42 +04:00
use/live/desktop : use /live /x 11 use /x 11/xorg use /x 11/wacom \
2014-12-31 22:10:53 +03:00
use/l10n use/browser/firefox/live use/xdg-user-dirs/deep \
use/syslinux/localboot.cfg +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
2012-05-21 18:33:39 +04:00
# a crude hack to make sure Russian is the default in a particular image
use/live/ru : use /live use /l 10n /default /ru_RU ; @:
use/live/sound : use /live
2015-02-10 23:10:49 +03:00
@$( call add,LIVE_LISTS,sound/base)
2015-03-11 23:50:11 +03:00
# prepare bootloader for software suspend (see also install2)
use/live/suspend : use /live
@$( call add,LIVE_PACKAGES,installer-feature-desktop-suspend-stage2)