check if libarchive is available for ext4 format

main
parent dfeb21cfe5
commit 1a4bb39aad
Signed by: josch
GPG Key ID: F2CBA5C78FBD83E1

@ -5737,6 +5737,9 @@ sub main() {
if (!can_execute 'mke2fs', '-V') {
error "need mke2fs for ext4 format";
}
require DynaLoader;
my $libarchive = DynaLoader::dl_load_file("libarchive.so.13", 0)
or error "need libarchive for ext4 format";
$blocksize = 4096;
} elsif ($options->{format} eq 'squashfs') {
if (!can_execute 'tar2sqfs') {

Loading…
Cancel
Save