Commit e6aa4ecc authored by Michael Shigorin's avatar Michael Shigorin

use/installer/kms

Just like livecd-install, graphical installer KMS support looks better as an optional part of install2 feature. Of course it's optional only if the release manager is fine with VESA drivers and not KMS-requiring intel/radeon/nouveau; thanks led@ for a confirmation just in case.
parent 6b0e5838
# alterator-based installer, second (livecd) stage
use/install2: use/stage2 sub/stage2/install2 use/metadata use/cleanup/installer use/install2: use/stage2 sub/stage2/install2 use/metadata use/cleanup/installer
@$(call add_feature) @$(call add_feature)
@$(call set,INSTALL2_PACKAGES,installer-distro-$$(INSTALLER)-stage2) @$(call set,INSTALL2_PACKAGES,installer-distro-$$(INSTALLER)-stage2)
...@@ -8,6 +9,10 @@ use/install2: use/stage2 sub/stage2/install2 use/metadata use/cleanup/installer ...@@ -8,6 +9,10 @@ use/install2: use/stage2 sub/stage2/install2 use/metadata use/cleanup/installer
use/install2/net: use/install2 use/install2/net: use/install2
@$(call add,INSTALL2_PACKAGES,curl) @$(call add,INSTALL2_PACKAGES,curl)
# modern free xorg drivers for mainstream hardware requires KMS support
use/install2/kms:
@$(call set,STAGE1_KMODULES_REGEXP,drm.*)
# see also use/vm/kvm/guest; qxl included in xorg pkglist # see also use/vm/kvm/guest; qxl included in xorg pkglist
use/install2/kvm: use/install2/kvm:
@$(call add,INSTALL2_PACKAGES,spice-vdagent xorg-drv-qxl) @$(call add,INSTALL2_PACKAGES,spice-vdagent xorg-drv-qxl)
...@@ -30,10 +30,9 @@ distro/.base: distro/.init use/kernel ...@@ -30,10 +30,9 @@ distro/.base: distro/.init use/kernel
# something marginally useful (as a network-only installer) # something marginally useful (as a network-only installer)
# NB: doesn't carry stage3 thus cannot use/bootloader # NB: doesn't carry stage3 thus cannot use/bootloader
distro/installer: distro/.base use/install2 use/install2/kvm \ distro/installer: distro/.base use/syslinux/localboot.cfg \
use/syslinux/localboot.cfg use/install2 use/install2/kms use/install2/kvm
@$(call set,INSTALLER,altlinux-generic) @$(call set,INSTALLER,altlinux-generic)
@$(call set,STAGE1_KMODULES_REGEXP,drm.*) # for KMS
distro/.installer: distro/installer use/bootloader/grub use/repo/main; @: distro/.installer: distro/installer use/bootloader/grub use/repo/main; @:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment