OSDN Git Service
(root)
/
android-x86
/
bootable-newinstaller.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75a0ab4
)
android.cfg: set proper prefix for loopback device
author
Chih-Wei Huang
<cwhuang@linux.org.tw>
Fri, 4 Jan 2019 10:06:00 +0000
(18:06 +0800)
committer
Chih-Wei Huang
<cwhuang@linux.org.tw>
Thu, 10 Jan 2019 15:22:18 +0000
(23:22 +0800)
install/grub2/efi/boot/android.cfg
patch
|
blob
|
history
diff --git
a/install/grub2/efi/boot/android.cfg
b/install/grub2/efi/boot/android.cfg
index
8d56b7b
..
a7c1191
100644
(file)
--- a/
install/grub2/efi/boot/android.cfg
+++ b/
install/grub2/efi/boot/android.cfg
@@
-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