Hacker News new | ask | show | jobs
by takeoutweight 4462 days ago
To offer an alternative, I've personally found checkinstall to be useful for putting together ad-hoc .deb packages for deployment.

http://manpages.ubuntu.com/manpages/trusty/man8/checkinstall...

1 comments

Unfortunately checkinstall has an inconvenient bug on (at least) Debian Wheezy which makes sudo required for package building under some circumstances.
How so? What goes wrong with `make && sudo checkinstall make install`?
Filesystem translation has a bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=717778 https://bugs.launchpad.net/ubuntu/+source/checkinstall/+bug/...

This manifests itself by any "mkdir -p" which requires root in the `make install` phase failing.