Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-grub2
Commits
9545a8fd
Commit
9545a8fd
authored
Mar 06, 2016
by
Andrei Borzenkov
Browse files
20_linux_xen: fix test for GRUB_DEVICE
Same fix as in
082bc9f7
.
parent
082bc9f7
Changes
1
Hide whitespace changes
Inline
Side-by-side
util/grub.d/20_linux_xen.in
View file @
9545a8fd
...
...
@@ -47,7 +47,7 @@ esac
# and mounting btrfs requires user space scanning, so force UUID in this case.
if
[
"x
${
GRUB_DEVICE_UUID
}
"
=
"x"
]
||
[
"x
${
GRUB_DISABLE_LINUX_UUID
}
"
=
"xtrue"
]
\
||
!
test
-e
"/dev/disk/by-uuid/
${
GRUB_DEVICE_UUID
}
"
\
||
test
-e
"
${
GRUB_DEVICE
}
"
&&
uses_abstraction
"
${
GRUB_DEVICE
}
"
lvm
;
then
||
(
test
-e
"
${
GRUB_DEVICE
}
"
&&
uses_abstraction
"
${
GRUB_DEVICE
}
"
lvm
)
;
then
LINUX_ROOT_DEVICE
=
${
GRUB_DEVICE
}
else
LINUX_ROOT_DEVICE
=
UUID
=
${
GRUB_DEVICE_UUID
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment