mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 16:37:19 +09:00
import: add a couple of additional suffixes to remove from raw images
This commit is contained in:
@@ -165,9 +165,11 @@ static void on_raw_finished(RawImport *import, int error, void *userdata) {
|
||||
static int strip_raw_suffixes(const char *p, char **ret) {
|
||||
static const char suffixes[] =
|
||||
".xz\0"
|
||||
".gz\0"
|
||||
".raw\0"
|
||||
".qcow2\0"
|
||||
".img\0";
|
||||
".img\0"
|
||||
".bin\0";
|
||||
|
||||
_cleanup_free_ char *q = NULL;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user