mirror of
https://ghproxy.com/https://github.com/tossp/redpill-tool-chain.git
synced 2025-04-22 19:57:38 +00:00
fix
This commit is contained in:
parent
f4bfed3d97
commit
f58b9fb288
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@ -65,7 +65,7 @@ jobs:
|
||||
# 调整VID和PID
|
||||
sed -i -e 's/0x0001/0x88AA/g' -e 's/0x46f4/0x88AA/g' ${{matrix.platform}}_user_config.json
|
||||
|
||||
# 调整SN和MAC 最好使用 actions secrets 引入
|
||||
# 调整SN和MAC,最好使用 actions secrets 引入,SN应该是固定值不应该每次生成
|
||||
sn=`./redpill_tool_chain.sh sn ${{matrix.platform}} | grep 'Serial Number' | awk '{print $3}'`
|
||||
sed -i -e "s/1234XXX123/${sn:="1130LWN123456"}/g" -e 's/XXYYXXYYXXYY/0011323D47F7/g' ${{matrix.platform}}_user_config.json
|
||||
|
||||
|
@ -110,7 +110,6 @@ function generateSerial(){
|
||||
|
||||
|
||||
function showhelp() {
|
||||
|
||||
cat << EOF
|
||||
$(basename ${0})
|
||||
----------------------------------------------------------------------------------------
|
||||
@ -121,7 +120,6 @@ DS3615xs DS3617xs DS916+ DS918+ DS920+ DS3622xs+ FS6400 DVA3219 DVA3221
|
||||
e.g. $(basename ${0}) DS3615xs
|
||||
----------------------------------------------------------------------------------------
|
||||
EOF
|
||||
|
||||
}
|
||||
|
||||
if [ -z "$1" ] ; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user