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
0ffb1b15
"src/vscode:/vscode.git/clone" did not exist on "9ee7ced5e36173416617b6391ffc418e238b7b4a"
Commit
0ffb1b15
authored
May 25, 2024
by
longpanda
Browse files
Fix the issue that VTOY_LINUX_REMOUNT option does not take effect in latest openSUSE. (#2551)
parent
d6e1730c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
IMG/cpio/ventoy/hook/ventoy-hook-lib.sh
IMG/cpio/ventoy/hook/ventoy-hook-lib.sh
+3
-2
No files found.
IMG/cpio/ventoy/hook/ventoy-hook-lib.sh
View file @
0ffb1b15
...
...
@@ -335,8 +335,9 @@ ventoy_dm_patch() {
$CAT
/proc/kallsyms |
$BUSYBOX_PATH
/sort
>
$VTOY_PATH
/kallsyms
if
$GREP
-m1
-q
'open_table_device.isra'
$VTOY_PATH
/kallsyms
;
then
vtLine
=
$(
$VTOY_PATH
/tool/vtoyksym open_table_device.isra
$VTOY_PATH
/kallsyms
)
vtlog
"get open_table_device.isra address
$vtLine
"
vtISRA
=
$(
$GREP
-m1
'open_table_device.isra'
$VTOY_PATH
/kallsyms |
$AWK
'{print $3}'
)
vtLine
=
$(
$VTOY_PATH
/tool/vtoyksym
$vtISRA
$VTOY_PATH
/kallsyms
)
vtlog
"get
$vtISRA
address
$vtLine
"
else
vtLine
=
$(
$VTOY_PATH
/tool/vtoyksym dm_get_table_device
$VTOY_PATH
/kallsyms
)
vtlog
"get dm_get_table_device address
$vtLine
"
...
...
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