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
390507ff
Commit
390507ff
authored
Sep 03, 2020
by
longpanda
Browse files
Fix issue #456
parent
a29bdfbc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
IMG/cpio/ventoy/hook/debian/ventoy-hook.sh
IMG/cpio/ventoy/hook/debian/ventoy-hook.sh
+4
-4
IMG/cpio/ventoy/ventoy_chain.sh
IMG/cpio/ventoy/ventoy_chain.sh
+1
-1
No files found.
IMG/cpio/ventoy/hook/debian/ventoy-hook.sh
View file @
390507ff
...
@@ -78,10 +78,10 @@ DISTRO=$(ventoy_get_debian_distro)
...
@@ -78,10 +78,10 @@ DISTRO=$(ventoy_get_debian_distro)
echo
"##### distribution =
$DISTRO
######"
>>
$VTLOG
echo
"##### distribution =
$DISTRO
######"
>>
$VTLOG
.
$VTOY_PATH
/hook/debian/
${
DISTRO
}
-hook
.sh
.
$VTOY_PATH
/hook/debian/
${
DISTRO
}
-hook
.sh
if
[
-f
/bin/env2debconf
]
;
then
$SED
"1a /bin/sh
$VTOY_PATH
/hook/debian/ventoy_env2debconf.sh"
-i
/bin/env2debconf
$SED
"s#in *
\$
(set)#in
\$
(cat /ventoy/envset)#"
-i
/bin/env2debconf
fi
...
...
IMG/cpio/ventoy/ventoy_chain.sh
View file @
390507ff
...
@@ -349,7 +349,7 @@ fi
...
@@ -349,7 +349,7 @@ fi
cd
/
cd
/
unset
VTLOG FIND GREP EGREP CAT AWK SED SLEEP HEAD
unset
VTLOG FIND GREP EGREP CAT AWK SED SLEEP HEAD
vtcmdline
for
vtinit
in
$user_rdinit
/init /sbin/init /linuxrc
;
do
for
vtinit
in
$user_rdinit
/init /sbin/init /linuxrc
;
do
if
[
-d
/ventoy_rdroot
]
;
then
if
[
-d
/ventoy_rdroot
]
;
then
...
...
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