mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-05-11 09:48:24 +02:00
Fix faking device map for virtio installation
This commit is contained in:
@@ -21,7 +21,7 @@ diff -Naur grub-0.97.org/util/grub-install.in grub-0.97/util/grub-install.in
|
|||||||
:
|
:
|
||||||
else
|
else
|
||||||
+
|
+
|
||||||
+ tmp_disk=`echo "$1" | grep "/dev/vd"`
|
+ tmp_disk=`echo "$install_device" | grep "/dev/vd"`
|
||||||
+ if test "x$tmp_disk" = x; then
|
+ if test "x$tmp_disk" = x; then
|
||||||
+
|
+
|
||||||
# Create a safe temporary file.
|
# Create a safe temporary file.
|
||||||
|
|||||||
Reference in New Issue
Block a user