Bug#678359: autopkgtest: Depends: @ only works when building the source
Ian Jackson writes ("Re: Bug#678359: autopkgtest: Depends: @ only works when building the source"):
> You have done most of what I suggested. I like your patch, thanks.
After a bit more review and testing I found one bug in it, which I
have fixed. I'm about to upload and push the result.
Thanks,
Ian.
commit d99016242cbb65bccd7c8dc71f60031ca027b9aa
Author: Ian Jackson <ijackson at chiark.greenend.org.uk>
Date: Sun Jul 8 22:57:03 2012 +0100
adt-run: Fix for fix for #678359: when reading package list, do so using the host's copy of the control file
diff --git a/runner/adt-run b/runner/adt-run
index 0e30bd9..4d0a9b2 100755
--- a/runner/adt-run
+++ b/runner/adt-run
@@ -1355,7 +1355,7 @@ def determine_package(act):
def packages_from_source(act, tree):
(rc, output) = subprocess_cooked(['dh_listpackages'],
- stdout=subprocess.PIPE, cwd=tree.read(True))
+ stdout=subprocess.PIPE, cwd=tree.read())
if rc: badpkg('failed to parse packages built from source, code %d' % rc)
# filter out empty lines
Reply to: