It is not available on BSD so add a configure check for it. We already have
fallback code in case fallocate() fails, so reuse that when it is missing.
Fixes: #202
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
This should make it possible to build genimage on *BSD.
Add a build test to fake having no linux/*.h headers.
Fixes: #202
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
It does not give as the same coverage. cramfsprogs is gone and libconfuse
it too new to test the !includepath case.
Still, the various tools have different versions so it's a good test to do
this anyways.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Some repos may become unavailable or move, thus one should always run 'apt-get
update' prior to 'apt-get install'.
Signed-off-by: Enrico Jorns <ejo@pengutronix.de>