2010-12-03 17:53:02 +03:00
# step 4: build main subprofile (requisite + optional packages for media)
2010-08-28 20:28:42 +04:00
2011-06-12 19:06:36 +04:00
i f n d e f G L O B A L _ B U I L D D I R
$( error GLOBAL_BUILDDIR not defined )
e n d i f
2010-08-28 20:28:42 +04:00
default : all
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
i n c l u d e $( GLOBAL_BUILDDIR ) / d i s t c f g . m k
2010-09-27 23:02:57 +04:00
i n c l u d e $( GLOBAL_BUILDDIR ) / f u n c t i o n s . m k
i n c l u d e $( MKIMAGE_PREFIX ) / c o n f i g . m k
2010-08-28 20:28:42 +04:00
CHROOT_PACKAGES = apt-utils rsync
2010-12-03 17:53:02 +03:00
2012-04-10 19:14:01 +04:00
IMAGE_PACKAGES_REGEXP = $( THE_PACKAGES_REGEXP) \
$( BASE_PACKAGES_REGEXP) \
$( MAIN_PACKAGES_REGEXP) \
2011-12-19 23:28:42 +04:00
$( call kpackages, \
$( THE_KMODULES) \
$( BASE_KMODULES) \
2012-06-13 23:07:10 +04:00
$( BASE_KMODULES_REGEXP) \
2011-12-19 23:28:42 +04:00
$( MAIN_KMODULES) , \
$( KFLAVOURS) )
IMAGE_PACKAGES = $( call map,list, \
$( THE_LISTS) $( THE_GROUPS) \
$( BASE_LISTS) \
$( MAIN_LISTS) $( MAIN_GROUPS) ) \
$( SYSTEM_PACKAGES) $( COMMON_PACKAGES) \
$( THE_PACKAGES) $( BASE_PACKAGES) $( MAIN_PACKAGES)
2010-08-28 20:28:42 +04:00
2012-04-25 15:08:36 +04:00
- i n c l u d e l i b / * . m k
2010-08-28 20:28:42 +04:00
MKI_DESTDIR = ALTLinux/RPMS.main
MKI_PACK_RESULTS = data
i n c l u d e $( MKIMAGE_PREFIX ) / t a r g e t s . m k
2011-08-16 00:30:20 +04:00
all : $( GLOBAL_DEBUG ) copy -packages pack -image $( GLOBAL_CLEAN_WORKDIR )
2010-08-28 20:28:42 +04:00
debug :
2011-06-13 00:08:42 +04:00
@echo " ** main: IMAGE_PACKAGES: $( IMAGE_PACKAGES) "
@echo " ** main: IMAGE_PACKAGES_REGEXP: $( IMAGE_PACKAGES_REGEXP) "