OSDN Git Service

android.cfg: set proper prefix for loopback device
authorChih-Wei Huang <cwhuang@linux.org.tw>
Fri, 4 Jan 2019 10:06:00 +0000 (18:06 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Thu, 10 Jan 2019 15:22:18 +0000 (23:22 +0800)
install/grub2/efi/boot/android.cfg

index 8d56b7b..a7c1191 100644 (file)
@@ -42,6 +42,10 @@ function load_theme {
        export theme
 }
 
+if [ "$root" == "loop0" ]; then
+       set prefix=($root)/boot/grub
+fi
+
 if [ -s $prefix/theme/theme.txt ]; then
        load_theme
 fi