I still have no idea why it was screwing me - I was following the Ubuntu packaging guide to the letter - but eventually I got it working.
What I ended up doing is: apt-get source zfsync
into a completely different directory, then investigating what was in there.
In addition to a "zfsync-1.0.0" folder which contained all my stuff, there was a "zfsync" folder that had usr/share/doc
in there but no usr/bin
at all. I manually created usr/bin/zfsync
in the "zfsync" folder, made damn certain that the "debian/install" had "zfsync usr/bin" in it, then did a bzr init
, a bzr commit
, and a dput ppa:jrssnet/zfsync zfsync_1.0.0-0ubuntu5_source.changes
... and, five or ten minutes later, SUCCESS! Ubuntu's build process actually resulted in not only a .deb, but a .deb that ACTUALLY INSTALLED MY DAMN SCRIPT. :)