https://github.com/doronbehar/pistol git clone https://github.com/doronbehar/pistol.git golang Since Pistol depends on magicmime, you’ll need a libmagic package installed. file.tcz and/or file-dev.tcz Development dependencies: tce-load -i go compiletc file-dev ca-certificates.tcz is installed sudo mkdir -p /etc/ssl/ sudo ln -s /usr/local/etc/ssl/certs /etc/ssl/certs go build make test with base norestore Runtime dependencies: pistol.tcz.dep file.tcz find ./squashfs-root -exec touch -m --reference=./squashfs-root/usr/local/bin/pistol {} + submitqc --color --libs --fix --strip ./pistol.tcz # get the extension files dates the same as tcz for file in pistol.tcz.*; do touch --no-create --reference=pistol.tcz $file; done # set the permissions for file in pistol.*; do chmod 666 $file; done #tar all necessary and optional files, example: tar cvzf ./pistol.tar.gz ./pistol/ save this file with name compile_pistol