2011-08-20 13:55:05 +04:00
# "1" is not a typo
2021-08-31 18:45:57 +03:00
use/stage2 :: sub /stage 1
2011-11-16 19:58:42 +04:00
@$( call add_feature)
2018-10-17 17:33:42 +03:00
@$( call add,STAGE1_PACKAGES,make-initrd file iproute2)
2015-02-23 23:17:12 +03:00
@$( call add,STAGE1_MODLISTS,$$ ( FEATURES) )
2018-09-19 10:16:46 +03:00
@$( call xport,STAGE1_PACKAGES)
2014-05-07 15:00:07 +04:00
@$( call xport,STAGE1_KCONFIG)
2021-09-13 03:40:44 +03:00
@$( call set,GLOBAL_HSH_PROC,1)
2011-08-20 13:55:05 +04:00
2021-09-04 17:55:21 +03:00
i f n e q ( , $( filter -out e 2k %,$ ( ARCH ) ) )
2022-11-25 14:59:47 +03:00
i f e q ( s i s y p h u s , $( BRANCH ) )
2021-08-31 18:45:57 +03:00
use/stage2 :: use /initrd -bootchain ; @:
e l s e
use/stage2 :: use /initrd -propagator ; @:
e n d i f
2021-09-04 17:55:21 +03:00
e l s e
use/stage2 :: use /initrd -propagator ; @:
e n d i f
2021-08-31 18:45:57 +03:00
2015-04-14 19:58:01 +03:00
# building blocks for propagator's module cove
u s e / s t a g e 2 / a t a u s e / s t a g e 2 / d r m u s e / s t a g e 2 / f s u s e / s t a g e 2 / h i d u s e / s t a g e 2 / m d \
use/stage2/mmc use/stage2/net use/stage2/net-cifs use/stage2/net-nfs \
use/stage2/pcmcia use/stage2/rtc use/stage2/scsi use/stage2/usb \
2020-11-18 10:09:42 +03:00
use/stage2/virtio: \
2015-04-14 19:58:01 +03:00
use/stage2/%: use/stage2
@$( call add,STAGE1_MODLISTS,stage2-$* )
2020-02-06 17:59:59 +03:00
use/stage2/sbc : use /stage 2
i f e q ( , $( filter -out aarch 64,$ ( ARCH ) ) )
@$( call add,STAGE1_MODLISTS,stage2-sbc-aarch64)
e n d i f
@:
2020-09-08 12:04:55 +03:00
use/stage2/kms : use /stage 2/drm use /drm /stage 2/full ; @:
2023-04-10 18:04:15 +03:00
# initrd without nouveau; see ALT bug 31971
use/stage2/kms/nvidia : use /stage 2/drm use /drm /stage 2/nvidia ; @:
2012-06-13 23:07:10 +04:00
2014-01-11 20:48:49 +04:00
# install mount.cifs to stage1
2015-11-16 15:24:49 +03:00
# NB: there's builtin nfsmount there, no reason for nfs-utils
use/stage2/cifs : use /stage 2/net -cifs
2014-01-11 20:48:49 +04:00
@$( call add,STAGE1_PACKAGES,cifs-utils)
2021-09-02 22:12:57 +03:00
# grub submenu 'Network installation'
use/stage2/net-install : use /stage 2/net use /stage 2/cifs \
use/stage2/net-nfs use/grub/netinstall.cfg; @:
2013-03-04 00:37:27 +04:00
# eth0 instead of enp0s3
use/stage2/net-eth : use /stage 2
@$( call add,STAGE1_PACKAGES,udev-rule-generator-net)
@$( call add,STAGE2_PACKAGES,udev-rule-generator-net livecd-net-eth)
2011-08-20 13:55:05 +04:00
# NB: sub/stage2 isn't used standalone but rather
# as a base for various livecd modifications
# (currently install2, live, rescue)