Bug #28
Debian build vs our makefiles
| Status: | New | Start: | 06/01/2009 | |
| Priority: | Normal | Due date: | ||
| Assigned to: | % Done: | 0% |
||
| Category: | Build system | |||
| Target version: | 3.1 | |||
Description
Current implementation contradicts our general Makefile philosophy: i.e. you won't get what you expect when you run "make all". While "all" is defined as:
ifeq ($(FLAVOUR), enterprise) all: build-package build-root rsync build-server rsync-server else ifeq ($(FLAVOUR), live) all: build-package build-root build-boot build-live else
running "all" for LiveCD would result in long-time and useless "build-root" run, while the actual building of Live CD's root and image is done in "build-live". "build-boot" is undefined for Debian and thus it would fail.
It can be fixed in two ways:- define "all" in build/debian/Makefile,
- fix process to do truly separate "build-root" and "build-live" steps, so they can be initiated on demand.
According to manual:
lh_build is a meta-helper. It calls all necessary live-helper programs in the correct order to complete the bootstrap, chroot, binary, and source stage.
I guess these stages map directly on our "build-root", "build-boot", "build-live" concept.