Package list debian-goodies / edc5990
Ensure equivs-build places .deb in right dir when $TMPDIR set When $TMPDIR is set, equivs-build will store the .deb there instead of the current directory, but find-dbgsym-packages is expecting the .deb will be placed in the temporary directory that it created. This produces the following error with $TMPDIR and --deb: BUG: Not exactly one .deb file generated at /usr/bin/find-dbgsym-packages line 466. Paul Wise 1 year, 4 months ago
2 changed file(s) with 6 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
00 debian-goodies (0.86) UNRELEASED; urgency=medium
11
22 * Suggest using `apt update` rather than `apt-get update`
3 * find-dbgsym-packages:
4 + Ensure equivs-build places .deb in right dir when $TMPDIR set
35
46 -- Paul Wise <pabs@debian.org> Mon, 04 May 2020 10:15:56 +0800
57
457457 # Generate the .deb
458458 chdir($tempdir);
459459 #system("head -100 *");
460 # Instruct equivs-build to use the current directory
461 my $tmpdir = $ENV{TMPDIR};
462 delete $ENV{TMPDIR};
460463 my $pkgbuild = capturex(qw(equivs-build control));
464 $ENV{TMPDIR} = $tmpdir;
461465 #system("dpkg-deb --info *.deb");
462466
463467 my @debs = glob('*.deb');