Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| pbuilder [Le 26/01/2024, 13:31] – 89.86.155.3 | pbuilder [Le 31/10/2024, 19:32] (Version actuelle) – 89.86.155.3 | ||
|---|---|---|---|
| Ligne 30: | Ligne 30: | ||
| <note tip> | <note tip> | ||
| - | Si vous obtenez l' | + | Si vous obtenez l' |
| </ | </ | ||
| Ligne 56: | Ligne 56: | ||
| * Créez un pbuilder Feisty : //sudo pbuilder create// | * Créez un pbuilder Feisty : //sudo pbuilder create// | ||
| * Changez toutes les occurrences de **feisty** en **gutsy** dans **/ | * Changez toutes les occurrences de **feisty** en **gutsy** dans **/ | ||
| - | * Mettez à jour le chroot : //sudo pbuilder update --override-config// | + | * Mettez à jour le chroot : //%%sudo pbuilder update --override-config%%// |
| - | * Utilisez l' | + | * Utilisez l' |
| =====Pbuilders multiples===== | =====Pbuilders multiples===== | ||
| Ligne 97: | Ligne 97: | ||
| </ | </ | ||
| - | version améliorer avec config priver | + | version améliorer avec config priver |
| en personnalisant la config fonctionne sur Ubuntu Debian et Fedora | en personnalisant la config fonctionne sur Ubuntu Debian et Fedora | ||
| - | l' | ||
| - | < | + | voir le projet sur bitbucket |
| - | mkdir -p $HOME/ | + | |
| - | nano $HOME/ | + | |
| - | </ | + | |
| - | < | + | https://bitbucket.org/amidevous/fedora-rpm/src/master/pbuilder/ |
| - | # pbuilder defaults; edit / | + | |
| - | # pbuilderrc.5 for documentation | + | |
| - | #si sa marche pas changer $HOME en / | + | |
| - | BASE_DIR=" | + | |
| - | #si la variable BASE_DIR ne marche pas remplacer la directement par / | + | |
| - | DISTRIBUTION=jammy | + | |
| - | BASETGZ=$BASE_DIR/ | + | |
| - | ARCHITECTURE=amd64 | + | |
| - | EXTRAPACKAGES=" | + | |
| - | #export DEBIAN_BUILDARCH=athlon | + | |
| - | BUILDPLACE=$BASE_DIR/ | + | |
| - | BUILDDIR=$BASE_DIR/ | + | |
| - | BUILDRESULT=$BASE_DIR/ | + | |
| - | APTCACHE=" | + | |
| - | HOOKDIR=" | + | |
| - | BUILD_HOME=$BASE_DIR/ | + | |
| - | #export http_proxy=http://your-proxy: | + | |
| - | USESHM=yes | + | |
| - | USEPROC=yes | + | |
| - | USEDEVFS=no | + | |
| - | USEDEVPTS=yes | + | |
| - | USESYSFS=yes | + | |
| - | USENETWORK=no | + | |
| - | USECGROUP=yes | + | |
| - | APTCACHEHARDLINK=" | + | |
| - | REMOVEPACKAGES="" | + | |
| - | EATMYDATA=no | + | |
| - | export DEBIAN_FRONTEND=" | + | |
| - | BUILDSOURCEROOTCMD=" | + | |
| - | PBUILDERROOTCMD=" | + | |
| - | # | + | |
| - | PBUILDERSATISFYDEPENDSCMD="/ | + | |
| - | ALLOWUNTRUSTED=no | + | |
| - | export APTGETOPT=() | + | |
| - | export APTITUDEOPT=() | + | |
| - | DEBDELTA=no | + | |
| - | # | + | |
| - | DEBBUILDOPTS=" | + | |
| - | APTCONFDIR="" | + | |
| - | BUILDUSERNAME=pbuilder | + | |
| - | BUILDUSERID=$(grep $BUILDUSERNAME /etc/passwd | cut -d: -f3) | + | |
| - | BINDMOUNTS="" | + | |
| - | DEBOOTSTRAPOPTS=( | + | |
| - | ' | + | |
| - | ' | + | |
| - | ) | + | |
| - | # or unset it to make it not a buildd type. | + | |
| - | # unset DEBOOTSTRAPOPTS | + | |
| - | # Keyrings to use for package verification with apt, not used for debootstrap | + | |
| - | # (use DEBOOTSTRAPOPTS). By default the debian-archive-keyring package inside | + | |
| - | # the chroot is used. | + | |
| - | APTKEYRINGS=() | + | |
| - | # Set the PATH I am going to use inside pbuilder: default is "/usr/sbin:/ | + | |
| - | export PATH="/ | + | |
| - | # SHELL variable is used inside pbuilder by commands like ' | + | |
| - | export SHELL=/ | + | |
| - | # The name of debootstrap command, you might want " | + | |
| - | DEBOOTSTRAP=" | + | |
| - | PKGNAME_LOGFILE_EXTENSION=" | + | |
| - | PKGNAME_LOGFILE="" | + | |
| - | AUTOCLEANAPTCACHE="" | + | |
| - | COMPRESSPROG=" | + | |
| - | # pbuilder copies some configuration files (like /etc/hosts or / | + | |
| - | # from the host system into the chroot. | + | |
| - | # exists and contains one of the copied files (without the leading /etc) that | + | |
| - | # file will be copied from here instead of the system one | + | |
| - | CONFDIR="/ | + | |
| - | # ccache (make sure ccache is installed before uncommenting) | + | |
| - | CCACHEDIR="" | + | |
| - | # Note: CCACHEDIR is private to pbuilder, ccache uses " | + | |
| - | # | + | |
| - | #export CCACHE_DIR=" | + | |
| - | #export PATH="/ | + | |
| - | # | + | |
| - | # | + | |
| - | LOGLEVEL=I | + | |
| - | USECOLORS=auto | + | |
| - | </ | + | |
| - | installer le binaire | + | inclut fonction utile pour créer des multiples rapidement |
| - | < | + | vous pouvez l' |
| - | sudo nano / | + | |
| - | </ | + | |
| - | <file> | + | <code>sudo wget https://bitbucket.org/ |
| - | #!/bin/sh | + | |
| - | # script from Jamin W. Collins | + | |
| - | # script updated by andykimpe | + | |
| - | # name this script ' | + | |
| - | OPERATION=$1 | ||
| - | DISTRIBUTION=`basename $0 | cut -f2 -d ' | ||
| - | PROCEED=false | ||
| - | #si sa marche pas changer $HOME en / | ||
| - | BASE_DIR=" | ||
| - | case $OPERATION in | ||
| - | | ||
| - | PROCEED=true | ||
| - | ;; | ||
| - | esac | ||
| - | if ( $PROCEED == true ) then | ||
| - | | ||
| - | sudo pbuilder $OPERATION \ | ||
| - | | ||
| - | | ||
| - | | ||
| - | else | ||
| - | echo " | ||
| - | echo "Valid commands are:" | ||
| - | echo " | ||
| - | echo " | ||
| - | echo " | ||
| - | echo " | ||
| - | echo " | ||
| - | echo " | ||
| - | exit 1 | ||
| - | fi | ||
| - | </ | ||
| - | fonction utile pour créer des multiple rapidement | ||
| < | < | ||
| #!/bin/bash | #!/bin/bash | ||
| ubuntuori () { | ubuntuori () { | ||
| - | rm -f $HOME/ | + | |
| - | cp $HOME/ | + | sudo wget "https://bitbucket.org/amidevous/fedora-rpm/raw/master/pbuilder/debian/ |
| - | sudo rm -f / | + | chmod +x /usr/bin/ |
| - | sudo cp / | + | sudo pbuilder-$1 create |
| - | sudo chmod +x / | + | |
| - | mkdir -p $HOME/ | + | |
| - | mkdir -p $HOME/ | + | |
| - | mkdir -p $HOME/ | + | |
| - | mkdir -p $HOME/ | + | |
| - | mkdir -p $HOME/ | + | |
| - | mkdir -p $HOME/ | + | |
| - | sed -i ' | + | |
| - | echo ' | + | |
| - | echo ' | + | |
| - | echo ' | + | |
| - | echo ' | + | |
| - | echo ' | + | |
| - | echo ' | + | |
| - | echo ' | + | |
| - | echo ' | + | |
| - | echo ' | + | |
| - | echo ' | + | |
| - | sudo pbuilder-$1 create | + | |
| } | } | ||
| ubuntuarc () { | ubuntuarc () { | ||
| - | rm -f $HOME/pbuilder/pbuilder-$1.conf | + | sudo wget " |
| - | cp $HOME/pbuilder/pbuilder-config.conf $HOME/pbuilder/pbuilder-$1.conf | + | |
| - | | + | chmod +x / |
| - | sudo cp /usr/bin/pbuilder-config | + | sudo pbuilder-$1 |
| - | sudo chmod +x / | + | } |
| - | mkdir -p $HOME/pbuilder/$1 | + | ubuntuarc2 () { |
| - | | + | sudo wget " |
| - | mkdir -p $HOME/ | + | sudo wget " |
| - | mkdir -p $HOME/ | + | chmod +x /usr/bin/ |
| - | mkdir -p $HOME/pbuilder/$1/ | + | sudo pbuilder-$1 create |
| - | mkdir -p $HOME/ | + | |
| - | sed -i ' | + | |
| - | echo ' | + | |
| - | echo ' | + | |
| - | echo ' | + | |
| - | echo ' | + | |
| - | echo ' | + | |
| - | echo ' | + | |
| - | echo ' | + | |
| - | echo ' | + | |
| - | sudo pbuilder-$1 create | + | |
| } | } | ||
| debianori () { | debianori () { | ||
| - | rm -f $HOME/ | + | |
| - | cp $HOME/ | + | sudo wget "https://bitbucket.org/amidevous/fedora-rpm/raw/master/ |
| - | sudo rm -f / | + | chmod +x / |
| - | sudo cp / | + | sudo pbuilder-$1 create |
| - | sudo chmod +x / | + | |
| - | mkdir -p $HOME/ | + | |
| - | mkdir -p $HOME/ | + | |
| - | mkdir -p $HOME/ | + | |
| - | mkdir -p $HOME/ | + | |
| - | mkdir -p $HOME/ | + | |
| - | mkdir -p $HOME/ | + | |
| - | sed -i ' | + | |
| - | echo ' | + | |
| - | echo ' | + | |
| - | echo ' | + | |
| - | echo ' | + | |
| - | echo ' | + | |
| - | echo ' | + | |
| - | echo ' | + | |
| - | echo ' | + | |
| - | echo ' | + | |
| - | echo ' | + | |
| - | sudo pbuilder-$1 create --override-config | + | |
| - | } | + | |
| - | debianarc () { | + | |
| - | rm -f $HOME/ | + | |
| - | cp $HOME/ | + | |
| - | sudo rm -f / | + | |
| - | sudo cp / | + | |
| - | | + | |
| - | mkdir -p $HOME/ | + | |
| - | mkdir -p $HOME/ | + | |
| - | mkdir -p $HOME/ | + | |
| - | mkdir -p $HOME/ | + | |
| - | mkdir -p $HOME/ | + | |
| - | mkdir -p $HOME/ | + | |
| - | sed -i ' | + | |
| - | echo ' | + | |
| - | echo ' | + | |
| - | sudo pbuilder-$1 create | + | |
| } | } | ||
| # Ubuntu 24.04 The Noble Numbat (le Noble numbat) support Avril 2029 | # Ubuntu 24.04 The Noble Numbat (le Noble numbat) support Avril 2029 | ||
| Ligne 328: | Ligne 146: | ||
| sudo rm -f / | sudo rm -f / | ||
| sudo cp / | sudo cp / | ||
| - | ubuntuori mantic | + | #ubuntuori mantic |
| #Ubuntu 23.04 The Lunar Lobster (le Homard lunaire) support Janvier 2024 | #Ubuntu 23.04 The Lunar Lobster (le Homard lunaire) support Janvier 2024 | ||
| - | rm -f / | + | sudo rm -f / |
| sudo cp / | sudo cp / | ||
| - | ubuntuori lunar | + | #ubuntuori lunar |
| #Ubuntu 22.10 The Kinetic Kudu (le Koudou cinétique) support 20 Juillet 2023 | #Ubuntu 22.10 The Kinetic Kudu (le Koudou cinétique) support 20 Juillet 2023 | ||
| - | rm -f / | + | sudo rm -f / |
| sudo cp / | sudo cp / | ||
| - | ubuntuarc kinetic | + | #ubuntuarc kinetic |
| #Ubuntu 22.04 LTS The Jammy Jellyfish (la méduse chanceuse) support Avril 2027 | #Ubuntu 22.04 LTS The Jammy Jellyfish (la méduse chanceuse) support Avril 2027 | ||
| ubuntuori jammy | ubuntuori jammy | ||
| - | # | + | #Ubuntu 21.10 The Impish Indri (indri espiègle) |
| - | ubuntuarc impish | + | #ubuntuarc impish |
| - | # | + | #Ubuntu 21.04 The Hirsute Hippo (l' |
| - | ubuntuarc hirsute | + | #ubuntuarc hirsute |
| - | # | + | #Ubuntu 20.10 The Groovy Gorilla (le gorille sensationnel) |
| - | ubuntuarc groovy | + | #ubuntuarc groovy |
| - | # | + | #Ubuntu 20.04 LTS The Focal Fossa (le fossa focal) |
| ubuntuori focal | ubuntuori focal | ||
| - | # | + | #Ubuntu 19.10 The Eoan Ermine (l' |
| - | ubuntuarc eoan | + | #ubuntuarc eoan |
| - | # | + | #Ubuntu 19.04 The Disco Dingo (le dingo disco) |
| - | ubuntuarc disco | + | #ubuntuarc disco |
| - | # | + | #Ubuntu 18.10 The Cosmic Cuttlefish (la seiche cosmique) |
| - | ubuntuarc cosmic | + | #ubuntuarc cosmic |
| - | # | + | #Ubuntu 18.04 LTS The Bionic Beaver (le castor bionique) |
| - | ubuntuori bionic | + | #ubuntuori bionic |
| - | # | + | #Ubuntu 17.10 The Artful Aardvark (l' |
| - | ubuntuarc artful | + | #ubuntuarc artful |
| - | ubuntuarc zesty | + | #Ubuntu 17.04 The Zesty Zapus (le zapus plaisant) |
| - | ubuntuarc yakkety | + | #ubuntuarc zesty |
| - | ubuntuori xenial | + | #Ubuntu 16.10 The Yakkety Yak (le yak bavard) |
| - | ubuntuarc wily | + | #ubuntuarc yakkety |
| - | ubuntuarc vivid | + | # Ubuntu 16.04 LTS The Xenial Xerus (le xerus hospitalier) |
| - | ubuntuarc utopic | + | #ubuntuori xenial |
| - | ubuntuori trusty | + | #Ubuntu 15.10 The Wily Werewolf (le loup-garou rusé) |
| - | ubuntuarc saucy | + | #ubuntuarc wily |
| - | ubuntuarc raring | + | #Ubuntu 15.04 The Vivid Vervet (le vervet vif) |
| - | ubuntuarc quantal | + | #ubuntuarc vivid |
| - | ubuntuori | + | #Ubuntu 14.10 The Utopic Unicorn (la licorne utopique) |
| - | ubuntuarc | + | #ubuntuarc utopic |
| - | ubuntuarc natty | + | #Ubuntu 14.04 LTS The Trusty Tahr (le bélier confiant) |
| - | ubuntuarc maverick | + | #ubuntuori trusty |
| - | ubuntuori lucid | + | #Ubuntu 13.10 The Saucy Salamander (la salamandre délurée) |
| - | ubuntuarc karmic | + | #ubuntuarc saucy |
| - | ubuntuarc jaunty | + | #Ubuntu 13.04 The Raring Ringtail (le bassaris enthousiaste) |
| - | ubuntuarc intrepid | + | #ubuntuarc raring |
| - | ubuntuori hardy | + | #Ubuntu 12.10 The Quantal Quetzal (le quetzal quantique) |
| - | ubuntuarc gutsy | + | #ubuntuarc quantal |
| - | ubuntuarc feisty | + | #Ubuntu 12.04 LTS The Precise Pangolin (le pangolin précis) |
| - | ubuntuarc edgy | + | # |
| - | ubuntuori dapper | + | #Ubuntu 11.10 The Oneiric Ocelot (l' |
| - | ubuntuarc breezy | + | # |
| - | debianori bookworm | + | # Debian 12 Bookworm (Rat de bibliothèque) |
| - | debianori bullseye | + | #debianori bookworm |
| - | debianori | + | # Debian 11 Bullseye (Bulle) |
| - | debianarc stretch | + | #debianori |
| - | debianarc jessie | + | |
| - | debianarc wheezy | + | |
| - | debianarc squeeze | + | |
| - | debianarc lenny | + | |
| - | debianarc etch | + | |
| - | debianarc sarge | + | |
| - | debianarc woody | + | |
| - | debianarc potato | + | |
| - | debianarc slink | + | |
| - | debianarc hamm | + | |
| </ | </ | ||
| + | |||
| + | ensuite créer facilement les configuration | ||
| + | |||
| + | < | ||
