[Pkg-lustre-maintainers] Bug#466479: linux-patch-lustre: Broken when user's ~/.quiltrc settings exist

Roberto C. Sanchez roberto at connexer.com
Tue Feb 19 02:41:23 UTC 2008


Package: linux-patch-lustre
Version: 1.6.4.2-1
Severity: normal
Tags: patch

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Please apply the attached patches.  It appears that the apply and
unpatch scripts define the QUILT variable to be the quilt command run
with the --quiltrc option to read /dev/null.  Except that the variable
is never used, with quilt being simply called as normal.  If the user
then has a ~/.quiltrc with variable set in it, those affect the
application of the lustre patch.

Regards,

- -Roberto

- -- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-k7
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHukHT5SXWIKfIlGQRApkUAJkBAXLTonE662lrEMa6E/ZozIXByQCfbljo
0NA4Wb9wURKUHk22GBVwMyo=
=6Tcb
-----END PGP SIGNATURE-----
-------------- next part --------------
--- apply.orig	2008-01-24 11:51:48.000000000 -0500
+++ apply	2008-02-18 21:33:38.000000000 -0500
@@ -58,7 +58,7 @@
 trap cleanup EXIT
 
 echo >&2 Setting up quilt
-quilt setup $TOPPATCHDIR/series/$KERNELRELEASE-vanilla.series 2>/dev/null
+$QUILT setup $TOPPATCHDIR/series/$KERNELRELEASE-vanilla.series 2>/dev/null
 ERR=$?
 if ! [ $ERR = 0 ]; then
   echo >&2 Quilt failed to initialize
@@ -67,12 +67,12 @@
 fi
 
 echo >&2 Applying lustre patches
-quilt push -a
+$QUILT push -a
 ERR=$?
 if ! [ $ERR = 0 ]; then
   echo >&2 Lustre patched failed to apply
   echo >&2 Reverting partialy applied patch
-  quilt pop -a
+  $QUILT pop -a
   cleanup
   exit $ERR
 fi
-------------- next part --------------
--- unpatch.orig	2008-02-18 21:34:43.000000000 -0500
+++ unpatch	2008-02-18 21:35:08.000000000 -0500
@@ -88,7 +88,7 @@
 mv debian/APPLIED_all_lustre_tmp/.pc.lustre .pc
 
 echo >&2 Unpatching lustre patches
-quilt pop -a
+$QUILT pop -a
 ERR=$?
 if ! [ $ERR = 0 ]; then
   cat >&2 <<EOF


More information about the Pkg-lustre-maintainers mailing list