* [Drbd-dev] 0.7.5 release tomorrow...
@ 2004-09-29 8:54 Philipp Reisner
2004-09-29 15:55 ` Lars Ellenberg
` (2 more replies)
0 siblings, 3 replies; 11+ messages in thread
From: Philipp Reisner @ 2004-09-29 8:54 UTC (permalink / raw)
To: drbd-dev
Hi,
I will create the 0.7.5 tarball tomorrow (as long as nobody objects)
-philipp
--
: Dipl-Ing Philipp Reisner Tel +43-1-8178292-50 :
: LINBIT Information Technologies GmbH Fax +43-1-8178292-82 :
: Schönbrunnerstr 244, 1120 Vienna, Austria http://www.linbit.com :
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Drbd-dev] 0.7.5 release tomorrow...
2004-09-29 8:54 [Drbd-dev] 0.7.5 release tomorrow Philipp Reisner
@ 2004-09-29 15:55 ` Lars Ellenberg
2004-09-29 21:40 ` Philipp Hug
2004-09-30 12:10 ` Philipp Reisner
2 siblings, 0 replies; 11+ messages in thread
From: Lars Ellenberg @ 2004-09-29 15:55 UTC (permalink / raw)
To: drbd-dev
/ 2004-09-29 10:54:13 +0200
\ Philipp Reisner:
> Hi,
>
> I will create the 0.7.5 tarball tomorrow (as long as nobody objects)
hm. how about first
svn remove benchmark doc/{HOWTO,ja,pt_BR}
?
none of them applies anymore. adding a note to NFS-Server-README.txt as
done in trunk already won't hurt either.
lge
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Drbd-dev] 0.7.5 release tomorrow...
2004-09-29 8:54 [Drbd-dev] 0.7.5 release tomorrow Philipp Reisner
2004-09-29 15:55 ` Lars Ellenberg
@ 2004-09-29 21:40 ` Philipp Hug
2004-09-30 12:10 ` Philipp Reisner
2 siblings, 0 replies; 11+ messages in thread
From: Philipp Hug @ 2004-09-29 21:40 UTC (permalink / raw)
To: drbd-dev; +Cc: Reisner, Philipp, David Krovich
[-- Attachment #1: Type: text/plain, Size: 344 bytes --]
Philipp,
Can you please apply this patch to the debian directory or can you give me
write access to the ./debian/ directory? There are a bunch of renames,
add/removes in the diff, so it might be easier if I do it myself..
I did change the binary package names to drbd0.7 and drbd0.7-source...
David, do you have some more changes?
Philipp
[-- Attachment #2: drbd-debian.diff --]
[-- Type: text/x-diff, Size: 13981 bytes --]
Index: control
===================================================================
--- control (revision 1573)
+++ control (working copy)
@@ -6,10 +6,12 @@
Build-Depends: debhelper (>= 4), debconf-utils, sp, docbook-utils, bison, flex
Standards-Version: 3.6.1
-Package: drbd
+Package: drbd0.7
Architecture: any
Section: misc
Depends: debconf, ${misc:Depends}
+Conflicts: drbd (<< 0.7)
+Provides: drbd
Suggests: heartbeat
Description: RAID 1 over tcp/ip for Linux utilities
Drbd is a block device which is designed to build high availability
@@ -24,10 +26,12 @@
.
Homepage: http://www.drbd.org
-Package: drbd-source
+Package: drbd0.7-source
Architecture: all
Section: misc
Depends: module-assistant
+Conflicts: drbd-source (<< 0.7)
+Provides: drbd-source
Recommends: dpkg-dev, kernel-package, debhelper (>= 4), debconf-utils
Description: RAID 1 over tcp/ip for Linux module source
Drbd is a block device which is designed to build high availability
Index: drbd.install
===================================================================
--- drbd.install (revision 1573)
+++ drbd.install (working copy)
@@ -1,5 +0,0 @@
-user/drbdsetup sbin
-user/drbdadm sbin
-scripts/drbd etc/init.d
-scripts/drbddisk etc/ha.d/resource.d
-scripts/drbd.conf etc
Index: control.modules
===================================================================
--- control.modules (revision 1573)
+++ control.modules (working copy)
@@ -1,37 +0,0 @@
-Source: drbd
-Section: ha
-Priority: extra
-Maintainer: David Krovich <dkrovich@csee.wvu.edu>
-Build-Depends: debhelper (>= 4), kernel-source, cpio, debconf-utils
-Description: RAID 1 over tcp/ip for Linux
- Drbd is a block device which is designed to build high availability
- clusters by providing a virtual shared device which keeps disks in nodes
- synchronised using TCP/IP. This simulates RAID 1 but avoiding the
- use of uncommon hardware (shared SCSI buses or Fibre Channel).
- It is currently limited to fail-over HA clusters.
- .
- This package contains the programs that will control the
- drbd kernel module provided in drbd-source. You will need a clustering
- service (such as heartbeat) to fully implement it.
- .
- Homepage: http://www.drbd.org
-
-Package: drbd-module-#KVERS#
-Architecture: any
-Recommends: dpkg-dev, kernel-package, debhelper (>= 4), debconf-utils, drbd
-Description: RAID 1 over tcp/ip for Linux kernel module.
- This package provides the kernel module for linux kernel #KVERS#
- You have to install the drbd package to be able to use it
- .
- Drbd is a block device which is designed to build high availability
- clusters by providing a virtual shared device which keeps disks in nodes
- synchronised using TCP/IP. This simulates RAID 1 but avoiding the
- use of uncommon hardware (shared SCSI buses or Fibre Channel).
- It is currently limited to fail-over HA clusters.
- .
- This package contains the programs that will control the
- drbd kernel module provided in drbd-source. You will need a clustering
- service (such as heartbeat) to fully implement it.
- .
- Homepage: http://www.drbd.org
-
Index: drbd.postrm
===================================================================
--- drbd.postrm (revision 1573)
+++ drbd.postrm (working copy)
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-if [ "$1" = "purge" ] ; then
- update-rc.d drbd remove >/dev/null
-fi
-#DEBHELPER#
Index: drbd.docs
===================================================================
--- drbd.docs (revision 1573)
+++ drbd.docs (working copy)
@@ -1 +0,0 @@
-documentation/NFS-Server-README.txt
Index: conffiles
===================================================================
--- conffiles (revision 1573)
+++ conffiles (working copy)
@@ -1,3 +0,0 @@
-/etc/init.d/drbd
-/etc/drbd.conf
-/etc/ha.d/resource.d/drbddisk
Index: drbd-source.dirs
===================================================================
--- drbd-source.dirs (revision 1573)
+++ drbd-source.dirs (working copy)
@@ -1,5 +0,0 @@
-usr/src/modules/drbd/debian
-usr/src/modules/drbd/drbd
-
-
-
Index: control.in.MODULE
===================================================================
--- control.in.MODULE (revision 1573)
+++ control.in.MODULE (working copy)
@@ -1,23 +0,0 @@
-Source: drbd
-Section: misc
-Priority: extra
-Maintainer: David Krovich <dkrovich@csee.wvu.edu>
-Build-Depends: debhelper (>= 4), debconf-utils, sp, docbook-utils, kernel-source
-Standards-Version: 3.5.10
-
-Package: drbd-modules-(KERNEL_VERSION)
-Architecture: all
-Section: misc
-Recommends: dpkg-dev, kernel-package, debhelper (>= 4), debconf-utils
-Description: RAID 1 over tcp/ip for Linux module source
- Drbd is a block device which is designed to build high availability
- clusters by providing a virtual shared device which keeps disks in nodes
- synchronised using TCP/IP. This simulates RAID 1 but avoiding the
- use of uncommon hardware (shared SCSI buses or Fibre Channel).
- It is currently limited to fail-over HA clusters.
- .
- This package contains the programs that will control the
- drbd kernel module provided in drbd-source. You will need a clustering
- service (such as heartbeat) to fully implement it.
- .
- Homepage: http://www.drbd.org
Index: rules.MODULE
===================================================================
--- rules.MODULE (revision 1573)
+++ rules.MODULE (working copy)
@@ -1,133 +0,0 @@
-#!/usr/bin/make -f
-# Sample debian/rules that uses debhelper.
-# GNU copyright 1997 by Joey Hess.
-#
-# This version is for a hypothetical package that builds an
-# architecture-dependant package, as well as an architecture-independent
-# package.
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-baseepoch=$(shell expr $(KDREV) : '\([0-9]*\):.*' 2>/dev/null )
-ifneq ($(baseepoch),)
-EPOCH=$(baseepoch):
-endif
-
-REV=$(shell expr $(KDREV) : '[0-9]*:\(.*\)' 2>/dev/null)
-ifeq ($(REV),)
-REV=$(KDREV)
-endif
-
-ARCH=$(shell dpkg --print-architecture)
-PKG_VERSION=$(EPOCH)$(VERSION)+$(REV)
-
-VERSION=$(shell dpkg-parsechangelog | grep ^Version: | cut -d ' ' -f 2)
-
-CHFILE=$(KSRC)/../drbd-source-$(KVERS)_$(PKG_VERSION)_$(ARCH).changes
-
-SMPFLAG=$(shell grep -q '^CONFIG_SMP=y' $(KSRC)/.config && echo "-D__SMP__")
-
-# the main-revision of the kernel
-MAINREV=$(shell echo -n $${KVERS:2:1})
-
-MODNAME=$(shell if [ "$(MAINREV)" -gt "4" ] ; then \
- echo -n "drbd.ko"; \
- else \
- echo -n "drbd.o"; \
- fi)
-
-
-
-# This target verifies that we've got the needed variables passed to us.
-# If the user is using make-kpkg (like he should), it won't be a problem.
-# But - some may have a funny preference of using debian/rules directly,
-# so here it is. It's ripped from the lm-sensors rules file, so if I ever
-# meet you, David Z Maze, I'll buy you a beer. :-)
-check:
- @if [ -z "$(KSRC)" ] ; then \
- echo "I need KSRC! Please set it on the command line." >&2; \
- exit 1; \
- elif [ ! -d "$(KSRC)/include" ] ; then \
- echo "KRSC is set to $(KRSC), but it does not have a include/" >&2; \
- echo "subdirectory! Please fix this." >&2; \
- exit 1; \
- elif [ -z "$(KVERS)" ] ; then \
- echo "KVERS is unset, please set it at the command line." >&2; \
- exit 1; \
- fi
-
-# This target cleans the source tree and the debian/ subdir. Also moves the
-# original debian/control template back to it's original position (thus
-# overwriting the generated one.
-clean:
- dh_testdir
- dh_testroot
- dh_clean
-
- sed 's/(KERNEL_VERSION)/dummy/g' debian/control.in > debian/control
-
- cd drbd && $(MAKE) INCLUDE=-I$(KSRC)/include KERNVER=$(KVERS) KDIR=$(KSRC) clean
-
-# This target builds the kernel module.
-build: build-stamp
-build-stamp: check clean
- dh_testdir
- dh_testroot
-
- cd drbd && $(MAKE) DRBDSRC=`pwd` SUBDIRS=`pwd` KDIR=$(KSRC)
-
- touch build-stamp
-
-# This target installs the module to the temporary install directory.
-install: build
- dh_testdir
- dh_testroot
-# install -m 644 -D drbd/$(MODNAME) debian/drbd-modules-$(KVERS)/lib/modules/$(KVERS)/misc/$(MODNAME)
-
-# To conform with Debian policy.
-binary: binary-arch binary-indep
-
-# Generate a control file, and build the Debian package.
-binary-arch: check install
-
- dh_testdir
- dh_testroot
-
- sed 's/(KERNEL_VERSION)/$(KVERS)/g' debian/control.in > \
- debian/control
- dh_installdirs lib/modules/$(KVERS)/misc
- dh_install -m644 drbd/$(MODNAME) lib/modules/$(KVERS)/kernel/drivers/block
- dh_installdocs
- dh_installmodules
- dh_installchangelogs
- dh_gencontrol -- -v$(PKG_VERSION)
- dh_fixperms
- dh_compress
- dh_installdeb
- dh_md5sums
- dh_builddeb --destdir=$(KSRC)/..
-
-# No architecture-independent files to build.
-binary-indep:
-
-kdist_image:
- $(ROOT_CMD) $(MAKE) $(MFLAGS) -f debian/rules binary
- $(ROOT_CMD) $(MAKE) $(MFLAGS) -f debian/rules clean
-
-kdist:
- $(ROOT_CMD) $(MAKE) $(MFLAGS) -f debian/rules clean
- $(ROOT_CMD) $(MAKE) $(MFLAGS) -f debian/rules binary
- dpkg-genchanges -b -e"$(KMAINT) <$(KEMAIL)>" -u"$(KSRC)/.." > $(CHFILE)
- $(ROOT_CMD) $(MAKE) $(MFLAGS) -f debian/rules clean
-
-kdist_configure:
- # Nothing to do when configured.
-
-kdist_clean:
- $(ROOT_CMD) $(MAKE) $(MFLAGS) -f debian/rules clean
-
-#compatibility with the old package
-binary-modules: kdist
-
-.PHONY: check clean build install binary binary-arch binary-indep kdist_image kdist kdist_configure kdist_clean binary-modules
Index: compat
===================================================================
--- compat (revision 0)
+++ compat (revision 0)
@@ -0,0 +1 @@
+4
Index: Makefile.modules
===================================================================
--- Makefile.modules (revision 1573)
+++ Makefile.modules (working copy)
@@ -1,6 +0,0 @@
-all:
- make -C drbd all
-
-clean:
- make -C drbd clean
-
Index: changelog
===================================================================
--- changelog (revision 1573)
+++ changelog (working copy)
@@ -1,12 +1,12 @@
-drbd (0.7.4-2) unstable; urgency=low
+drbd (0.7.5-1) unstable; urgency=low
* Added bison, flex to Build-Depends
* Call 'make clean' in drbd directory
* Upgraded to debian-policy 3.6.1
* Rewritten debian/rules using module-assistant
+ * Change binary package name to drbd0.7
* Added myself as Uploader
-
-- Philipp Hug <debian@hug.cx> Tue, 14 Sep 2004 23:25:12 +0200
drbd (0.7.4-1) unstable; urgency=low
Index: rules
===================================================================
--- rules (revision 1573)
+++ rules (working copy)
@@ -17,7 +17,6 @@
-include $(MA_DIR)/include/generic.make
-include $(MA_DIR)/include/common-rules.make
-
CFLAGS = -Wall -g
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
@@ -98,24 +97,24 @@
dh_installdirs -i
- cp -a drbd/* debian/drbd-source/usr/src/modules/drbd/drbd
- cp Makefile debian/drbd-source/usr/src/modules/drbd
- cp drbd/linux/drbd_config.h debian/drbd-source/usr/src/modules/drbd
- mkdir debian/drbd-source/usr/src/modules/drbd/scripts/
- cp -a scripts/adjust_drbd_config_h.sh debian/drbd-source/usr/src/modules/drbd/scripts/
+ cp -a drbd/* debian/drbd0.7-source/usr/src/modules/drbd/drbd
+ cp Makefile debian/drbd0.7-source/usr/src/modules/drbd
+ cp drbd/linux/drbd_config.h debian/drbd0.7-source/usr/src/modules/drbd
+ mkdir debian/drbd0.7-source/usr/src/modules/drbd/scripts/
+ cp -a scripts/adjust_drbd_config_h.sh debian/drbd0.7-source/usr/src/modules/drbd/scripts/
# install driver source
- #cp -a drbd debian/drbd-source/usr/src/modules/drbd/
- #mkdir debian/drbd-source/usr/src/modules/drbd/scripts/
- #cp -a scripts/adjust_drbd_config_h.sh debian/drbd-source/usr/src/modules/drbd/scripts/
- #ln -s drbd debian/drbd-source/usr/src/modules/drbd/Linux-2.4
- #ln -s drbd debian/drbd-source/usr/src/modules/drbd/Linux-2.6
+ #cp -a drbd debian/drbd0.7-source/usr/src/modules/drbd/
+ #mkdir debian/drbd0.7-source/usr/src/modules/drbd/scripts/
+ #cp -a scripts/adjust_drbd_config_h.sh debian/drbd0.7-source/usr/src/modules/drbd/scripts/
+ #ln -s drbd debian/drbd0.7-source/usr/src/modules/drbd/Linux-2.4
+ #ln -s drbd debian/drbd0.7-source/usr/src/modules/drbd/Linux-2.6
# install debian/ files
- cd debian ; cp changelog control compat *.modules.in rules copyright drbd-source/usr/src/modules/drbd/debian
+ cd debian ; cp changelog control compat *.modules.in rules copyright drbd0.7-source/usr/src/modules/drbd/debian
# tar the stuff
- cd debian/drbd-source/usr/src/ ; tar pzfvc drbd.tar.gz modules ; rm -rf modules
+ cd debian/drbd0.7-source/usr/src/ ; tar pzfvc drbd0.7.tar.gz modules ; rm -rf modules
dh_install -i
@@ -125,10 +124,6 @@
dh_clean -k -s
dh_installdirs -s
- # Add here commands to install the arch part of the package into
- # debian/tmp.
- #$(MAKE) install DESTDIR=$(CURDIR)/debian/drbd
-
dh_install -s
# Must not depend on anything. This is to be called by
# binary-arch/binary-indep
Index: drbd.postinst
===================================================================
--- drbd.postinst (revision 1573)
+++ drbd.postinst (working copy)
@@ -1,14 +0,0 @@
-#!/bin/sh
-
-if [ -x "/etc/init.d/drbd" ]; then
- update-rc.d drbd defaults 70 8 >/dev/null
-fi
-
-# Make sure /dev/nb[0-7] devices exist
-# cd /dev; for a in `seq 0 7`; do MAKEDEV nb$a; done
-
-for i in `seq 0 15` ; do
- test -b /dev/drbd$i || mknod -m 0660 /dev/drbd$i b 147 $i;
-done
-
-#DEBHELPER#
Index: drbd.prerm
===================================================================
--- drbd.prerm (revision 1573)
+++ drbd.prerm (working copy)
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-if [ -x "/etc/init.d/drbd" ]; then
- /etc/init.d/drbd stop
-fi
-#DEBHELPER#
Index: drbd.manpages
===================================================================
--- drbd.manpages (revision 1573)
+++ drbd.manpages (working copy)
@@ -1,5 +0,0 @@
-documentation/drbd.8
-documentation/drbd.conf.5
-documentation/drbdsetup.8
-documentation/drbdadm.8
-
Index: drbd.dirs
===================================================================
--- drbd.dirs (revision 1573)
+++ drbd.dirs (working copy)
@@ -1,4 +0,0 @@
-usr/bin
-etc
-etc/init.d
-etc/ha.d/resource.d
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Drbd-dev] 0.7.5 release tomorrow...
2004-09-29 8:54 [Drbd-dev] 0.7.5 release tomorrow Philipp Reisner
2004-09-29 15:55 ` Lars Ellenberg
2004-09-29 21:40 ` Philipp Hug
@ 2004-09-30 12:10 ` Philipp Reisner
2004-09-30 15:46 ` Philipp Hug
2 siblings, 1 reply; 11+ messages in thread
From: Philipp Reisner @ 2004-09-30 12:10 UTC (permalink / raw)
To: drbd-dev
On Wednesday 29 September 2004 10:54, Philipp Reisner wrote:
> Hi,
>
> I will create the 0.7.5 tarball tomorrow (as long as nobody objects)
>
Hi,
Ok, too much work today, will do 0.7.5 tagging on Friday.
-philipp
--
: Dipl-Ing Philipp Reisner Tel +43-1-8178292-50 :
: LINBIT Information Technologies GmbH Fax +43-1-8178292-82 :
: Schönbrunnerstr 244, 1120 Vienna, Austria http://www.linbit.com :
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Drbd-dev] 0.7.5 release tomorrow...
2004-09-30 12:10 ` Philipp Reisner
@ 2004-09-30 15:46 ` Philipp Hug
2004-10-05 21:44 ` Helmut Wollmersdorfer
0 siblings, 1 reply; 11+ messages in thread
From: Philipp Hug @ 2004-09-30 15:46 UTC (permalink / raw)
To: Philipp Reisner, drbd-dev, David Krovich
I created some pre-release debian packages based on the current svn drbd
version.
So if anyone wants to try 'em? I didn't have the time to really test them yet...
add this to your sources.list:
deb http://debian.hug.cx/debian/ unstable/
David: do you have some more fixes?
Philipp
----- Original Message -----
From: "Philipp Reisner" <philipp.reisner@linbit.com>
To: <drbd-dev@lists.linbit.com>
Sent: Thursday, September 30, 2004 2:10 PM
Subject: Re: [Drbd-dev] 0.7.5 release tomorrow...
> On Wednesday 29 September 2004 10:54, Philipp Reisner wrote:
>> Hi,
>>
>> I will create the 0.7.5 tarball tomorrow (as long as nobody objects)
>>
>
> Hi,
>
> Ok, too much work today, will do 0.7.5 tagging on Friday.
>
> -philipp
> --
> : Dipl-Ing Philipp Reisner Tel +43-1-8178292-50 :
> : LINBIT Information Technologies GmbH Fax +43-1-8178292-82 :
> : Schönbrunnerstr 244, 1120 Vienna, Austria http://www.linbit.com :
> _______________________________________________
> drbd-dev mailing list
> drbd-dev@lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-dev
>
>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Drbd-dev] 0.7.5 release tomorrow...
2004-09-30 15:46 ` Philipp Hug
@ 2004-10-05 21:44 ` Helmut Wollmersdorfer
2004-10-05 23:28 ` Helmut Wollmersdorfer
2004-10-06 7:24 ` Philipp Hug
0 siblings, 2 replies; 11+ messages in thread
From: Helmut Wollmersdorfer @ 2004-10-05 21:44 UTC (permalink / raw)
To: drbd-dev
Philipp Hug wrote:
> I created some pre-release debian packages based on the current svn drbd
> version.
> So if anyone wants to try 'em? I didn't have the time to really test
> them yet...
Trying from a fresh checkout:
helmut@xp2400:~$ uname -a
Linux xp2400 2.4.26-1-386 #1 Tue Aug 24 13:31:19 JST 2004 i686 GNU/Linux
helmut@xp2400:~$ svn co http://svn.drbd.org/drbd/tags/drbd-0.7.5
helmut@xp2400:~$ cd drbd-0.7.5
helmut@xp2400:~/drbd-0.7.5$ su
Password:
xp2400:/home/helmut/drbd-0.7.5# dpkg-buildpackage -us -uc -b
dpkg-buildpackage: source package is drbd
dpkg-buildpackage: source version is 0.7.5-1
[...]
cd user && /usr/bin/make
make[1]: Entering directory `/home/helmut/drbd-0.7.5/user'
gcc -c -Wall -I../drbd -c -o drbdsetup.o drbdsetup.c
make[1]: *** No rule to make target `../drbd/drbd_buildtag.o', needed by
`drbdsetup'. Stop.
make[1]: Leaving directory `/home/helmut/drbd-0.7.5/user'
make: *** [build-arch-stamp] Error 2
After
make install-tools
as workaround it builds .debs and works the usual debian way.
Next item:
Whatever the reason is, the following is necessary with current packaging
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
to make this
xp2400:/usr/src# update-modules
xp2400:/usr/src# modprobe drbd
working in Sarge.
Now I will try in Sarge + 2.6.8-1, coming soon ...
> add this to your sources.list:
> deb http://debian.hug.cx/debian/ unstable/
| Forbidden
|
| You don't have permission to access /debian/ on this server.
BTW:
http://packages.debian.org/unstable/misc/drbd
| Not Found
| The requested URL /unstable/misc/drbd was not found on this server.
Helmut Wollmersdorfer
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Drbd-dev] 0.7.5 release tomorrow...
2004-10-05 21:44 ` Helmut Wollmersdorfer
@ 2004-10-05 23:28 ` Helmut Wollmersdorfer
2004-10-06 7:24 ` Philipp Hug
1 sibling, 0 replies; 11+ messages in thread
From: Helmut Wollmersdorfer @ 2004-10-05 23:28 UTC (permalink / raw)
To: drbd-dev
Helmut Wollmersdorfer wrote:
> Next item:
> Whatever the reason is, the following is necessary with current packaging
>
> 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
[...]
> Now I will try in Sarge + 2.6.8-1, coming soon ...
It needs the same:
via1:/usr/src# mv /lib/modules/2.6.8/kernel/drivers/block/drbd.ko
/lib/modules/2.6.8-1-386/kernel/drivers/block/drbd.ko
Helmut Wollmersdorfer
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Drbd-dev] 0.7.5 release tomorrow...
2004-10-05 21:44 ` Helmut Wollmersdorfer
2004-10-05 23:28 ` Helmut Wollmersdorfer
@ 2004-10-06 7:24 ` Philipp Hug
2004-10-06 9:32 ` Helmut Wollmersdorfer
2004-10-06 9:38 ` Lars Ellenberg
1 sibling, 2 replies; 11+ messages in thread
From: Philipp Hug @ 2004-10-06 7:24 UTC (permalink / raw)
To: Helmut Wollmersdorfer, drbd-dev
> [...]
> cd user && /usr/bin/make
> make[1]: Entering directory `/home/helmut/drbd-0.7.5/user'
> gcc -c -Wall -I../drbd -c -o drbdsetup.o drbdsetup.c
> make[1]: *** No rule to make target `../drbd/drbd_buildtag.o', needed by
> `drbdsetup'. Stop.
> make[1]: Leaving directory `/home/helmut/drbd-0.7.5/user'
> make: *** [build-arch-stamp] Error 2
>
> After
> make install-tools
> as workaround it builds .debs and works the usual debian way.
Shouldn't drbd_buildtag.c be included in the release tarball?
If not, I'll add the workaround to the debian packaging...
> Next item:
> Whatever the reason is, the following is necessary with current packaging
>
> 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..
philipp
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Drbd-dev] 0.7.5 release tomorrow...
2004-10-06 7:24 ` Philipp Hug
@ 2004-10-06 9:32 ` Helmut Wollmersdorfer
2004-10-06 9:38 ` Lars Ellenberg
1 sibling, 0 replies; 11+ messages in thread
From: Helmut Wollmersdorfer @ 2004-10-06 9:32 UTC (permalink / raw)
To: drbd-dev
Philipp Hug wrote:
> Shouldn't drbd_buildtag.c be included in the release tarball?
I used svn checkout.
> If not, I'll add the workaround to the debian packaging...
Thx in advance. Maybe the easier way to support debian packaging from
svn would be, to provide something like "make buildtag".
>> 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?
make-kpkg
I never used module-assistant.
> anyway: looks like a bug... I'll fix it..
Seems so. Take a look into pcmcia-modules, how this problem is solved there.
Helmut Wollmersdorfer
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Drbd-dev] 0.7.5 release tomorrow...
2004-10-06 7:24 ` Philipp Hug
2004-10-06 9:32 ` Helmut Wollmersdorfer
@ 2004-10-06 9:38 ` Lars Ellenberg
2004-10-06 13:48 ` Helmut Wollmersdorfer
1 sibling, 1 reply; 11+ messages in thread
From: Lars Ellenberg @ 2004-10-06 9:38 UTC (permalink / raw)
To: drbd-dev
/ 2004-10-06 09:24:07 +0200
\ Philipp Hug:
> >[...]
> >cd user && /usr/bin/make
> >make[1]: Entering directory `/home/helmut/drbd-0.7.5/user'
> >gcc -c -Wall -I../drbd -c -o drbdsetup.o drbdsetup.c
> >make[1]: *** No rule to make target `../drbd/drbd_buildtag.o', needed by
> >`drbdsetup'. Stop.
> >make[1]: Leaving directory `/home/helmut/drbd-0.7.5/user'
> >make: *** [build-arch-stamp] Error 2
> >
> >After
> > make install-tools
> >as workaround it builds .debs and works the usual debian way.
> Shouldn't drbd_buildtag.c be included in the release tarball?
> If not, I'll add the workaround to the debian packaging...
now, if I do
svn co http://svn.drbd.org/drbd/branches/drbd-0.7
cd drbd-0.7
make tarball
tar tvzf drbd-0.7.5.tar.gz | grep buildtag
drbd/drbd_buildtag.c
# aha. is it missing from the debian thing only?
mkdir tmp
cd tmp
tar xvzf ../drbd-0.7.5.tar.gz
cd drbd-0.7.5
cd user && make
# does work, too.
BTW, you are not supposed to do "cd user && make",
you are supposed to do "make tools" instead,
which does a little bit more than that.
> >Next item:
> >Whatever the reason is, the following is necessary with current packaging
> >
> >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?
lge
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Drbd-dev] 0.7.5 release tomorrow...
2004-10-06 9:38 ` Lars Ellenberg
@ 2004-10-06 13:48 ` Helmut Wollmersdorfer
0 siblings, 0 replies; 11+ messages in thread
From: Helmut Wollmersdorfer @ 2004-10-06 13:48 UTC (permalink / raw)
To: drbd-dev
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
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2004-10-06 13:48 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-29 8:54 [Drbd-dev] 0.7.5 release tomorrow Philipp Reisner
2004-09-29 15:55 ` Lars Ellenberg
2004-09-29 21:40 ` Philipp Hug
2004-09-30 12:10 ` Philipp Reisner
2004-09-30 15:46 ` Philipp Hug
2004-10-05 21:44 ` Helmut Wollmersdorfer
2004-10-05 23:28 ` Helmut Wollmersdorfer
2004-10-06 7:24 ` Philipp Hug
2004-10-06 9:32 ` Helmut Wollmersdorfer
2004-10-06 9:38 ` Lars Ellenberg
2004-10-06 13:48 ` Helmut Wollmersdorfer
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.