diff options
author | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2018-11-24 18:58:10 +0000 |
---|---|---|
committer | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2018-11-24 18:58:10 +0000 |
commit | b2d14de103846496a28592d14b8be13eec6e2abe (patch) | |
tree | dc47638769e02dd8c26e15fed3da90e835edcdac /patches | |
parent | e05959e0aa391586a191289bc6d1e60cdcd17669 (diff) | |
download | draklive-config-b2d14de103846496a28592d14b8be13eec6e2abe.tar draklive-config-b2d14de103846496a28592d14b8be13eec6e2abe.tar.gz draklive-config-b2d14de103846496a28592d14b8be13eec6e2abe.tar.bz2 draklive-config-b2d14de103846496a28592d14b8be13eec6e2abe.tar.xz draklive-config-b2d14de103846496a28592d14b8be13eec6e2abe.zip |
Patch os-prober to prevent hang when running from Live system on USB stick.
Diffstat (limited to 'patches')
-rw-r--r-- | patches/os-prober-hang-fix.patch | 12 |
1 files changed, 12 insertions, 0 deletions
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 |