hcw70/OpenNI2

Package as .deb for raspberry pi

Closed this issue · 5 comments

Sorry for the noobs question, but how would I do I generate the .deb file to install on raspberry pi?

Login to your pi.

git clone https://github.com/hcw70/OpenNI2
cd OpenNi2
git checkout debian-master
git-buildpackage --git-no-sign-tags --git-ignore-new -us -uc
cd ..
sudo dpkg -i *.deb

Kind regards
Hauke

I am having an problem with generating the debian package. I get this error:

Now signing dsc file...
 signfile openni2_2.1.0.4-1ubuntu1~1.gbp2a4158.dsc Debian Multimedia Maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>
gpg: skipped "Debian Multimedia Maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>": secret key not available
gpg: /tmp/debsign.G1R7pZIE/openni2_2.1.0.4-1ubuntu1~1.gbp2a4158.dsc: clearsign failed: secret key not available
debsign: gpg error occurred!  Aborting....
debuild: fatal error at line 1288:
running debsign failed
gbp:error: Couldn't run 'debuild -i -I -uc': debuild -i -I returned 29

Thank you for the help!

@drebelox That is what the flag "-us" in the above hint is for: Skip signing.

Thank you... I was running it just like the hint but still got that error. So I removed everything and tried again and it worked.

I have added a hint in the description for my branched repo. Hope this helps.