User Tools

Site Tools


how_to_build_a_debian_package

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
how_to_build_a_debian_package [2016/01/09 11:39]
sgripon
how_to_build_a_debian_package [2016/11/05 19:20] (current)
sgripon [How To Build a Debian Package for Raspberry pi]
Line 1: Line 1:
 ====== How To Build a Debian Package for Raspberry pi ====== ====== How To Build a Debian Package for Raspberry pi ======
- 
-This tutorial is based on [[http://​linuxconfig.org/​easy-way-to-create-a-debian-package-and-local-package-repository]]. 
  
 In this tutorial, all examples are related to the building of the owncloud-client package for raspberry pi like described in [[building_owncloud_client_for_raspberry_pi|Building owncloud client for Raspberry pi's raspbian]]. I assume files needed in the package are already copied in the deb/​owncloud folder. In this tutorial, all examples are related to the building of the owncloud-client package for raspberry pi like described in [[building_owncloud_client_for_raspberry_pi|Building owncloud client for Raspberry pi's raspbian]]. I assume files needed in the package are already copied in the deb/​owncloud folder.
Line 38: Line 36:
   vim /​home/​pi/​dev/​owncloud-client/​deb/​owncloud-client/​DEBIAN/​postinst   vim /​home/​pi/​dev/​owncloud-client/​deb/​owncloud-client/​DEBIAN/​postinst
   ​   ​
-<​file ​sh postinst>​+<​file ​bash postinst>​
 #!/bin/sh #!/bin/sh
 set -e set -e
Line 59: Line 57:
  
   sudo dpkg -i owncloud-client.deb   sudo dpkg -i owncloud-client.deb
 +
 +===== References =====
 +
 +This tutorial is originally based on [[http://​linuxconfig.org/​easy-way-to-create-a-debian-package-and-local-package-repository]].
 +
how_to_build_a_debian_package.1452335994.txt.gz ยท Last modified: 2016/01/09 11:39 by sgripon