[23102] in Source-Commits

home help back first fref pref prev next nref lref last post

/svn/athena r22765 - trunk/debathena/third/common

daemon@ATHENA.MIT.EDU (ghudson@MIT.EDU)
Fri Feb 22 16:55:35 2008

Date: Fri, 22 Feb 2008 16:55:03 -0500 (EST)
From: ghudson@MIT.EDU
Message-Id: <200802222155.QAA16329@drugstore.mit.edu>
To: source-commits@MIT.EDU
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Author: ghudson
Date: 2008-02-22 16:55:02 -0500 (Fri, 22 Feb 2008)
New Revision: 22765

Modified:
   trunk/debathena/third/common/debathenificator.sh
Log:
* debathena/third/debathenificator.sh: The user's shell may not exist
  in the chroot, so pass --shell=/bin/sh to the su command.  Also, the
  user's .devscripts may not be findable in the chroot (or may not be
  set up at all), so pass -sa -us -uc -i -I.svn to debuild -S as we do
  in dasource.


Modified: trunk/debathena/third/common/debathenificator.sh
===================================================================
--- trunk/debathena/third/common/debathenificator.sh	2008-02-21 20:41:36 UTC (rev 22764)
+++ trunk/debathena/third/common/debathenificator.sh	2008-02-22 21:55:02 UTC (rev 22765)
@@ -56,7 +56,7 @@
 	    dch_done=
 	    hack_package
 	    [ -n "$dch_done" ]
-	    schroot -c "$chroot" -u root -- sh -c "apt-get -q -y build-dep '$name' && apt-get -q -y install devscripts && su '$USER' -c 'debuild -S'"
+	    schroot -c "$chroot" -u root -- sh -c "apt-get -q -y build-dep '$name' && apt-get -q -y install devscripts && su '$USER' --shell=/bin/sh -c 'debuild -S -sa -us -uc -i -I.svn'"
 	)
 	[ $? -eq 0 ] || {
 	    bash -c "diff -u <(xxd '${name}_$origversion.orig.tar.gz') <(xxd '$tmpdir/${name}_$origversion.orig.tar.gz')"


home help back first fref pref prev next nref lref last post