add stub for future ext2 image support

This commit is contained in:
Johannes 'josch' Schauer 2020-03-07 23:43:01 +01:00
parent 773249a0ca
commit e1008006fc
Signed by untrusted user: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -3680,6 +3680,10 @@ sub main() {
if ($? != 0) { if ($? != 0) {
error("failed to start tar2sqfs --version"); error("failed to start tar2sqfs --version");
} }
} elsif ($options->{target} =~ /\.ext2$/) {
error "genext2fs does not yet support tarballs as input. See "
. "https://github.com/bestouff/genext2fs/issues/10 for more "
. "information";
} }
if ($options->{maketar} or $options->{makesqfs}) { if ($options->{maketar} or $options->{makesqfs}) {