Difference between revisions of "Ubuntu create .deb-Package Howto"
From Cactus Howto
Jump to navigationJump to search (Die Seite wurde neu angelegt: „== create package builder environment == Source: http://wiki.ubuntuusers.de/pBuilder * install neccessary packages sudo apt-get install pbuilder debootstrap d…“) |
|||
Line 8: | Line 8: | ||
sudo pbuilder update |
sudo pbuilder update |
||
* Use gdebi for dependencies: |
* Use gdebi for dependencies: |
||
echo PBUILDERSATISFYDEPENDSCMD="/usr/lib/pbuilder/pbuilder-satisfydepends-gdebi" >> ~/.pbuilderrc |
echo 'PBUILDERSATISFYDEPENDSCMD="/usr/lib/pbuilder/pbuilder-satisfydepends-gdebi"' >> ~/.pbuilderrc |
||
echo COMPONENTS="main restricted universe multiverse" >> ~/.pbuilderrc |
echo 'COMPONENTS="main restricted universe multiverse"' >> ~/.pbuilderrc |
||
* update pbuilder environment: |
* update pbuilder environment: |
||
sudo pbuilder update --override-config |
sudo pbuilder update --override-config |
Revision as of 09:35, 7 November 2014
create package builder environment
Source: http://wiki.ubuntuusers.de/pBuilder
- install neccessary packages
sudo apt-get install pbuilder debootstrap devscripts
- create environment (creates tar archive /var/cache/pbuilder/base.tgz)
sudo pbuilder create --debootstrapopts --variant=buildd
- Update every time before building packages (or on a daily basis)
sudo pbuilder update
- Use gdebi for dependencies:
echo 'PBUILDERSATISFYDEPENDSCMD="/usr/lib/pbuilder/pbuilder-satisfydepends-gdebi"' >> ~/.pbuilderrc echo 'COMPONENTS="main restricted universe multiverse"' >> ~/.pbuilderrc
- update pbuilder environment:
sudo pbuilder update --override-config
- multiple pBuilder: Falls man sowohl Backports als auch Pakete für die Entwicklungsversion erstellt möchte man parallel mehrere pBuilder-Umgebungen haben. Es ist auch möglich Pakete für Debian {en} zu bauen.
sudo DIST=squeeze pbuilder create