This commit is contained in:
longpanda
2020-04-08 22:44:14 +08:00
parent ef80baf150
commit c72f96312c
11 changed files with 74 additions and 20 deletions

View File

@@ -41,8 +41,8 @@ $BUSYBOX_PATH/busybox --install $BUSYBOX_PATH
export PATH=$BUSYBOX_PATH/:$VTOY_PATH/tool
export VTOY_BREAK_LEVEL=$(hexdump -n 1 -s 429 -e '1/1 "%02x"' $VTOY_PATH/ventoy_os_param)
export VTOY_DEBUG_LEVEL=$(hexdump -n 1 -s 430 -e '1/1 "%02x"' $VTOY_PATH/ventoy_os_param)
export VTOY_BREAK_LEVEL=$(hexdump -n 1 -s 449 -e '1/1 "%02x"' $VTOY_PATH/ventoy_os_param)
export VTOY_DEBUG_LEVEL=$(hexdump -n 1 -s 450 -e '1/1 "%02x"' $VTOY_PATH/ventoy_os_param)
#Fixme: busybox shell output redirect seems to have some bug in rhel5
if uname -a | grep -q el5; then

View File

@@ -2,6 +2,12 @@
VENTOY_PATH=$PWD/../
if [ -e check.sh ]; then
if ! sh check.sh; then
exit 1
fi
fi
rm -f ventoy.cpio
chmod -R 777 cpio