2018-09-17 20:35:10 +02:00
|
|
|
diff -uNr qemu-2.12.1/block/cloop.c qemu-2.12.1.mod/block/cloop.c
|
|
|
|
--- qemu-2.12.1/block/cloop.c 2018-08-03 00:48:53.000000000 +0300
|
|
|
|
+++ qemu-2.12.1.mod/block/cloop.c 2018-09-17 16:27:46.950728869 +0300
|
2018-09-17 13:27:14 +02:00
|
|
|
@@ -47,7 +47,7 @@
|
|
|
|
|
|
|
|
static int cloop_probe(const uint8_t *buf, int buf_size, const char *filename)
|
|
|
|
{
|
|
|
|
- const char *magic_version_2_0 = "#!/bin/sh\n"
|
|
|
|
+ const char *magic_version_2_0 = "#!@TERMUX_PREFIX@/bin/sh\n"
|
|
|
|
"#V2.0 Format\n"
|
|
|
|
"modprobe cloop file=$0 && mount -r -t iso9660 /dev/cloop $1\n";
|
|
|
|
int length = strlen(magic_version_2_0);
|