In order to develop and package for Debian, a testing environment is required, that’s why I’ve setup a Debian chroot environment in my computer (Ubuntu) using Debootstrap.
Chroot using Debootstrap Simplified Diagram
To do this I’ve run the following commands:
Then I appended to the file /etc/fstab the following lines:
To the file /etc/schroot/schroot.conf I appended:
And finaly :
Now to change to chroot is simply type:
Now that I am on chroot I’ve run the following commands to setup the environement for packaging:
And finaly, the debian chroot environement is ready !