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
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
# 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
2012-03-19 15:25:31 +04:00
boot/% :
2011-10-06 12:46:31 +04:00
@$( 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
2012-03-26 23:23:28 +04:00
distro/.init : profile /bare
@$( call try,META_PREPARER,mkimage-profiles)
@$( call try,META_APP_ID,$( IMAGE_NAME) )
@$( call set,META_PUBLISHER,ALT Linux Team)
2011-10-06 12:46:31 +04:00
# NB: the last flavour in KFLAVOURS gets to be the default one;
# the kernel packages regexp evaluation has to take place at build stage
2012-05-08 18:59:57 +04:00
distro/.base : distro /.init use /kernel
2012-03-26 23:23:28 +04:00
@$( call set,META_SYSTEM_ID,LINUX)
@$( call set,META_VOL_ID,ALT Linux $( ARCH) )
@$( call set,META_VOL_SET,ALT Linux)
2011-10-06 12:46:31 +04:00
2011-10-31 14:40:02 +04:00
# something marginally useful (as a network-only installer)
2011-08-21 22:50:43 +04:00
# NB: doesn't carry stage3 thus cannot use/bootloader
2012-04-10 21:56:01 +04:00
distro/installer : distro /.base use /install 2 use /install 2/kvm \
use/syslinux/localboot.cfg
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
2012-03-19 15:25:31 +04:00
distro/.installer : distro /installer use /bootloader /grub use /repo /main ; @:
2012-02-09 11:33:39 +04:00
2011-10-06 12:46:31 +04:00
e n d i f