From b2d14de103846496a28592d14b8be13eec6e2abe Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Sat, 24 Nov 2018 18:58:10 +0000 Subject: Patch os-prober to prevent hang when running from Live system on USB stick. --- patches/os-prober-hang-fix.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 patches/os-prober-hang-fix.patch (limited to 'patches') diff --git a/patches/os-prober-hang-fix.patch b/patches/os-prober-hang-fix.patch new file mode 100644 index 0000000..569e520 --- /dev/null +++ b/patches/os-prober-hang-fix.patch @@ -0,0 +1,12 @@ +--- usr/libexec/os-probes/50mounted-tests.orig 2018-11-22 22:58:34.980032815 +0000 ++++ usr/libexec/os-probes/50mounted-tests 2018-11-22 22:59:25.050369548 +0000 +@@ -38,6 +38,9 @@ + elif [ "$types" = swap ]; then + debug "$1 is a swap partition; skipping" + exit 0 ++elif [ "$types" = iso9660 ]; then ++ debug "$1 is a iso9660 partition; skipping" ++ exit 0 + elif [ "$types" = crypto_LUKS ]; then + debug "$1 is a LUKS partition; skipping" + exit 0 -- cgit v1.2.1