File: README.source

package info (click to toggle)
yubikey-personalization-gui 3.1.24-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, stretch
  • size: 2,316 kB
  • ctags: 999
  • sloc: cpp: 8,113; sh: 69; makefile: 6
file content (32 lines) | stat: -rw-r--r-- 884 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
We describe here one way to work with the package sources.

Initialize cowbuilder:

git-pbuilder create

Optionally update cowbuilder:

git-pbuilder update

Clone the repository:

git clone git@github.com:Yubico/yubikey-personalization-gui-dpkg.git

Build the package:

gbp buildpackage --git-pbuilder --git-pbuilder-options=--twice

If all goes well, you should have newly built packages in ../.

Update the package to a new upstream release (don't forget debian/changelog):

gbp import-orig /path/to/new-release.tar.gz

An alternative way compared to git-buildpackage is to build the
package using gitpkg:

git config gitpkg.deb-export-hook /usr/share/gitpkg/hooks/quilt-patches-deb-export-hook
git config gitpkg.pre-export-hook /usr/share/gitpkg/hooks/pristine-tar-pre-export-hook
git config gitpkg.create-fake-orig false
git config gitpkg.force-overwrite-orig false
gitpkg master