Commit Graph

8 Commits

Author SHA1 Message Date
gryf c78dbacd0e Use subprocess.run instaead oc check_call 2023-10-18 15:12:22 +02:00
gryf c33655a12c Parse stderr for unadf banner.
Unadf does return 0 exit code always, even, if there was an issue in
either parsing image, mounting it or on any other issue. To be worst, it
always throw an banner to the stderr, so it cannot be used to check if
there was an error either.

As a workaround, let's check if there is a banner, strip it out and then
see if anything extra is on the stderr, so that it can be used to see if
there was any issues.
2023-10-18 15:08:00 +02:00
gryf 08a04c3862 Unify imports. 2023-10-18 15:06:44 +02:00
gryf ed85f32837 Adapt to new version of unadf 1.2.
Adflib 0.8 has been released June 2023, so that this script needed to be
adapted to the new version.
2023-10-18 15:04:48 +02:00
gryf 09b2349152 Clean up imports 2023-10-17 23:01:42 +02:00
gryf 6b8684b1d7 Update uadf to support py3 2019-06-30 17:06:56 +02:00
gryf ffb99d6515 Moved common attributes to extfslib, uadf now will complain on nodos or
corrupted images.
2013-05-16 22:25:28 +02:00
gryf dc7f625542 Renamed repository. Added common lib for all extfs plugins.
Added uadf and ulzx.
2013-05-12 18:14:20 +02:00