OSDN Git Service

1-install: avoid overwriting /boot/grub/grub.cfg
authorChih-Wei Huang <cwhuang@linux.org.tw>
Wed, 17 Jan 2018 03:31:09 +0000 (11:31 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Wed, 17 Jan 2018 03:31:09 +0000 (11:31 +0800)
commit490d1f8b4d5cd59d789c6a4d2aa1e94b54db13d1
tree026a006e323361155deadf642d9f5b1541118d8e
parent8d81e3c0bfa86b9f13a7645f074b8be7b3fa269f
1-install: avoid overwriting /boot/grub/grub.cfg

Originally we just write a new /boot/grub/grub.cfg to ESP.
It may destroy boot entries of other OSes (e.g. Ubuntu).
That's not good.

To avoid the issue, move our grub.cfg to a higher priority dir
/boot/grub/${grub_cpu}-efi/ which is usually not used.
install/scripts/1-install