radareorg/r2ghidra

Another debian packaging improvement

Closed this issue · 0 comments

So moving to fakeroot in the CI is all good.

One more change would make the final debian package substantially smaller. In

https://github.com/radareorg/r2ghidra/blob/master/dist/debian/deb.mk

at line 94, changing

cd ${PACKAGE_DIR}/control && tar czvf $@/control.tar.gz *

to

cd ${PACKAGE_DIR}/control && tar cJvf $@/control.tar.gz *

and at line 98, changing

tar cpzvf $@/data.tar.gz *

to

tar cpJvf $@/data.tar.gz *

would change the compression type from gzip to xz and make the final package much smaller.

We do the same thing in the parent radare2 in

https://github.com/radareorg/radare2/blob/master/dist/debian/deb_hand.mak

and this would sync things up nicely.

Issued a PR for this at

#108