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 \
2017-10-13 18:28:53 +03:00
livecd-setauth livecd-setlocale livecd-timezone livecd-net-eth livecd-install-wmaker \
2014-03-14 18:05:12 +04:00
random rpcbind plymouth avahi-daemon \
2020-02-25 06:26:47 +03:00
_OFF = anacron blk-availability bridge clamd dhcpd dmeventd dnsmasq \
2017-08-02 21:46:01 +03:00
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
2020-01-03 17:11:15 +03:00
use/live : use /stage 2 sub /rootfs @live sub /stage 2@live \
use/services/lvm2-disable use/grub/live.cfg
2011-11-16 19:58:42 +04:00
@$( call add_feature)
2016-04-01 19:19:47 +03:00
@$( call add,CLEANUP_BASE_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)
2014-10-09 19:38:16 +04:00
@$( call xport,LIVE_CLEANUP_KDRIVERS)
2011-10-31 12:34:15 +04:00
2014-11-15 15:25:07 +03:00
use/live/.base : use /live use /syslinux /ui /menu
@$( call add,LIVE_LISTS,$( call tags,base live) )
use/live/base : use /live /.base use /net use /deflogin /live
@$( call add,LIVE_LISTS,$( call tags,base network) )
2011-10-31 12:34:15 +04:00
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 ) )
2020-01-03 17:11:15 +03:00
use/live/rw : use /live use /syslinux /live_rw .cfg use /grub /live_rw .cfg ; @:
2013-03-20 00:01:43 +04:00
e l s e
2020-01-03 17:11:15 +03:00
use/live/rw : use /live use /grub /live_rw .cfg ; @:
2013-03-20 00:01:43 +04:00
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 \
2019-07-09 20:35:36 +03:00
use/fonts/otf/adobe use/fonts/otf/mozilla +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 \
2020-07-06 10:57:59 +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
2019-06-26 22:13:47 +03:00
@$( call try,LIVE_REPO,http/yandex)
2013-03-25 13:25:15 +04:00
@$( 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
2020-07-06 10:57:59 +03:00
use/live/install : use /metadata use /xdg -user -dirs use /syslinux /localboot .cfg \
2018-01-24 14:31:52 +03:00
use/bootloader/live use/bootloader/grub
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
2020-08-05 19:20:57 +03:00
i f e q ( , $( filter -out i 586 x 86_ 64,$ ( ARCH ) ) )
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)
2020-08-05 19:20:57 +03:00
e l s e
use/live/textinstall : ; @:
e n d i f
2012-05-08 20:34:00 +04:00
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)
2015-04-17 14:25:56 +03:00
# deny network/local drive access for security reasons
2020-02-07 20:49:30 +03:00
use/live/privacy : use /services use /memclean use /deflogin \
use/stage2/ata use/stage2/drm use/stage2/hid \
use/stage2/mmc use/stage2/net-nfs use/stage2/usb
2015-04-17 14:25:56 +03:00
@$( call add,DEFAULT_SERVICES_ENABLE,livecd-nodisks)
@$( call add,LIVE_PACKAGES,livecd-nodisks)
@$( call add,LIVE_CLEANUP_KDRIVERS,kernel/net/)
@$( call add,LIVE_CLEANUP_KDRIVERS,kernel/drivers/net/)
@$( call add,LIVE_CLEANUP_KDRIVERS,kernel/drivers/ata/)
@$( call add,LIVE_CLEANUP_KDRIVERS,kernel/drivers/scsi/)
@$( call add,LIVE_CLEANUP_KDRIVERS,kernel/drivers/block/)
@$( call add,LIVE_CLEANUP_KDRIVERS,kernel/drivers/cdrom/)
@$( call add,LIVE_CLEANUP_KDRIVERS,kernel/drivers/firewire/)
@$( call add,LIVE_CLEANUP_KDRIVERS,kernel/drivers/bluetooth/)
@$( call add,USERS,altlinux:::)