[Drbd-dev] 0.7.5 release tomorrow...

Helmut Wollmersdorfer helmut at wollmersdorfer.at
Wed Oct 6 15:48:58 CEST 2004


Lars Ellenberg wrote:
> / 2004-10-06 09:24:07 +0200
> \ Philipp Hug:

> now, if I do

> svn co http://svn.drbd.org/drbd/branches/drbd-0.7
> cd drbd-0.7
> make tarball

Aha. Needs to be included in debian packaging HOWTO.

> tar tvzf drbd-0.7.5.tar.gz | grep buildtag
> drbd/drbd_buildtag.c

> # aha. is it missing from the debian thing only?

Only if you try to follow the current debian packaging wiki.

> mkdir tmp
> cd tmp
> tar xvzf ../drbd-0.7.5.tar.gz
> cd drbd-0.7.5
> cd user && make

> # does work, too.

Obviously;-)
That's a developer test of the makefile, but not an acceptance test (or 
sanity check) of drbd-0.7.5/debian.

An ideal installation test should be:
- a fresh instance of $Distri $Version $Kernel $Kernel-Variant
- setup $Package preconditions according to $Package documentation
- a fresh instance $Package download
   use_cases[SVN current | SVN $Version | $Version.tar.gz | ...]
- follow installation instructions
- check post conditions (=expected result)
- report differences between expected and actual behaviour
   (expected and/or actual can be wrong)

Anybody can imagine the exploding number of test cases.
I only did Debian Sarge pre_RC2 [2.4.26-1-386|2.6.8-1-386] [SVN 0.7.5].

>>>xp2400:/home/helmut# mv /lib/modules/2.4.26/kernel/drivers/block/drbd.o 
>>>/lib/modules/2.4.26-1-386/kernel/drivers/block/drbd.o

>>How did you build the kernel module? module-assistant? make-kpkg?
>>anyway: looks like a bug... I'll fix it..

> drbd gets its kernel release (where to install) from the kernel
> makefile itself (which should know...). debian knows better?

Debian can know, but drbd/debian/control does wrong, i.e. Phil has to 
find out the appropriate debhelper (or whatsoever) function.

Helmut Wollmersdorfer


More information about the drbd-dev mailing list