2011-10-06 12:46:31 +04:00
# step 2: build up distribution's configuration
i f n d e f M K I M A G E _ P R O F I L E S
$( error this makefile is designed to be included in toplevel one )
2011-06-12 19:06:36 +04:00
e n d i f
2011-05-11 23:40:47 +04:00
2011-10-06 12:46:31 +04:00
# NB: distro/ targets should be defined in this file
DISTRO_TARGETS := $( shell sed -n 's,^\(distro/[^:.]\+\):.*$$,\1,p' \
$( lastword $( MAKEFILE_LIST) ) | sort)
i f e q ( d i s t r o , $( IMAGE_CLASS ) )
2011-05-11 23:40:47 +04:00
2011-10-06 12:46:31 +04:00
.PHONY : $( DISTRO_TARGETS )
2010-08-28 20:28:42 +04:00
2011-10-06 12:46:31 +04:00
# request particular image subprofile inclusion
sub/% :
@$( call add,SUBPROFILES,$( @:sub/%= %) )
2010-09-09 13:50:29 +04:00
2011-10-06 12:46:31 +04:00
# install media bootloader
boot/% : profile /bare use /syslinux
@$( call set,BOOTLOADER,$* )
2010-09-14 09:44:35 +04:00
2011-10-06 12:46:31 +04:00
# fundamental targets
2010-09-08 22:37:51 +04:00
2011-10-06 12:46:31 +04:00
distro/.init : profile /bare
# NB: the last flavour in KFLAVOURS gets to be the default one;
# the kernel packages regexp evaluation has to take place at build stage
distro/.base : distro /.init use /syslinux /localboot .cfg
@$( call set,KFLAVOURS,std-def)
# bootloader test target
distro/syslinux : distro /.init \
server-ovz; KDEFAULT; syslinux features reworked
Renamed server-light.iso into server-ovz.iso to avoid brand dilution
and confusion (rider@'s server-light rather favours kvm, anyways).
Introduced KDEFAULT: a reliable default kernel chooser knob
since apt's regex ordering proved pretty unreliable.
Spelling things explicitly is better anyways.
SYSLINUX related features undergone pretty major rewrite
(that includes syslinux, hdt and memtest).
The problem to tackle was features.in/syslinux/generate.mk
assuming syslinux and pciids available in build *host* system;
this well might not be the case (or worse yet, those can be
just different). So now we're a bit less elegant and a bit
more enterprise, stuffing things into chroot and working there.
Bunch of other fixes along the road, including ; to name a few:
- fixed memtest entry (overlooked while renaming SYSLINUX_ITEMS)
- new and shiny doc/CodingStyle
- gfxboot, stage1 target chain, hdt tweaks
- distro.mk rehashed
- README++
- TODO: dropped (integer overflow anyways)
+ actually moved off-tree to reduce commit spam
- s,\.config\.mk,distcfg.mk,g
- doc/profiles.mk.sample: sample ~/.mkimage/profiles.mk
- ...and assorted fixups/additions
Sorry for convoluted commit, this would have been pretty hard to
rework into some really readable shape (and you might be interested
in the original repo's history horrors then, anyways).
2011-05-31 02:05:33 +04:00
use/syslinux use/syslinux/localboot.cfg \
2011-10-06 12:46:31 +04:00
use/syslinux/ui-vesamenu use/hdt use/memtest
# live images
distro/live : distro /.base use /live use /syslinux /ui -menu
distro/rescue : distro /.base use /rescue use /syslinux /ui -menu
distro/dos : distro /.init use /dos use /syslinux /ui -menu
2010-09-13 18:22:05 +04:00
server-ovz; KDEFAULT; syslinux features reworked
Renamed server-light.iso into server-ovz.iso to avoid brand dilution
and confusion (rider@'s server-light rather favours kvm, anyways).
Introduced KDEFAULT: a reliable default kernel chooser knob
since apt's regex ordering proved pretty unreliable.
Spelling things explicitly is better anyways.
SYSLINUX related features undergone pretty major rewrite
(that includes syslinux, hdt and memtest).
The problem to tackle was features.in/syslinux/generate.mk
assuming syslinux and pciids available in build *host* system;
this well might not be the case (or worse yet, those can be
just different). So now we're a bit less elegant and a bit
more enterprise, stuffing things into chroot and working there.
Bunch of other fixes along the road, including ; to name a few:
- fixed memtest entry (overlooked while renaming SYSLINUX_ITEMS)
- new and shiny doc/CodingStyle
- gfxboot, stage1 target chain, hdt tweaks
- distro.mk rehashed
- README++
- TODO: dropped (integer overflow anyways)
+ actually moved off-tree to reduce commit spam
- s,\.config\.mk,distcfg.mk,g
- doc/profiles.mk.sample: sample ~/.mkimage/profiles.mk
- ...and assorted fixups/additions
Sorry for convoluted commit, this would have been pretty hard to
rework into some really readable shape (and you might be interested
in the original repo's history horrors then, anyways).
2011-05-31 02:05:33 +04:00
# $(VAR) will be substituted before writing them to $(CONFIG);
2011-09-13 20:39:31 +04:00
# $$(VAR) will remain unsubstituted until $(CONFIG) is included
server-ovz; KDEFAULT; syslinux features reworked
Renamed server-light.iso into server-ovz.iso to avoid brand dilution
and confusion (rider@'s server-light rather favours kvm, anyways).
Introduced KDEFAULT: a reliable default kernel chooser knob
since apt's regex ordering proved pretty unreliable.
Spelling things explicitly is better anyways.
SYSLINUX related features undergone pretty major rewrite
(that includes syslinux, hdt and memtest).
The problem to tackle was features.in/syslinux/generate.mk
assuming syslinux and pciids available in build *host* system;
this well might not be the case (or worse yet, those can be
just different). So now we're a bit less elegant and a bit
more enterprise, stuffing things into chroot and working there.
Bunch of other fixes along the road, including ; to name a few:
- fixed memtest entry (overlooked while renaming SYSLINUX_ITEMS)
- new and shiny doc/CodingStyle
- gfxboot, stage1 target chain, hdt tweaks
- distro.mk rehashed
- README++
- TODO: dropped (integer overflow anyways)
+ actually moved off-tree to reduce commit spam
- s,\.config\.mk,distcfg.mk,g
- doc/profiles.mk.sample: sample ~/.mkimage/profiles.mk
- ...and assorted fixups/additions
Sorry for convoluted commit, this would have been pretty hard to
rework into some really readable shape (and you might be interested
in the original repo's history horrors then, anyways).
2011-05-31 02:05:33 +04:00
# and their value requested (so the variable referenced
# can change its value during configuration _before_
# it's actually used); just peek inside $(CONFIG) ;-)
2011-07-21 00:04:28 +04:00
# BASE_PACKAGES, BASE_LISTS, MAIN_PACKAGES, MAIN_LISTS: see sub.in/main/
2010-08-28 20:28:42 +04:00
server-ovz; KDEFAULT; syslinux features reworked
Renamed server-light.iso into server-ovz.iso to avoid brand dilution
and confusion (rider@'s server-light rather favours kvm, anyways).
Introduced KDEFAULT: a reliable default kernel chooser knob
since apt's regex ordering proved pretty unreliable.
Spelling things explicitly is better anyways.
SYSLINUX related features undergone pretty major rewrite
(that includes syslinux, hdt and memtest).
The problem to tackle was features.in/syslinux/generate.mk
assuming syslinux and pciids available in build *host* system;
this well might not be the case (or worse yet, those can be
just different). So now we're a bit less elegant and a bit
more enterprise, stuffing things into chroot and working there.
Bunch of other fixes along the road, including ; to name a few:
- fixed memtest entry (overlooked while renaming SYSLINUX_ITEMS)
- new and shiny doc/CodingStyle
- gfxboot, stage1 target chain, hdt tweaks
- distro.mk rehashed
- README++
- TODO: dropped (integer overflow anyways)
+ actually moved off-tree to reduce commit spam
- s,\.config\.mk,distcfg.mk,g
- doc/profiles.mk.sample: sample ~/.mkimage/profiles.mk
- ...and assorted fixups/additions
Sorry for convoluted commit, this would have been pretty hard to
rework into some really readable shape (and you might be interested
in the original repo's history horrors then, anyways).
2011-05-31 02:05:33 +04:00
# something actually useful (as a network-only installer)
2011-08-21 22:50:43 +04:00
# NB: doesn't carry stage3 thus cannot use/bootloader
2011-08-20 13:55:05 +04:00
distro/installer : distro /.base use /install 2
2011-07-20 22:50:48 +04:00
@$( call set,INSTALLER,altlinux-generic)
2011-08-18 19:18:46 +04:00
@$( call set,STAGE1_KMODULES_REGEXP,drm.*) # for KMS
server-ovz; KDEFAULT; syslinux features reworked
Renamed server-light.iso into server-ovz.iso to avoid brand dilution
and confusion (rider@'s server-light rather favours kvm, anyways).
Introduced KDEFAULT: a reliable default kernel chooser knob
since apt's regex ordering proved pretty unreliable.
Spelling things explicitly is better anyways.
SYSLINUX related features undergone pretty major rewrite
(that includes syslinux, hdt and memtest).
The problem to tackle was features.in/syslinux/generate.mk
assuming syslinux and pciids available in build *host* system;
this well might not be the case (or worse yet, those can be
just different). So now we're a bit less elegant and a bit
more enterprise, stuffing things into chroot and working there.
Bunch of other fixes along the road, including ; to name a few:
- fixed memtest entry (overlooked while renaming SYSLINUX_ITEMS)
- new and shiny doc/CodingStyle
- gfxboot, stage1 target chain, hdt tweaks
- distro.mk rehashed
- README++
- TODO: dropped (integer overflow anyways)
+ actually moved off-tree to reduce commit spam
- s,\.config\.mk,distcfg.mk,g
- doc/profiles.mk.sample: sample ~/.mkimage/profiles.mk
- ...and assorted fixups/additions
Sorry for convoluted commit, this would have been pretty hard to
rework into some really readable shape (and you might be interested
in the original repo's history horrors then, anyways).
2011-05-31 02:05:33 +04:00
2011-07-21 00:04:28 +04:00
# server distributions
2010-08-24 13:48:35 +04:00
2011-08-21 22:50:43 +04:00
distro/server-base : distro /installer sub /main \
use/syslinux/ui-menu use/memtest use/bootloader/grub
2010-10-29 13:11:03 +04:00
@$( call add,BASE_LISTS,server-base)
2010-08-24 13:48:35 +04:00
2011-09-13 20:39:31 +04:00
distro/server-mini : distro /server -base use /cleanup /x 11-alterator
2011-08-31 23:41:34 +04:00
@$( call set,KFLAVOURS,el-smp)
@$( call add,KMODULES,e1000e igb)
@$( call add,BASE_LISTS,\
$( call tags,base && ( server || network || security || pkg) ) )
@$( call add,BASE_LISTS,$( call tags,extra network) )
2011-09-03 14:59:13 +04:00
distro/server-ovz : distro /server -base \
2011-09-14 10:20:52 +04:00
use/hdt use/rescue use/firmware/server use/powerbutton/acpi \
use/cleanup/x11-alterator
2011-08-18 19:18:46 +04:00
@$( call set,STAGE1_KFLAVOUR,std-def)
server-ovz; KDEFAULT; syslinux features reworked
Renamed server-light.iso into server-ovz.iso to avoid brand dilution
and confusion (rider@'s server-light rather favours kvm, anyways).
Introduced KDEFAULT: a reliable default kernel chooser knob
since apt's regex ordering proved pretty unreliable.
Spelling things explicitly is better anyways.
SYSLINUX related features undergone pretty major rewrite
(that includes syslinux, hdt and memtest).
The problem to tackle was features.in/syslinux/generate.mk
assuming syslinux and pciids available in build *host* system;
this well might not be the case (or worse yet, those can be
just different). So now we're a bit less elegant and a bit
more enterprise, stuffing things into chroot and working there.
Bunch of other fixes along the road, including ; to name a few:
- fixed memtest entry (overlooked while renaming SYSLINUX_ITEMS)
- new and shiny doc/CodingStyle
- gfxboot, stage1 target chain, hdt tweaks
- distro.mk rehashed
- README++
- TODO: dropped (integer overflow anyways)
+ actually moved off-tree to reduce commit spam
- s,\.config\.mk,distcfg.mk,g
- doc/profiles.mk.sample: sample ~/.mkimage/profiles.mk
- ...and assorted fixups/additions
Sorry for convoluted commit, this would have been pretty hard to
rework into some really readable shape (and you might be interested
in the original repo's history horrors then, anyways).
2011-05-31 02:05:33 +04:00
@$( call set,KFLAVOURS,std-def ovz-el)
2011-06-12 19:06:36 +04:00
@$( call add,KMODULES,bcmwl e1000e igb ndiswrapper rtl8168 rtl8192)
@$( call add,KMODULES,ipset ipt-netflow opendpi pf_ring xtables-addons)
@$( call add,KMODULES,drbd83 kvm)
server-ovz; KDEFAULT; syslinux features reworked
Renamed server-light.iso into server-ovz.iso to avoid brand dilution
and confusion (rider@'s server-light rather favours kvm, anyways).
Introduced KDEFAULT: a reliable default kernel chooser knob
since apt's regex ordering proved pretty unreliable.
Spelling things explicitly is better anyways.
SYSLINUX related features undergone pretty major rewrite
(that includes syslinux, hdt and memtest).
The problem to tackle was features.in/syslinux/generate.mk
assuming syslinux and pciids available in build *host* system;
this well might not be the case (or worse yet, those can be
just different). So now we're a bit less elegant and a bit
more enterprise, stuffing things into chroot and working there.
Bunch of other fixes along the road, including ; to name a few:
- fixed memtest entry (overlooked while renaming SYSLINUX_ITEMS)
- new and shiny doc/CodingStyle
- gfxboot, stage1 target chain, hdt tweaks
- distro.mk rehashed
- README++
- TODO: dropped (integer overflow anyways)
+ actually moved off-tree to reduce commit spam
- s,\.config\.mk,distcfg.mk,g
- doc/profiles.mk.sample: sample ~/.mkimage/profiles.mk
- ...and assorted fixups/additions
Sorry for convoluted commit, this would have been pretty hard to
rework into some really readable shape (and you might be interested
in the original repo's history horrors then, anyways).
2011-05-31 02:05:33 +04:00
@$( call add,BASE_LISTS,ovz-server)
2010-09-18 18:46:32 +04:00
@$( call add,BASE_LISTS,$( call tags,base server) )
2011-08-31 23:41:34 +04:00
@$( call add,MAIN_LISTS,kernel-wifi)
2011-09-01 13:04:04 +04:00
@$( call add,MAIN_GROUPS,dns-server http-server ftp-server kvm-server)
@$( call add,MAIN_GROUPS,ipmi mysql-server dhcp-server mail-server)
@$( call add,MAIN_GROUPS,monitoring diag-tools)
2010-09-18 18:46:32 +04:00
2011-07-21 00:04:28 +04:00
# desktop distributions
distro/desktop-base : distro /installer sub /main \
2011-08-21 22:50:43 +04:00
use/syslinux/ui-vesamenu use/x11/xorg use/bootloader/grub
2011-07-21 00:04:28 +04:00
2011-09-03 14:59:13 +04:00
distro/icewm : distro /desktop -base \
use/lowmem use/x11/xdm use/x11/runlevel5 \
2011-09-13 20:39:31 +04:00
use/bootloader/lilo use/powerbutton/acpi \
use/cleanup/alterator
2011-07-21 00:04:28 +04:00
@$( call add,BASE_LISTS,$( call tags,icewm desktop) )
# NB: if there are too many screens above, it might make sense to distro.d/
2011-10-06 12:46:31 +04:00
e n d i f