Hm, I was going to use equivs, but even that pulls in over twice the size of dependencies (4 MB for pbuilder, 9.2 MB for equivs, both with --no-install-recommends) on a minimal debootstrapped container. I also experimented with directly writing a DEBIAN/control file and calling dpkg-deb -b on it. I think that's the minimal solution, but it requires manual resolution and filtering of arch specific dependencies. E. g. right now your test can do "Depends: foo [armhf ppc64el]" or even [linux-any], and dpkg-deb does not understand this. That's probably the reason why equivs builds a source package instead of just building the binary directly.
It may be possible to use dpkg-gencontrol or the Dpkg::Control perl modules to do that arch-specific dependency filtering; pulling in just dpkg-dev pulls in 3.3 MB instead of 4, which is the only case of actually reducing dependencies. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1205110 Title: autopkgtest should not depend on pbuilder To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/1205110/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
