summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2018-11-24 18:58:10 +0000
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2018-11-24 18:58:10 +0000
commitb2d14de103846496a28592d14b8be13eec6e2abe (patch)
treedc47638769e02dd8c26e15fed3da90e835edcdac /config
parente05959e0aa391586a191289bc6d1e60cdcd17669 (diff)
downloaddraklive-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 'config')
-rw-r--r--config/build.cfg10
1 files changed, 9 insertions, 1 deletions
diff --git a/config/build.cfg b/config/build.cfg
index d4943a1..b4ef58f 100644
--- a/config/build.cfg
+++ b/config/build.cfg
@@ -83,6 +83,9 @@ my $config = {
# Provide a nicer UI for lxcontrol.
'Xdialog',
+ # Need to patch this to prevent hang when probing ISO partition.
+ 'os-prober',
+
if_($has_gnome,
'task-gnome',
'adwaita-gtk2-theme', # Temporary fix for mga#20868.
@@ -140,7 +143,7 @@ my $config = {
'broadcom-ssb-config',
'dkms',
'efibootmgr', 'efivar', 'refind',
- 'grub2', 'grub2-efi', 'grub2-mageia-theme', 'os-prober',
+ 'grub2', 'grub2-efi', 'grub2-mageia-theme',
if_($arch eq 'i586', 'kernel-desktop586-devel-latest'),
if_($arch eq 'x86_64', 'kernel-desktop-devel-latest'),
@@ -230,6 +233,11 @@ my $config = {
"/etc/ssh/ssh_host_*",
],
patches => [
+ # When running from a USB stick, os-prober runs dmsetup on the protective
+ # partition. This just failed in mga6, but in mga7 it hangs. As a workaround
+ # this patch causes os-prober to skip any partition containing an is9660
+ # filesystem.
+ 'patches/os-prober-hang-fix.patch',
],
final_fixes => join(';',
if_($has_gnome,