[Bug 371221] Re: [pbuilder-dist] Use packages from ~/pbuilder/dist_result to satisfy deps
I am currently working around this bug also. The suggested workaround to generate a local repository of the packages that are built in ~/pbuilder/dist_result is a good one, but it is fragile because we are forced to assume the location of ~/pbuilder/dist_result when writing our ~/.pbuilderrc and hooks. This is because pbuilder-dist does not export an environment variable with the build result directory. Thus if someone were to call pbuilder-dist with the --buildresult option then everything will break. If pbuilder-dist exported the build result directory as an environment variable that would be an improvement because it could be used to write a more robust ~/.pbuilderrc. However, the real fix here is to accept the patch by Benjamin Drung. With that patch there would be no need for workarounds or hacks. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/371221 Title: [pbuilder-dist] Use packages from ~/pbuilder/dist_result to satisfy deps To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-dev-tools/+bug/371221/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 371221] Re: [pbuilder-dist] Use packages from ~/pbuilder/dist_result to satisfy deps
** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/371221 Title: [pbuilder-dist] Use packages from ~/pbuilder/dist_result to satisfy deps To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-dev-tools/+bug/371221/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 371221] Re: [pbuilder-dist] Use packages from ~/pbuilder/dist_result to satisfy deps
Here is a quick and dirty implementation that adds an --use-local parameter. It involves creating a local repository (Packages and Release files), signing them with gpg, add the key to the repository and updating it before building. ** Patch added: "use-local-repository.patch" https://bugs.launchpad.net/ubuntu/+source/ubuntu-dev-tools/+bug/371221/+attachment/3932662/+files/use-local-repository.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/371221 Title: [pbuilder-dist] Use packages from ~/pbuilder/dist_result to satisfy deps To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-dev-tools/+bug/371221/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 371221] Re: [pbuilder-dist] Use packages from ~/pbuilder/dist_result to satisfy deps
2010/12/3 Stefano Rivera : > Do we want this as a default behavior? No, I don't think so. > pbuilder-dist doesn't take options. Actually, it does take one option (--main-only, plus --debug-echo, if you want to count it). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/371221 Title: [pbuilder-dist] Use packages from ~/pbuilder/dist_result to satisfy deps -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 371221] Re: [pbuilder-dist] Use packages from ~/pbuilder/dist_result to satisfy deps
Do we want this as a default behavior? pbuilder-dist doesn't take options. Note that it does currently support /var/cache/archive/$dist (although it doesn't run dpkg-scanpackages on it{ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/371221 Title: [pbuilder-dist] Use packages from ~/pbuilder/dist_result to satisfy deps -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 371221] Re: [pbuilder-dist] Use packages from ~/pbuilder/dist_result to satisfy deps
** Changed in: ubuntu-dev-tools (Ubuntu) Importance: Undecided => Wishlist ** Changed in: ubuntu-dev-tools (Ubuntu) Status: New => Triaged -- [pbuilder-dist] Use packages from ~/pbuilder/dist_result to satisfy deps https://bugs.launchpad.net/bugs/371221 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs