linux:create_debian_package

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
linux:create_debian_package [2025/01/02 14:53] – [Créer un paquet Debian] add links phswlinux:create_debian_package [2025/10/25 20:41] (Version actuelle) – [Créer un paquet Debian] add link phsw
Ligne 13: Ligne 13:
   * [[https://blog.liw.fi/posts/2023/debian-reasons/|Why is Debian the way it is?]]   * [[https://blog.liw.fi/posts/2023/debian-reasons/|Why is Debian the way it is?]]
   * [[https://www.linuxembedded.fr/2024/04/introduction-au-paquetage-pour-debian|Introduction au 📦 paquetage pour Debian]]   * [[https://www.linuxembedded.fr/2024/04/introduction-au-paquetage-pour-debian|Introduction au 📦 paquetage pour Debian]]
 +  * [[https://optimizedbyotto.com/post/debian-maintainer-habits/|10 habits to help becoming a Debian maintainer]]
  
   * [[https://diziet.dreamwidth.org/10559.html|Debian’s approach to Rust - Dependency handling]]   * [[https://diziet.dreamwidth.org/10559.html|Debian’s approach to Rust - Dependency handling]]
   * [[https://samueloph.dev/personal_website_files/slides/samueloph_slides_2024_07_fixing_cves_on_debian.pdf|Fixing CVEs on Debian: Everything you probably know already]]   * [[https://samueloph.dev/personal_website_files/slides/samueloph_slides_2024_07_fixing_cves_on_debian.pdf|Fixing CVEs on Debian: Everything you probably know already]]
   * [[https://samueloph.dev/personal_website_files/slides/samueloph_slides_2024_08_the_secret_sauce_of_debian.pdf|The secret sauce of Debian]]   * [[https://samueloph.dev/personal_website_files/slides/samueloph_slides_2024_08_the_secret_sauce_of_debian.pdf|The secret sauce of Debian]]
 +  * [[https://wiki.debian.org/BuildProfileSpec]]
  
  
Ligne 196: Ligne 198:
   * [[https://people.debian.org/~debalance/packaging-with-git.html]]   * [[https://people.debian.org/~debalance/packaging-with-git.html]]
   * https://honk.sigxcpu.org/projects/git-buildpackage/manual-html/index.html   * https://honk.sigxcpu.org/projects/git-buildpackage/manual-html/index.html
 +  * [[https://optimizedbyotto.com/post/debian-packaging-from-git/|Creating Debian packages from upstream Git]]
 +  * [[https://optimizedbyotto.com/post/debian-source-package-git/|Debian source packages in git explained]]
  
  
Ligne 503: Ligne 507:
   * [[https://github.com/ezhukov/testvm]]   * [[https://github.com/ezhukov/testvm]]
  
-''build-rdeps'' liste les dépendances inverses d'un paquet binaire.+''build-rdeps'' liste les dépendances inverses d'un paquet binaire, on peut donc lister toutes les dépendances inverses d'un paquet source avec : 
 +<code bash> 
 +build-rdeps --distribution unstable --only-main $(grep Package debian/control | cut -d ' ' -f 2) 
 +</code> 
 + 
 +Ensuite pour reconstruire un paquet en incluant un paquet ''.deb'' construit localement : 
 +<code bash> 
 +sbuild --extra-package=/abolute/path/package_amd64.deb --extra-package=/absolute/path/package-dev_amd64.deb otherpackage 
 +</code> 
 + 
 + 
 +==== Cross-build ====
  
 +  * [[https://subdivi.de/~helmut/mdct24-cross.pdf]]
 +  * [[https://wiki.debian.org/CrossCompiling]]
 +  * [[https://wiki.debian.org/CrossBuildPackagingGuidelines]]
 +  * https://wiki.debian.org/CategoryMultiarch
 +  * [[https://wiki.debian.org/umlaeute/Packaging4CrossCompiling]]
  
  
  • linux/create_debian_package.1735826030.txt.gz
  • Dernière modification : 2025/01/02 14:53
  • de phsw