mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-04-19 12:57:16 +00:00
14 lines
448 B
Diff
14 lines
448 B
Diff
Index: b/stage2/disk_io.c
|
|
===================================================================
|
|
--- a/stage2/disk_io.c
|
|
+++ b/stage2/disk_io.c
|
|
@@ -365,7 +365,7 @@
|
|
int
|
|
devwrite (unsigned int sector, int sector_count, char *buf)
|
|
{
|
|
-#if defined(GRUB_UTIL) && defined(__linux__)
|
|
+#if defined(GRUB_UTIL) && defined(__linux__) && !defined(SUPPORT_LOOPDEV)
|
|
if (current_partition != 0xFFFFFF
|
|
&& is_disk_device (device_map, current_drive))
|
|
{
|