Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dadigang
Ventoy
Commits
5d328535
"examples/research_projects/anytext/anytext.py" did not exist on "b934215d4c376ea2e08e28103443686b95ea772c"
Commit
5d328535
authored
Mar 15, 2021
by
longpanda
Browse files
fix issue for image_black_list
parent
1e129695
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
GRUB2/MOD_SRC/grub-2.04/grub-core/ventoy/ventoy.c
GRUB2/MOD_SRC/grub-2.04/grub-core/ventoy/ventoy.c
+1
-1
GRUB2/MOD_SRC/grub-2.04/grub-core/ventoy/ventoy_plugin.c
GRUB2/MOD_SRC/grub-2.04/grub-core/ventoy/ventoy_plugin.c
+1
-1
No files found.
GRUB2/MOD_SRC/grub-2.04/grub-core/ventoy/ventoy.c
View file @
5d328535
...
@@ -1335,7 +1335,7 @@ static int ventoy_collect_img_files(const char *filename, const struct grub_dirh
...
@@ -1335,7 +1335,7 @@ static int ventoy_collect_img_files(const char *filename, const struct grub_dirh
}
}
else
if
(
VENTOY_IMG_BLACK_LIST
==
g_plugin_image_list
&&
index
>
0
)
else
if
(
VENTOY_IMG_BLACK_LIST
==
g_plugin_image_list
&&
index
>
0
)
{
{
debug
(
"File %s found in image_blacklist plugin config...
\n
"
,
g_img_swap_tmp_buf
);
debug
(
"File %s found in image_blacklist plugin config
%d
...
\n
"
,
g_img_swap_tmp_buf
,
index
);
return
0
;
return
0
;
}
}
}
}
...
...
GRUB2/MOD_SRC/grub-2.04/grub-core/ventoy/ventoy_plugin.c
View file @
5d328535
...
@@ -1744,7 +1744,7 @@ static int ventoy_plugin_image_list_entry(VTOY_JSON *json, const char *isodisk)
...
@@ -1744,7 +1744,7 @@ static int ventoy_plugin_image_list_entry(VTOY_JSON *json, const char *isodisk)
g_image_list_head
=
NULL
;
g_image_list_head
=
NULL
;
}
}
if
(
grub_strcmp
(
json
->
pcName
,
"image_blacklist"
)
==
0
)
if
(
grub_str
n
cmp
(
json
->
pcName
,
"image_blacklist"
,
15
)
==
0
)
{
{
g_plugin_image_list
=
VENTOY_IMG_BLACK_LIST
;
g_plugin_image_list
=
VENTOY_IMG_BLACK_LIST
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment