aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/x86/image/grub.cfg
diff options
context:
space:
mode:
authorWilfried Klaebe <w+lede-project@chaos.in-kiel.de>2016-11-11 15:50:00 +0200
committerJo-Philipp Wich <jo@mein.io>2016-11-19 11:45:29 +0100
commit81e3c022e017be76d4f3eaf67cfd7ddba09e85be (patch)
tree8999a54ee7100078721efcc2d1651f397a909267 /target/linux/x86/image/grub.cfg
parent478f1f6b167c6b1c91f5915e9567814350865c4c (diff)
downloadupstream-81e3c022e017be76d4f3eaf67cfd7ddba09e85be.tar.gz
upstream-81e3c022e017be76d4f3eaf67cfd7ddba09e85be.tar.bz2
upstream-81e3c022e017be76d4f3eaf67cfd7ddba09e85be.zip
x86: fix GRUB_ROOT for Xen subtarget
Change grub's root device to xen/xvda,msdos1 for the x86_xen_domu target so that it will boot without further changes. Signed-off-by: Wilfried Klaebe <w+lede-project@chaos.in-kiel.de> [Jo-Philipp Wich: fixed and rebased patch from FS#264, added subject] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'target/linux/x86/image/grub.cfg')
-rw-r--r--target/linux/x86/image/grub.cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/x86/image/grub.cfg b/target/linux/x86/image/grub.cfg
index f1a577cdd7..acca036a2e 100644
--- a/target/linux/x86/image/grub.cfg
+++ b/target/linux/x86/image/grub.cfg
@@ -3,7 +3,7 @@
set default="0"
set timeout="@TIMEOUT@"
-set root='(hd0,msdos1)'
+set root='(@ROOT@)'
menuentry "LEDE" {
linux /boot/vmlinuz @CMDLINE@ noinitrd