[Pkg-lustre-maintainers] Status of 1.6.2 packaging?

Niklas Edmundsson Niklas.Edmundsson at hpc2n.umu.se
Wed Sep 19 15:01:45 UTC 2007


On Thu, 13 Sep 2007, Goswin von Brederlow wrote:

> I would update dpkg or supply the subsitution variable manually.

I changed binary:Version to Source-Version, it worked much better 
although I suspect there is some difference in some case. If there 
isn't a very good reason for using binary:Version I would suggest 
changing it to Source-Version for back-compatibility reasons.

Building the thing then went fine. However, I have a few packaging 
bugs to report:

linux-patch-lustre should depend on dpatch. There are possibly similar 
dependency issues with lustre-source (quilt/dpatch).

lustre-source seems to install the modules to the wrong directory, ie. 
if uname -r says 2.6.18-lustre-amd64-k8-smp the modules gets put in 
/lib/modules/2.6.18 which isn't too bright.

I submitted a kludge for this back in february, the problem was that 
in 2.6.18 UTSNAME only contains the kernel version, so the lustre 
module install target puts them in the wrong directory. In any case, 
the patch looked like this:

-------------------8<-----------------------------
Index: debian/rules
===================================================================
--- debian/rules        (revision 135)
+++ debian/rules        (working copy)
@@ -256,6 +256,10 @@
         dh_clean -k
         $(MAKE) -C lustre-$(VERSION)
         $(MAKE) -C lustre-$(VERSION)  install DESTDIR=$(CURDIR)/debian/$(PKGNAME
)
+       # Kludge to make modules end up in the right place, UTSNAME only
+       # contains kernel version in 2.6.18 so lustre module install puts them
+       # in the wrong place currently.
+       -mv -f $(CURDIR)/debian/$(PKGNAME)/lib/modules/2.6.?? $(CURDIR)/debian/$(PKGNAME)/lib/modules/$(KVERS)
         # Remove stuff that doesn't belong (no module-only target)
         cd $(CURDIR)/debian/$(PKGNAME) && rm -rf usr sbin etc
         dh_installdocs -p$(PKGNAME)
-------------------8<-----------------------------

I'll hack up something similar to solve my immediate problem, but it 
would be nice if a fix for this could be commited in pkg-lustre since 
I suspect that it affects debian stable too.


/Nikke
-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  Niklas Edmundsson, Admin @ {acc,hpc2n}.umu.se     |    nikke at hpc2n.umu.se
---------------------------------------------------------------------------
  Yea, Verily, and the blind shall C.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=



More information about the Pkg-lustre-maintainers mailing list