Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
| pbuilder [Le 12/02/2024, 06:31] 89.86.155.3 | pbuilder [Le 31/10/2024, 19:32] (Version actuelle) 89.86.155.3 | ||
|---|---|---|---|
| Ligne 106: | Ligne 106: | ||
| inclut fonction utile pour créer des multiples rapidement | inclut fonction utile pour créer des multiples rapidement | ||
| + | |||
| + | vous pouvez l'installer en 1 click mais je vous met le centos si dessus | ||
| + | |||
| + | <code>sudo wget https://bitbucket.org/amidevous/fedora-rpm/raw/master/pbuilder/debian/pbuilder-config -O /usr/bin/pbuilder-config && sudo chmod +x /usr/bin/pbuilder-config</code> | ||
| + | |||
| + | |||
| <code> | <code> | ||
| #!/bin/bash | #!/bin/bash | ||
| ubuntuori () { | ubuntuori () { | ||
| - | sudo wget "https://bitbucket.org/amidevous/fedora-rpm/raw/master/pbuilder/pbuilderrc" -O /etc/pbuilderrc | + | sudo wget "https://bitbucket.org/amidevous/fedora-rpm/raw/master/pbuilder/debian/pbuilderrc" -O /etc/pbuilderrc | 
| - | sudo wget "https://bitbucket.org/amidevous/fedora-rpm/raw/master/pbuilder/pbuilder-ubuntu-stable" -O /usr/bin/pbuilder-$1 | + | sudo wget "https://bitbucket.org/amidevous/fedora-rpm/raw/master/pbuilder/debian/pbuilder-ubuntu-stable" -O /usr/bin/pbuilder-$1 | 
| chmod +x /usr/bin/pbuilder-$1 | chmod +x /usr/bin/pbuilder-$1 | ||
| - | sudo pbuilder-$1 create --override-config | + | sudo pbuilder-$1 create | 
| } | } | ||
| ubuntuarc () { | ubuntuarc () { | ||
| - | sudo wget "https://bitbucket.org/amidevous/fedora-rpm/raw/master/pbuilder/pbuilderrc" -O /etc/pbuilderrc | + | sudo wget "https://bitbucket.org/amidevous/fedora-rpm/raw/master/pbuilder/debian/pbuilderrc" -O /etc/pbuilderrc | 
| - | sudo wget "https://bitbucket.org/amidevous/fedora-rpm/raw/master/pbuilder/pbuilder-ubuntu-old" -O /usr/bin/pbuilder-$1 | + | sudo wget "https://bitbucket.org/amidevous/fedora-rpm/raw/master/pbuilder/debian/pbuilder-ubuntu-old" -O /usr/bin/pbuilder-$1 | 
| chmod +x /usr/bin/pbuilder-$1 | chmod +x /usr/bin/pbuilder-$1 | ||
| - | sudo pbuilder-$1 create --override-config | + | sudo pbuilder-$1 create | 
| } | } | ||
| ubuntuarc2 () { | ubuntuarc2 () { | ||
| - | sudo wget "https://bitbucket.org/amidevous/fedora-rpm/raw/master/pbuilder/pbuilderrc" -O /etc/pbuilderrc | + | sudo wget "https://bitbucket.org/amidevous/fedora-rpm/raw/master/pbuilder/debian/pbuilderrc" -O /etc/pbuilderrc | 
| - | sudo wget "https://bitbucket.org/amidevous/fedora-rpm/raw/master/pbuilder/pbuilder-ubuntu-old2" -O /usr/bin/pbuilder-$1 | + | sudo wget "https://bitbucket.org/amidevous/fedora-rpm/raw/master/pbuilder/debian/pbuilder-ubuntu-old2" -O /usr/bin/pbuilder-$1 | 
| chmod +x /usr/bin/pbuilder-$1 | chmod +x /usr/bin/pbuilder-$1 | ||
| - | sudo pbuilder-$1 create --override-config | + | sudo pbuilder-$1 create | 
| } | } | ||
| debianori () { | debianori () { | ||
| - | rm -f $HOME/pbuilder/pbuilder-$1.conf | + | sudo wget "https://bitbucket.org/amidevous/fedora-rpm/raw/master/pbuilder/debian/pbuilderrc" -O /etc/pbuilderrc | 
| - | cp $HOME/pbuilder/pbuilder-config.conf $HOME/pbuilder/pbuilder-$1.conf | + | sudo wget "https://bitbucket.org/amidevous/fedora-rpm/raw/master/pbuilder/debian/pbuilder-debian-$1" -O /usr/bin/pbuilder-$1 | 
| - | sudo rm -f /usr/bin/pbuilder-$1 | + | chmod +x /usr/bin/pbuilder-$1 | 
| - | sudo cp /usr/bin/pbuilder-config /usr/bin/pbuilder-$1 | + | sudo pbuilder-$1 create | 
| - | sudo chmod +x /usr/bin/pbuilder-$1 | + | |
| - | mkdir -p $HOME/pbuilder/$1 | + | |
| - | mkdir -p $HOME/pbuilder/$1/aptcache/ | + | |
| - | mkdir -p $HOME/pbuilder/$1/result/ | + | |
| - | mkdir -p $HOME/pbuilder/$1/build/ | + | |
| - | mkdir -p $HOME/pbuilder/$1/nonexistent/ | + | |
| - | mkdir -p $HOME/pbuilder/$1/hooks/ | + | |
| - | sed -i 's|jammy|'$1'|g' $HOME/pbuilder/pbuilder-$1.conf | + | |
| - | echo 'MIRRORSITE=http://deb.debian.org/debian/' >> $HOME/pbuilder/pbuilder-$1.conf | + | |
| - | echo 'COMPONENTS="main contrib non-free"' >> $HOME/pbuilder/pbuilder-$1.conf | + | |
| - | echo 'OTHERMIRROR="deb http://deb.debian.org/debian '$1' main contrib non-free"' >> $HOME/pbuilder/pbuilder-$1.conf | + | |
| - | echo 'OTHERMIRROR="$OTHERMIRROR|deb-src http://deb.debian.org/debian '$1' main contrib non-free"' >> $HOME/pbuilder/pbuilder-$1.conf | + | |
| - | echo 'OTHERMIRROR="$OTHERMIRROR|deb http://deb.debian.org/debian-security/ '$1'-security main contrib non-free"' >> $HOME/pbuilder/pbuilder-$1.conf | + | |
| - | echo 'OTHERMIRROR="$OTHERMIRROR|deb-src http://deb.debian.org/debian-security/ '$1'-security main contrib non-free"' >> $HOME/pbuilder/pbuilder-$1.conf | + | |
| - | echo 'OTHERMIRROR="$OTHERMIRROR|deb http://deb.debian.org/debian '$1'-updates main contrib non-free"' >> $HOME/pbuilder/pbuilder-$1.conf | + | |
| - | echo 'OTHERMIRROR="$OTHERMIRROR|deb-src http://deb.debian.org/debian '$1'-updates main contrib non-free"' >> $HOME/pbuilder/pbuilder-$1.conf | + | |
| - | echo 'OTHERMIRROR="$OTHERMIRROR|deb http://deb.debian.org/debian '$1'--backports/ main contrib non-free"' >> $HOME/pbuilder/pbuilder-$1.conf | + | |
| - | echo 'OTHERMIRROR="$OTHERMIRROR|deb-src http://deb.debian.org/debian '$1'--backports/ main contrib non-free"' >> $HOME/pbuilder/pbuilder-$1.conf | + | |
| - | sudo pbuilder-$1 create --override-config | + | |
| - | } | + | |
| - | debianarc () { | + | |
| - | rm -f $HOME/pbuilder/pbuilder-$1.conf | + | |
| - | cp $HOME/pbuilder/pbuilder-config.conf $HOME/pbuilder/pbuilder-$1.conf | + | |
| - | sudo rm -f /usr/bin/pbuilder-$1 | + | |
| - | sudo cp /usr/bin/pbuilder-config /usr/bin/pbuilder-$1 | + | |
| - | sudo chmod +x /usr/bin/pbuilder-$1 | + | |
| - | mkdir -p $HOME/pbuilder/$1 | + | |
| - | mkdir -p $HOME/pbuilder/$1/aptcache/ | + | |
| - | mkdir -p $HOME/pbuilder/$1/result/ | + | |
| - | mkdir -p $HOME/pbuilder/$1/build/ | + | |
| - | mkdir -p $HOME/pbuilder/$1/nonexistent/ | + | |
| - | mkdir -p $HOME/pbuilder/$1/hooks/ | + | |
| - | sed -i 's|jammy|'$1'|g' $HOME/pbuilder/pbuilder-$1.conf | + | |
| - | echo 'MIRRORSITE=http://archive.debian.org/debian/' >> $HOME/pbuilder/pbuilder-$1.conf | + | |
| - | echo 'COMPONENTS="main contrib non-free"' >> $HOME/pbuilder/pbuilder-$1.conf | + | |
| - | sudo pbuilder-$1 create --override-config | + | |
| } | } | ||
| # 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 176: | Ligne 146: | ||
| sudo rm -f /usr/share/debootstrap/scripts/mantic | sudo rm -f /usr/share/debootstrap/scripts/mantic | ||
| sudo cp /usr/share/debootstrap/scripts/jammy /usr/share/debootstrap/scripts/mantic | sudo cp /usr/share/debootstrap/scripts/jammy /usr/share/debootstrap/scripts/mantic | ||
| - | 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 | ||
| sudo rm -f /usr/share/debootstrap/scripts/lunar | sudo rm -f /usr/share/debootstrap/scripts/lunar | ||
| sudo cp /usr/share/debootstrap/scripts/jammy /usr/share/debootstrap/scripts/lunar | sudo cp /usr/share/debootstrap/scripts/jammy /usr/share/debootstrap/scripts/lunar | ||
| - | 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 | ||
| sudo rm -f /usr/share/debootstrap/scripts/kinetic | sudo rm -f /usr/share/debootstrap/scripts/kinetic | ||
| sudo cp /usr/share/debootstrap/scripts/jammy /usr/share/debootstrap/scripts/kinetic | sudo cp /usr/share/debootstrap/scripts/jammy /usr/share/debootstrap/scripts/kinetic | ||
| - | 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) | #Ubuntu 21.10 The Impish Indri (indri espiègle) | ||
| - | ubuntuarc impish | + | #ubuntuarc impish | 
| #Ubuntu 21.04 The Hirsute Hippo (l'hippopotame hirsute) | #Ubuntu 21.04 The Hirsute Hippo (l'hippopotame hirsute) | ||
| - | ubuntuarc hirsute | + | #ubuntuarc hirsute | 
| #Ubuntu 20.10 The Groovy Gorilla (le gorille sensationnel)  | #Ubuntu 20.10 The Groovy Gorilla (le gorille sensationnel)  | ||
| - | ubuntuarc groovy | + | #ubuntuarc groovy | 
| #Ubuntu 20.04 LTS The Focal Fossa (le fossa focal) | #Ubuntu 20.04 LTS The Focal Fossa (le fossa focal) | ||
| ubuntuori focal | ubuntuori focal | ||
| #Ubuntu 19.10 The Eoan Ermine (l'ermine de l'aube) | #Ubuntu 19.10 The Eoan Ermine (l'ermine de l'aube) | ||
| - | ubuntuarc eoan | + | #ubuntuarc eoan | 
| #Ubuntu 19.04 The Disco Dingo (le dingo disco) | #Ubuntu 19.04 The Disco Dingo (le dingo disco) | ||
| - | ubuntuarc disco | + | #ubuntuarc disco | 
| #Ubuntu 18.10 The Cosmic Cuttlefish (la seiche cosmique) | #Ubuntu 18.10 The Cosmic Cuttlefish (la seiche cosmique) | ||
| - | ubuntuarc cosmic | + | #ubuntuarc cosmic | 
| #Ubuntu 18.04 LTS The Bionic Beaver (le castor bionique)  | #Ubuntu 18.04 LTS The Bionic Beaver (le castor bionique)  | ||
| - | ubuntuori bionic | + | #ubuntuori bionic | 
| #Ubuntu 17.10 The Artful Aardvark (l'oryctérope du Cap astucieux ) | #Ubuntu 17.10 The Artful Aardvark (l'oryctérope du Cap astucieux ) | ||
| - | ubuntuarc artful | + | #ubuntuarc artful | 
| #Ubuntu 17.04 The Zesty Zapus (le zapus plaisant) | #Ubuntu 17.04 The Zesty Zapus (le zapus plaisant) | ||
| - | ubuntuarc zesty | + | #ubuntuarc zesty | 
| #Ubuntu 16.10 The Yakkety Yak (le yak bavard)  | #Ubuntu 16.10 The Yakkety Yak (le yak bavard)  | ||
| - | ubuntuarc yakkety | + | #ubuntuarc yakkety | 
| # Ubuntu 16.04 LTS The Xenial Xerus (le xerus hospitalier)  | # Ubuntu 16.04 LTS The Xenial Xerus (le xerus hospitalier)  | ||
| - | ubuntuori xenial | + | #ubuntuori xenial | 
| #Ubuntu 15.10 The Wily Werewolf (le loup-garou rusé)  | #Ubuntu 15.10 The Wily Werewolf (le loup-garou rusé)  | ||
| - | ubuntuarc wily | + | #ubuntuarc wily | 
| #Ubuntu 15.04 The Vivid Vervet (le vervet vif) | #Ubuntu 15.04 The Vivid Vervet (le vervet vif) | ||
| - | ubuntuarc vivid | + | #ubuntuarc vivid | 
| #Ubuntu 14.10 The Utopic Unicorn (la licorne utopique) | #Ubuntu 14.10 The Utopic Unicorn (la licorne utopique) | ||
| - | ubuntuarc utopic | + | #ubuntuarc utopic | 
| #Ubuntu 14.04 LTS The Trusty Tahr (le bélier confiant) | #Ubuntu 14.04 LTS The Trusty Tahr (le bélier confiant) | ||
| - | ubuntuori trusty | + | #ubuntuori trusty | 
| #Ubuntu 13.10 The Saucy Salamander (la salamandre délurée) | #Ubuntu 13.10 The Saucy Salamander (la salamandre délurée) | ||
| - | ubuntuarc saucy | + | #ubuntuarc saucy | 
| #Ubuntu 13.04 The Raring Ringtail (le bassaris enthousiaste) | #Ubuntu 13.04 The Raring Ringtail (le bassaris enthousiaste) | ||
| - | ubuntuarc raring | + | #ubuntuarc raring | 
| #Ubuntu 12.10 The Quantal Quetzal (le quetzal quantique)  | #Ubuntu 12.10 The Quantal Quetzal (le quetzal quantique)  | ||
| - | ubuntuarc quantal | + | #ubuntuarc quantal | 
| #Ubuntu 12.04 LTS The Precise Pangolin (le pangolin précis) | #Ubuntu 12.04 LTS The Precise Pangolin (le pangolin précis) | ||
| - | ubuntuarc2 precise | + | #ubuntuarc2 precise | 
| - | # | + | #Ubuntu 11.10 The Oneiric Ocelot (l'ocelot onirique)  | 
| - | ubuntuarc2 oneiric | + | #ubuntuarc2 oneiric | 
| - | # | + | # Debian 12 Bookworm (Rat de bibliothèque) | 
| - | ubuntuarc2 natty | + | #debianori bookworm | 
| - | # | + | # Debian 11 Bullseye (Bulle) | 
| - | ubuntuarc2 maverick | + | #debianori bullseye | 
| - | # | + | |
| - | ubuntuarc2 lucid | + | |
| - | # | + | |
| - | ubuntuarc2 karmic | + | |
| - | # | + | |
| - | ubuntuarc2 jaunty | + | |
| - | # | + | |
| - | ubuntuarc2 intrepid | + | |
| - | # | + | |
| - | ubuntuarc2 hardy | + | |
| - | # | + | |
| - | ubuntuarc2 gutsy | + | |
| - | # | + | |
| - | ubuntuarc2 feisty | + | |
| - | # | + | |
| - | ubuntuarc2 edgy | + | |
| - | # | + | |
| - | ubuntuarc2 dapper | + | |
| - | # | + | |
| - | ubuntuarc2 breezy | + | |
| - | # | + | |
| - | debianori bookworm | + | |
| - | # | + | |
| - | debianori bullseye | + | |
| - | # | + | |
| - | debianori buster | + | |
| - | # | + | |
| - | debianarc stretch | + | |
| - | # | + | |
| - | debianarc jessie | + | |
| - | # | + | |
| - | debianarc wheezy | + | |
| - | # | + | |
| - | debianarc squeeze | + | |
| - | # | + | |
| - | debianarc lenny | + | |
| - | # | + | |
| - | debianarc etch | + | |
| - | # | + | |
| - | debianarc sarge | + | |
| - | # | + | |
| - | debianarc woody | + | |
| - | # | + | |
| - | debianarc potato | + | |
| - | # | + | |
| - | debianarc slink | + | |
| - | # | + | |
| - | debianarc hamm | + | |
| </code> | </code> | ||
| + | |||
| + | ensuite créer facilement les configuration | ||
| + | |||
| + | <code>sudo pbuilder-config</code> | ||