svn commit by lars - r2551 - in branches/drbd-0.7: . drbd drbd/linux scripts - fix some odities in the paranoia checks of our build sy
Subsystems (2)
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 13 lines · On 2006-10-19T16:56:00, [email protected] wrote:
Author: lars
Date: 2006-10-19 16:55:58 +0200 (Thu, 19 Oct 2006) New Revision: 2551Added:
branches/drbd-0.7/scripts/get_uts_release.sh
Modified:branches/drbd-0.7/Makefile branches/drbd-0.7/drbd.spec.in branches/drbd-0.7/drbd/Makefile branches/drbd-0.7/drbd/drbd_worker.c branches/drbd-0.7/drbd/linux/drbd_config.h branches/drbd-0.7/scripts/adjust_drbd_config_h.sh
Quoted 3 lines
Log:
fix some odities in the paranoia checks of our build system, should build agains 2.6.18 now out of the box.
That actually introduced a bug: building the tgz now requires the kernel source to be installed, which is in fact only required when the kernel modules are built (and which could happen on another system).
How about the rather simple patch attached instead?
Signature · 4 lines
High Availability & Clustering SUSE Labs, Research and Development SUSE LINUX Products GmbH - A Novell Business -- Charles Darwin "Ignorance more frequently begets confidence than does knowledge"
Makefile +4 -3
@@ -160,9 +160,6 @@ KDIR := $(shell echo /lib/modules/`uname -r`/build) KVER := $(shell KDIR=$(KDIR) O=$(O) scripts/get_uts_release.sh) -ifeq ($(KVER),) -$(error "could not determine uts_release") -endif kernel-patch: drbd/drbd_buildtag.c set -o errexit; \
@@ -173,6 +170,10 @@ # maybe even dist/RPMS/$(ARCH) ? rpm: tgz + @if [ -z "$(KVER)" ]; then \ + echo "Could not determine uts_release" ; \ + false ; \ + fi mkdir -p dist/BUILD \ dist/RPMS \ dist/SPECS \
On 2006-10-24T16:48:35, Lars Marowsky-Bree <[email protected]> wrote:
This seems to have gotten lost. Can I interest you in the patch again?
Quoted 60 lines · On 2006-10-19T16:56:00, [email protected] wrote:
Quoted 14 lines
Author: lars
Date: 2006-10-19 16:55:58 +0200 (Thu, 19 Oct 2006) New Revision: 2551Added:
branches/drbd-0.7/scripts/get_uts_release.sh
Modified:branches/drbd-0.7/Makefile branches/drbd-0.7/drbd.spec.in branches/drbd-0.7/drbd/Makefile branches/drbd-0.7/drbd/drbd_worker.c branches/drbd-0.7/drbd/linux/drbd_config.h branches/drbd-0.7/scripts/adjust_drbd_config_h.shQuoted 3 lines
Log:
fix some odities in the paranoia checks of our build system, should build agains 2.6.18 now out of the box.That actually introduced a bug: building the tgz now requires the kernel source to be installed, which is in fact only required when the kernel modules are built (and which could happen on another system).
How about the rather simple patch attached instead?
Signature · 8 lines
High Availability & Clustering SUSE Labs, Research and Development SUSE LINUX Products GmbH - A Novell Business -- Charles Darwin "Ignorance more frequently begets confidence than does knowledge" Index: Makefile ===================================================================Makefile +4
-3@@ -160,9 +160,6 @@ KDIR := $(shell echo /lib/modules/`uname -r`/build) KVER := $(shell KDIR=$(KDIR) O=$(O) scripts/get_uts_release.sh) -ifeq ($(KVER),) -$(error "could not determine uts_release") -endif kernel-patch: drbd/drbd_buildtag.c set -o errexit; \@@ -173,6 +170,10 @@ # maybe even dist/RPMS/$(ARCH) ? rpm: tgz + @if [ -z "$(KVER)" ]; then \ + echo "Could not determine uts_release" ; \ + false ; \ + fi mkdir -p dist/BUILD \ dist/RPMS \ dist/SPECS \
Quoted 4 lines
_______________________________________________
drbd-dev mailing list
[email protected]
http://lists.linbit.com/mailman/listinfo/drbd-dev
Sincerely,
Mit freundlichen Grüßen,
Lars Marowsky-Brée
Signature · 4 lines
High Availability & Clustering SUSE Labs, Research and Development SUSE LINUX Products GmbH - A Novell Business -- Charles Darwin "Ignorance more frequently begets confidence than does knowledge"