[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Proposed build system



On Sun, Oct 05, 2003 at 03:31:03AM +0200, Sebastian Ley wrote:
> Hello,
> 
> on the way to a build system that enables us to use the current buildd
> infrastructure for d-i images, I checked in a preliminary proposal into
> cvs.
> 
> I placed it under build/debian_proposed because it discards most of the
> old build system. It is quite simple: 
> 
 [ big snip ]


$ fakeroot debian_proposed/rules binary
for TYPE in i386 ; do \
        make TYPE=$TYPE image ; \
done
make[1]: Entering directory `/usr/src/debian-installer/build'
unsupported type
type: i386
supported types: cdrom floppy netboot bootfloppy
make[1]: *** [make/arch/linux] Error 1
make[1]: Leaving directory `/usr/src/debian-installer/build'
make: *** [build] Error 2


  not funny  ;-)


$ head debian_proposed/rules
#! /usr/bin/make -f
 
ARCH=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
VERSION=$(shell LC_ALL=C dpkg-parsechangelog | grep ^Version: | sed 's/^Version: *//')
TYPES=$(shell dh_listpackages -s | sed s/debian-installer-//)
 
include config/main
include config/dir
 
clean:
stappers@mir-CHROOT:/usr/src/debian-installer/build
$ dh_listpackages -s
debian-installer-i386
stappers@mir-CHROOT:/usr/src/debian-installer/build
$ rm -fr debian
stappers@mir-CHROOT:/usr/src/debian-installer/build
$ mv debian_proposed/ debian/
stappers@mir-CHROOT:/usr/src/debian-installer/build
$ dh_listpackages -s
debian-installer-cdrom
debian-installer-floppy
debian-installer-bootfloppy
debian-installer-netboot
stappers@mir-CHROOT:/usr/src/debian-installer/build
$


HTH


Geert Stappers



Reply to: