Implement grub_file tool and use it to implement generating of config
in separate root.
This commit is contained in:
parent
296f76068d
commit
ec824e0f2a
26 changed files with 1113 additions and 122 deletions
|
@ -152,7 +152,7 @@ if [ "x$gfxterm" = x1 ]; then
|
|||
if loadfont `make_system_path_relative_to_its_root "${GRUB_FONT}"` ; then
|
||||
EOF
|
||||
else
|
||||
for dir in "${pkgdatadir}" "`echo '/@bootdirname@/@grubdirname@' | sed "s,//*,/,g"`" /usr/share/grub ; do
|
||||
for dir in "${pkgdatadir}" "`echo "$GRUB_ROOT"'/@bootdirname@/@grubdirname@' | sed "s,//*,/,g"`" "`echo "$GRUB_ROOT"'/usr/share/grub' | sed "s,//*,/,g"`" ; do
|
||||
for basename in unicode unifont ascii; do
|
||||
path="${dir}/${basename}.pf2"
|
||||
if is_path_readable_by_grub "${path}" > /dev/null ; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue