Commit a13af026 authored by fuyanbin's avatar fuyanbin
Browse files

fix: 下载hugep-all.zip

parent 89e461b6
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
set -e set -e
img="$1" img="$1"
zippath="$2" zippath="$2"
zipname=$(basename "$zippath")
build_dir=$(mktemp -d ./tmp.XXXXX) build_dir=$(mktemp -d ./tmp.XXXXX)
systemfile="$build_dir/system.PARTITION" systemfile="$build_dir/system.PARTITION"
...@@ -25,7 +24,7 @@ fi ...@@ -25,7 +24,7 @@ fi
mkdir "$build_dir/system" mkdir "$build_dir/system"
sudo mount "$loopdev" "$build_dir/system" sudo mount "$loopdev" "$build_dir/system"
sudo wget -P "$build_dir/system/" -O "$build_dir/system/bin/hugep-all.zip" sudo wget "$zippath" -O "$build_dir/system/bin/hugep-all.zip"
sudo chmod 777 "$starthugepfile" sudo chmod 777 "$starthugepfile"
sudo cp -f "$smallprcfile" "$build_dir/system/etc/init/" sudo cp -f "$smallprcfile" "$build_dir/system/etc/init/"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment