Commit Graph

13 Commits

Author SHA1 Message Date
TheAssassin
4de8b6589f Remove unused dependency libmagic
Our use of libmagic isn't very portable, and the checks aren't used
anyway. Therefore removing dependency on libmagic.

Fixes #17.
2018-08-20 23:54:35 +02:00
TheAssassin
1c7e768b86 Provide interface to linuxdeploy_util 2018-08-03 00:56:16 +02:00
TheAssassin
b156ffc0cb Add stringEndsWith helper 2018-07-12 18:19:37 +02:00
TheAssassin
dfaed30e35 Deploy copyright files using distro tools
Distributions are good at conforming to licenses. linuxdeploy makes use
of this by using the distro tools to find those for files it uses from
the distro.

At the moment, only Debian's dpkg-query is supported.
2018-06-26 03:15:01 +02:00
TheAssassin
1736e05958 Extract get own executable path functionality into function 2018-06-19 19:03:11 +02:00
TheAssassin
f2dc908b18 Actually load magic data 2018-06-03 03:17:15 +02:00
TheAssassin
88a62ff2a7 Improve MagicError 2018-06-03 03:14:13 +02:00
TheAssassin
8ec2f00448 Add error string to exception messages 2018-06-03 03:07:23 +02:00
TheAssassin
049661aeca Fix location of function 2018-06-03 02:32:39 +02:00
TheAssassin
e97dd29da5 Rename wrapper class 2018-06-03 02:29:46 +02:00
TheAssassin
76399d15e2 Refactor util lib 2018-06-03 02:14:51 +02:00
TheAssassin
22df875849 Add libmagic wrapper
Also builds separate static library linuxdeploy_util providing old util
header and new magic wrapper.
2018-06-03 02:09:24 +02:00
TheAssassin
96f77423d6 Remove util.h from public interface
It doesn't belong to the core namespace anyway.
2018-06-02 01:15:07 +02:00