3 Commits

Author SHA1 Message Date
Juro Bystricky ef8534413b Use /var/tmp instead of /tmp
The folder /tmp is typically 50% of installed RAM size.
This may not be enough for large packages. Use /var/tmp
instead. The performance impact is not significant.
2020-04-30 17:21:13 -07:00
Juro Bystricky 571b28e9c7 rpm.go: Avoid using io.Pipe
Simplify the code. There is no need to use io.Pipe
and to wait asynchronuosly for rpm2cpio to finish.

This also fixes an occasional hang observed with
the previous implementation.

Signed-off-by: Juro Bystricky <jurobystricky@hotmail.com>
2020-03-23 15:27:03 -07:00
William Douglas 207fe959b9 Rework Makefile to use go modules 2020-03-11 15:24:11 -07:00