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
c7bb6270
Commit
c7bb6270
authored
Feb 02, 2021
by
longpanda
Browse files
debug CI
parent
a5e998bc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
6 deletions
+15
-6
INSTALL/all_in_one.sh
INSTALL/all_in_one.sh
+14
-5
INSTALL/docker_ci_build.sh
INSTALL/docker_ci_build.sh
+1
-1
No files found.
INSTALL/all_in_one.sh
View file @
c7bb6270
...
...
@@ -2,20 +2,28 @@
VTOY_PATH
=
$PWD
/..
LOG
=
$VTOY_PATH
/DOC/build.log
[
-f
$LOG
]
&&
rm
-f
$LOG
cd
$VTOY_PATH
/DOC
sh prepare_env.sh
echo
"prepare_env ..."
sh prepare_env.sh
>>
$LOG
2>&1
export
PATH
=
$PATH
:/opt/gcc-linaro-7.4.1-2019.02-x86_64_aarch64-linux-gnu/bin:/opt/aarch64--uclibc--stable-2020.08-1/bin
echo
"build grub2 ..."
cd
$VTOY_PATH
/GRUB2
sh buildgrub.sh
||
exit
1
sh buildgrub.sh
>>
$LOG
2>&1
||
exit
1
echo
"build ipxe ..."
cd
$VTOY_PATH
/IPXE
sh buildipxe.sh
||
exit
1
sh buildipxe.sh
>>
$LOG
2>&1
||
exit
1
echo
"build edk2 ..."
cd
$VTOY_PATH
/EDK2
sh buildedk.sh
||
exit
1
sh buildedk.sh
>>
$LOG
2>&1
||
exit
1
...
...
@@ -67,6 +75,7 @@ if [ "$1" = "CI" ]; then
sed
"s/VENTOY_VERSION=.*/VENTOY_VERSION=
\"
$Ver
\"
/"
-i
./grub/grub.cfg
fi
sh ventoy_pack.sh
$1
||
exit
1
echo
"packing ventoy-
$Ver
..."
sh ventoy_pack.sh
$1
>>
$LOG
2>&1
||
exit
1
echo
-e
'\n============== SUCCESS ==================\n'
INSTALL/docker_ci_build.sh
View file @
c7bb6270
...
...
@@ -11,4 +11,4 @@ wget -q -P /opt/ https://releases.linaro.org/components/toolchain/binaries/7.4-2
wget
-q
-P
/opt/ https://toolchains.bootlin.com/downloads/releases/toolchains/aarch64/tarballs/aarch64--uclibc--stable-2020.08-1.tar.bz2
sh all_in_one.sh CI
>
$VTOY_PATH
/DOC/build.log 2>&1
sh all_in_one.sh CI
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