summaryrefslogtreecommitdiffstats
path: root/scripts/lib/wic/plugins/source/bootimg-pcbios.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/wic/plugins/source/bootimg-pcbios.py')
-rw-r--r--scripts/lib/wic/plugins/source/bootimg-pcbios.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/lib/wic/plugins/source/bootimg-pcbios.py b/scripts/lib/wic/plugins/source/bootimg-pcbios.py
index 1c3c6e605c..dd49480141 100644
--- a/scripts/lib/wic/plugins/source/bootimg-pcbios.py
+++ b/scripts/lib/wic/plugins/source/bootimg-pcbios.py
@@ -83,7 +83,6 @@ class BootimgPcbiosPlugin(SourcePlugin):
83 else: 83 else:
84 splashline = "" 84 splashline = ""
85 85
86 (rootdev, root_part_uuid) = cr._get_boot_config()
87 options = cr.ks.handler.bootloader.appendLine 86 options = cr.ks.handler.bootloader.appendLine
88 87
89 syslinux_conf = "" 88 syslinux_conf = ""
@@ -105,7 +104,7 @@ class BootimgPcbiosPlugin(SourcePlugin):
105 syslinux_conf += "KERNEL " + kernel + "\n" 104 syslinux_conf += "KERNEL " + kernel + "\n"
106 105
107 if cr.ptable_format in ('msdos', 'gpt'): 106 if cr.ptable_format in ('msdos', 'gpt'):
108 rootstr = rootdev 107 rootstr = cr.rootdev
109 else: 108 else:
110 raise ImageError("Unsupported partition table format found") 109 raise ImageError("Unsupported partition table format found")
111 110