-
Notifications
You must be signed in to change notification settings - Fork 4
Home
For all these steps you need the git-buildpackage package installed.
- create a new repository here with the same name as the package:
https://github.com/kernsuite-debian
-
Create a new git repository on your build system with the same name as your package and run
git init
in it -
Download the released tarball for a package. make sure it is named -version.tar.bz2 or gz or xz
-
inside the new git repo run gbp import-orig
-
create the debian folder with content. Copy this from an other repo and modify or use
dh_make
. -
run
gbp build-package
and check if everything works. If not, fix. -
if everything works fine add a tag
gbp build-package --git-tag-only
-
git clone https://github.com/kernsuite-debian/<package> && cd <package>
-
If the package has a watch file you can run
gbp import-orig --uscan
-
If no watch file, add a watch file. Otherwise download release tarball and run `gbp import-orig path/to/-.tar.gz
-
increment version number using dch -i
-
check if package builds with
gbp build-package
-
if everything works fine add a tag
gbp build-package --git-tag-only
-
If everything looks awesome run
gbp build-package --git-tag
to tag this version. -
run
git push --all && git push --tags
to upload all your changes -
run
debuild -S -sa
for building a source package in the parent -
run dput ppa:kernsuite/kern-dev ../<package__source.changes to upload package to the kernsuite dev repo.