Makes debian packages from go git repos
Go to file
Jeff Carr 54b9acef69 switch to using go-cmd/cmd
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-11-08 04:07:53 -06:00
deb.extraction-tests .deb file format for non-debian systems 2024-03-01 19:43:01 -06:00
resources blank.so causes resources/ to not fail 2024-11-07 04:53:46 -06:00
.gitignore initial commit 2024-02-11 01:00:05 -06:00
LICENSE initial commit 2024-02-11 01:00:05 -06:00
Makefile switch to using go-cmd/cmd 2024-11-08 04:07:53 -06:00
README.md arches from aptly 2024-11-07 16:53:19 -06:00
addRepo.go add argv --keep-files 2024-11-06 15:52:43 -06:00
argv.go attempt to make a fake control file 2024-11-07 07:03:13 -06:00
buildPackage.go switch to using go-cmd/cmd 2024-11-08 04:07:53 -06:00
cmd.go switch to using go-cmd/cmd 2024-11-08 04:07:53 -06:00
control omg. never did os.UserHomeDir() 2024-11-06 16:31:23 -06:00
controlBox.go blank.so causes resources/ to not fail 2024-11-07 04:53:46 -06:00
main.go switch to using go-cmd/cmd 2024-11-08 04:07:53 -06:00
postinst cleanup files/ after packaging 2024-03-02 15:58:56 -06:00
readControlFile.go attempt to make a fake control file 2024-11-07 07:03:13 -06:00
stateWindow.go blank.so causes resources/ to not fail 2024-11-07 04:53:46 -06:00

README.md

go-deb

Makes a debian package from a go git repository

Usage (puts .deb in ~/incoming/) :

  • go-deb --no-gui --repo go.wit.com/apps/go-clone

Notes

Make a 'control' file for the debian package. You can also make a custom 'build' script to run to place additional files in the debian package. Compiles go with ldflags for main.VERSION.

TODO:

  • Make the sources
  • Make it compatible with debuild
  • handle arches [amd64, any, arm64, armel, armhf, i386, mips, mips64el, mipsel, ppc64el, s390x, source]