mkdeb
mkdeb copied to clipboard
Go library for creating Debian packages (.deb)
## 1. Directories are not included in the archive I was just using the Files map to add in extra files.. ```go ...Files = map[string]string{ "somefile":"/usr/share/doc/someproject/somefile", } ``` This fails...
This also fixes a number small bugs in the earlier main.go The subcommands package adds some verbosity to the code but it also adds structure to the command/flag stuff. By...
``` $ dpkg --contents testpackage-0.0.1-amd64.deb -rwxrwxr-x root/root 4028490 2017-06-11 14:39 usr/bin/drone-deb $ dpkg --info testpackage-0.0.1-amd64.deb new debian package, version 2.0. size 1435764 bytes: control archive=366 bytes. 1 bytes, 0 lines...
It's a good idea to vendor all dependencies locally for building the executable to ensure reproducible builds and not fail if something external changes.