...
Enter your packaging environment (See packaging environment setup documentation)
Code Block vagrant up; vagrant ssh
Set up packaging and updating directories for this package, if this was not done on this machine for this package before
Create a directory to store the resultant packages and source code
Code Block mkdir nginx-datim; cd nginx-datim;
Pull the source code from the ohie repository
Code Block mv deb-nginx-datim/ nginx-datim
Create an `orig` tarball, which debuild will look for
Code Block tar czf nginx-datim_1.0.0.orig.tar.gz nginx-datim/*
Make necessary updates to package
Update the package with the new modifications and push it to launchpad
Change direction into project root
you should see the `debian` and `etc` directories when running `dir`
- `cd nginx-datim` if dir shows `nginx-datim`
- Update git with the changes
Update the change log and increment package version
Code Block dch -i
Build the new package
Code Block debuild -S
Push the changes to launchpad
Change directory into the directory where debuild created the package into
Code Block cd ..;
Find the name of the most recent source.changes package file
Code Block ll;
Push the changes to launchpad
Code Block dput ppa:openhie/datim <name of file>
e.g.,
Code Block dput ppa:openhie/datim nginx-datim_1.0.0-0ubuntu13_source.changes
...