mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-28 10:10:29 +00:00
* util/grub-mkrescue.c (main): If a source directory is not
specified, read platform-specific files from subdirectories of pkglibdir, not pkgdatadir.
This commit is contained in:
1 parent
b7f9aedfac
commit
c6a823e267
2 files changed
+8
-1
No files matched your search
@@ -396,11 +396,12 @@ main (int argc, char *argv[])
|
||||
|
||||
if (!grub_install_source_directory)
|
||||
{
|
||||
const char *pkglibdir = grub_util_get_pkglibdir ();
|
||||
enum grub_install_plat plat;
|
||||
|
||||
for (plat = 0; plat < GRUB_INSTALL_PLATFORM_MAX; plat++)
|
||||
{
|
||||
char *platdir = grub_util_path_concat (2, pkgdatadir,
|
||||
char *platdir = grub_util_path_concat (2, pkglibdir,
|
||||
grub_install_get_platform_name (plat));
|
||||
|
||||
if (!grub_util_is_directory (platdir))
|
||||
|
||||
Reference in new issue
Block a user