User Tools

Site Tools


linux:debian:build_package

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
linux:debian:build_package [2013/09/12 03:16] – created styblalinux:debian:build_package [2022/01/27 02:00] (current) – add How-to modify and repack Debian packages stybla
Line 70: Line 70:
  
  
-===== Links =====+In order to bump-up(update/raise) build version and update ''debian/changelog'', use ''% dch'' from ''devscripts'' package. 
 + 
 + 
 +==== Links ====
   * http://askubuntu.com/questions/90764/how-do-i-create-a-deb-package-for-a-single-python-script   * http://askubuntu.com/questions/90764/how-do-i-create-a-deb-package-for-a-single-python-script
   * http://stackoverflow.com/questions/7459644/why-is-dh-usrlocal-throwing-a-build-error   * http://stackoverflow.com/questions/7459644/why-is-dh-usrlocal-throwing-a-build-error
   * http://xmodulo.com/2013/04/how-to-create-deb-debian-package-for-java-web-application.html   * http://xmodulo.com/2013/04/how-to-create-deb-debian-package-for-java-web-application.html
   * http://www.ibm.com/developerworks/linux/library/l-debpkg/index.html   * http://www.ibm.com/developerworks/linux/library/l-debpkg/index.html
 +
 +
 +===== How-to modify and repack Debian package =====
 +
 +I don't take credit for this one. This is just a backup in case the original page disappears since this is useful from time to time.
 +
 +<code>
 +mkdir -p newpack oldpack/DEBIAN
 +dpkg-deb -x file.deb oldpack/
 +dpkg-deb -e file.deb oldpack/DEBIAN
 +# change whatever needs to be changed
 +dpkg-deb -Z xz -b oldpack/ newpack/
 +</code>
 +
 +==== Links ====
 +
 +  * https://medium.com/@kasunmaduraeng/how-to-modify-and-repack-deb-package-436f8351af41
linux/debian/build_package.1378973761.txt.gz · Last modified: 2013/09/12 03:16 by stybla