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

Both sides previous revisionPrevious revision
linux:debian:build_package [2013/09/27 05:17] – add dch command aka how-to update build number and 'debian/changelog' styblalinux:debian:build_package [2022/01/27 02:00] (current) – add How-to modify and repack Debian packages stybla
Line 73: Line 73:
  
  
-===== Links =====+==== 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.txt · Last modified: 2022/01/27 02:00 by stybla